Question: Write the HTML, CSS, and JS necessary to create a web page that meets the following requirements: Make the font size 20 points. Make the
Write the HTML, CSS, and JS necessary to create a web page that meets the following requirements:
Make the font size 20 points.
Make the left margin 50 pixels.
Add the following elements to the page:
level 1 heading. The content shall be your name.
image. The picture displayed shall be anything of your choice on the web. Use an absolute URL. Note: In Chrome, the image will not display until after the script runs. Do not be concerned about that. BTW, in Firefox and IE the image will display before the script runs. In Safari, nothing displays until after the script runs.
ordered list with two items. The content of these items shall be your two favorite things.
Write a JS script that does the following:
Ask the user for his two favorite things. Change the ordered list so that it replaces the previous content with these values.
Ask the user if he likes Google. If so, change the image so that it shows some image of Google.
Use only HTML5, CSS, and JavaScript. Use no jQuery, XML, PHP, widgets you found online, etc.
Validate your HTML using the Nu Html Checker: https://validator.w3.org/nu/ (Links to an external site.)
Check your CSS using the W3C CSS Validation Service: http://jigsaw.w3.org/css-validator/ (Links to an external site.)
Check your script for errors by testing and by using the JavaScript Console.
Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
