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
Get step-by-step solutions from verified subject matter experts
