Question: HTML/CSS/Javascript (please note, the code needs to have pop up windows to enter numbers): Write a JavaScript that ask the user to enter a number
HTML/CSS/Javascript (please note, the code needs to have pop up windows to enter numbers):

Write a JavaScript that ask the user to enter a number between 20 and 40. Your program will then output a paragraph with font-size as specified by the user. If the user entered number is greater than 40 then you program will make the font-size 40. If the number is less than 20 or negative then you program will make the display font size 20. If the number is even then the text color would be light green and it out say it is cool. If the number is an odd number then the text color will be red and it says hot. Assuming the paragraph will say "I like internet computing. It is cool!!!" if number is even. If the number entered after modified become odd then the output is "I like internet computing. It is hot!!!" This page says: Enter the font size of the paragraph 34 Cool or Hot? I like internet computing. It is cool
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
