Question: Javascript exercise: Create an array with 4 elements in it ([cows, ducks, chickens, pigs] for examples) . Make that array appear on the screen in

Javascript exercise: Create an array with 4 elements in it (["cows", "ducks", "chickens", "pigs"] for examples). Make that array appear on the screen in the form of a list by using innerHTML. Add a form that will allow users to add a new item to the array. After the user submits their item, it should appear on the page with the other array items.

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!