Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The goal of this assignment is to familiarize you with DOM manipulation using JavaScript. You are to create a webpage that simulates a product rating
The goal of this assignment is to familiarize you with DOM manipulation using JavaScript. You are to create a webpage that simulates a product rating blog. The page Create a page that has four different inputs and a button. Give every input an id. Make sure you set the placcholders and initial values. . The first input is for costumer name, this is of type text . The second input is a selection of four different products. You set your own products. . The third input is a number between 1 and 5. .The fourth is a text area tag with 4 rows and 50 columns. . The button should trigger a JavaScript function that creates the rating underneath the button. Your website initially should look similar to the one given lype name here. Burger: The Blue Mountain Rating Comment ype connent here Submit rating The JavaScript function The function should create a new "DIV" component that gets displayed under the button. This component has three components inside of it, an "HI" and two P" tag components. Every time the button is pressed, this DIV component gets displayed below the lowest component of the pagc. The"DIV" component should contain . The "Hl" component should display the name of the rater
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started