Learn HTML Forms by Building a Registration Form - Step 9

Tell us what’s happening:
Issue: Unsure how to add both colors

instruction: 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.
Hint: you should add the background-color within the body element selector.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html>
<head>
  <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 */
body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #1b1b32,  #f5f6f7 

}
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0

Challenge: Learn HTML Forms by Building a Registration Form - Step 9

Link to the challenge:

You aren’t assigning that text color to anything. CSS Text

body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #1b1b32
color: #f5f6f7

}

I’m still not sure what to do with the second color?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.