I have to make the background easy on the eyes, by changing the body
background-color
to #1b1b32
. Then, to see the text, change the color
to #f5f6f7
.
i am getting an error for this that says " You should add the color
within the body
element selector." What am i doing wrong?
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Registration Form</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<h1>Registration Form</h1>
<p>Please fill out this form with the required information</p>
</body>
</html>
/* file: styles.css */
/* User Editable Region */
body {
width: 100%;
height: 100vh;
margin: 0;
background-color:#1b1b32;}
h1{color:#f5f6f7;}
p{color:#f5f6f7;}
/* User Editable Region */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Challenge: Learn HTML Forms by Building a Registration Form - Step 10
Link to the challenge: