Question: Create a new type called Movie with the following properties and functions: o Movie(title, genre, rating) - constructor. o createHTML() - Creates and returns
Create a new type called Movie with the following properties and functions: o Movie(title, genre, rating) - constructor. o createHTML() - Creates and returns an HTML DOM object representing a div holding the HTML for this movie. X Indiana Jones 4 Action/Adventure 3/5 o deleteMe() - Removes the movie from the page. **You can receive extra credit if you can figure out how to add the new div element for the movie without using "innerHTML" to add to the page**
Step by Step Solution
3.52 Rating (155 Votes )
There are 3 Steps involved in it
To create a Movie type with the specified properties and functions without using innerHTML you can use JavaScripts DOM manipulation methods Lets break ... View full answer
Get step-by-step solutions from verified subject matter experts
