Create a Web page that provides a form for a

Create a Web page that provides a form for a user to input their name, date of birth (via a date input), and eye colour (selected via a drop down box of appropriate choices, e.g. “Blue”, “Brown”, “Green”, “Grey”,“Other”). Provide two buttons, a “Reset” button, and a “Display” button with the following behaviour:

•Create an empty table below the form, where each column of the table corresponds to one of the input fields (i.e. you should create header cells for the first row of the table).

•When “Display” is clicked, add a new row to the table and clear the form: Each cell of the row should correspond to one of the input fields from the form. Note that each set of data entered bythe user (via clicking “Display”) should add a new row to the table. Rows of the table should have alternating background colours.

•Reset should clear the table.

•Each added table row should have a cell containing a “Delete” button, that when clicked, removesthe row from the table.

•You should also include a piece of text on the caption of the table that provides a counter ofthe number of data items on the table. Whenever a new row is created, this number should be incremented. Whenever a row is deleted, this number should be decremented.

 

Leave a Comment

Your email address will not be published. Required fields are marked *

GradeEssays.com
We are GradeEssays.com, the best college essay writing service. We offer educational and research assistance to assist our customers in managing their academic work. At GradeEssays.com, we promise quality and 100% original essays written from scratch.
Contact Us

Enjoy 24/7 customer support for any queries or concerns you have.

Phone: +1 213 3772458

Email: support@gradeessays.com

© 2024 - GradeEssays.com. All rights reserved.

WE HAVE A GIFT FOR YOU!

15% OFF 🎁

Get 15% OFF on your order with us

Scroll to Top