Question: See attached JAVA instructions Write a complete webpage with HTML and embedded JavaScript code. At beginning, this page contains one ordered list with 2 items

See attached JAVA instructions

See attached JAVA instructions Write a complete webpage with HTML and embedded

Write a complete webpage with HTML and embedded JavaScript code. At beginning, this page contains one ordered list with 2 items at the top and two button "Insert" and "Replace" at the bottom, , as shown in the Figure (a) below. When the "Insert" button is clicked, a third mountain should be inserted between two existing mountains in the ordered list, as shown in the Figure (b) below. The "Replace" button should only be clicked after the "Insert" button has been clicked. When the "Replace" button is clicked, the mountain ordered list should be replaced by a 3 row 2 column table with solid border line, as shown in the Figure (c) below. The list item should remain unchanged. Mountains Mountains 1. Everest 2. Fuji 3. Machu Picchu Mountains 1 Everest 1. Everest 2. Machu Picchu 2Fuji 3 Machu Picchu Insert Replace Replace Insert Replace Insert Note: The webpages illustrated are simply an example. You should make your own ordered list other than copy the list shown in example. A violation will cause 10 points deduction. DOM manipulating methods, such as those for adding, removing, or replacing must be used for this lab. Otherwise, 40 points deduction will apply

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!