DRAG DROP -You are using JavaScript to create a calculator.You create the following HTML. Line numbers are included for reference only.You must create a function named add() that adds the values in the a and b input elements and displays the result in the result input element.You define the following function in JavaScript:function add() {}You need to complete the body of the function.Which three code segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.NOTE: Each correct selection is worth one point.Select and Place:
HOTSPOT -For each of the following segments, select Yes if the statement is true. Otherwise, select No.NOTE: Each correct selection is worth one point.Hot Area:
You are creating a web page that allows customers to choose how hot their spice is. If they choose spicy, a warning should be displayed.You create the following form. Line numbers are included for reference only.You create the following JavaScript code to display the warning.When you choose spicy and click Order, the warning fails to display.You need to solve this problem.What should you do?
DRAG DROP -You are creating a web page that tests a user's ability to accurately type text. The validation should be case-insensitive.How should you complete the code? To answer, drag appropriate functions to the correct locations. Each function may be used once, more than once, or not at all.You may need to drag the split bar between panes or scroll to view content.Select and Place:
HOTSPOT -You evaluate the following code:You need to determine the values of sampleStudent, sampleCourse.name, and sampleCourse.grade that are output by console.log().What are the final values for the three variables? To answer, select the appropriate values in the answer area.Hot Area:
HOTSPOT -You are designing a web page that contains a blue button. When the button is pressed, it should call a function that displays the message "˜Welcome!'. When the cursor hovers over the button, the button should turn red. When the cursor leaves the button, the button should revert back to its original color of blue.You want to complete the markup using the appropriate HTML events.How should you complete the markup? To answer, select the appropriate event in the answer area.NOTE: Each correct selection is worth one point.Hot Area: