Exercise Form Date
Create a form with one text box and submit button. You can only submit the form if minimum 2 chars are entered in text box
Add one pair of radio buttons ( Male ,female ) , the form can't be submitted without selection of radio button.
Add one dropdown list box with option to select one class. One class must be selected before submitting the form.
One checkbox must be checked before submitting the form
One textarea must be filled with minimum 50 chars
On selection of a radio button, value of the radio button should display inside a textbox
On check or un-check of a checkbox, value of the checkbox should display inside a textbox
On Focus of a textbox , one message asking user to enter name should display by the side
The above display should hide when focus is shifted out of the textbox
Write a Paragraph of text. On Click of a button ( RED) font colour of the paragraph should change to red. Similarly add Yellow, green buttons
Write a Paragraph of text. On Click of a button ( RED) background colour of the paragraph should change to red. Similarly add Yellow, green buttons
Enable or disable a listbox based on Selection of radio button
OnChange of option of a listbox display the selection
Keep one textbox, then add option to listbox by using the textbox
Read the student table from MySQL database and then populate the listbox with student name ( use PHP or Python )
Read the class from MySQL database student table and then display the name of the students on selection of class from the listbox
Display Todays Date and time inside one Div tag
Display Todays Date and time inside one Div tag on Click of button
Display Year part in 4 digits and 2 digits
Display Month
Create a dropdown with Month names and current month should remain selected
Add 5 days to today and display
Add 2 months to today
Add 2 years 3 months and 5 days
One selection of No of years from dropdown it should display today's date and maturity date of a fixed diposite. Use onChange="function_name()"; for the dropdown to trigger the function on selection of listbox.
Ask the user to enter date month year in a perticular format, on submit display day of the week.
Display current month Calendar
Create an array by breaking an string
Check if one input element is already present or not
Ask the user to inter numbers and create an array using them. Display the array members in increasing order
Remove the highest element of the array
Create an array of Months ( full name ). Using this prepare one dropdown list box with Month names as options
Create an array by taking input from User using the textbox. Generate the HTML code for the user to copy and use.
Create an array by breaking an string
← Subscribe to our YouTube Channel here
This article is written by plus2net.com team.
plus2net.com