Need Help Using Js Javascript Html Need Following Click H2 Element Prompt Box Open Asks Co Q34822526

Question

​​​​​I need some help with using JS (javascript) in HTML. I needwith the following:

  • When you click on the h2 element have aprompt box open that asks for a color. (Rememberthe prompt must be used in an assignmentstatement; you must save the value entered so that you canuse it.) Then turn the background color of thepage to the color that was entered.
  • Use the onmouseover event handler in the h3 tochange the style of that h3 andalso change a style

Leave a Comment