Tell us what’s happening:
This step wanted me to change the body background color and the text color. I did succeed in changing the background color but not the text color. The only hint it gives me is “You should add the color within the body element selector.” but it is in the body element selector. I’m not sure if the “text-color” is the right thing or not because I don’t exactly know or remember how to change the color of text.
Your code so far
<!-- 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; text-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/108.0.5359.125 Safari/537.36
Challenge: Learn HTML Forms by Building a Registration Form - Step 10
Link to the challenge: