Learn HTML Forms by Building a Registration Form - Step 10

Tell us what’s happening:

Step 10

That is better. Now, 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.

No matter what way I’ve tried or restarted the “assignment” it doesn’t allow it. I’ve even copy and pasted other peoples

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <title>Registration Form</title>
  <link rel="stylesheet" href="styles.css" />
  <h1>Registration Form</h1>
  <p>Please fill out this form with the required information</p>
/* file: styles.css */
body {
background-color: #1b1b32 #f5f6f7
width: 100%;
height: 100vh;
margin: 0;
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

1 Like

The issue will be that background-color and color are two different properties:

body {
background-color: black;
color: grey;

The background-color applies to the background, while color applies to the text. Once you have both properties in there with the new values, you should be good.

Thank you! This worked!

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