Question: JavaScript and HTML h1 { color:blue; background-color:lightGreen; border:12px solid green; padding: 5px; border-radius: 15px; text-align: center; } Sol59: It looks like you have started to
JavaScript and HTML h1 { color:blue; background-color:lightGreen; border:12px solid green; padding: 5px; border-radius: 15px; text-align: center; }
Sol59:
It looks like you have started to write an HTML file with some CSS styling for a h1 element. However, there is no content inside the head or body tags, so the file is incomplete. To make it a valid HTML file, you can add some content inside the body tags, like this:
JavaScript and HTML
h1 {
color:blue;
background-color:lightGreen;
border:12px solid green;
padding: 5px;
border-radius: 15px;
text-align: center;
}
Welcome to my website!
This is a paragraph of text that you can replace with your own content.
In this example, we added a h1 element with some CSS styling, and a p element inside the body tags. You can replace the content inside the p element with your own text or other HTML elements as needed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
