Step 9: HTML forms help

Please help I am stuck on Step 9: of Learn HTML Forms by Building a Registration Form

I am stuck on Step 9. I change the body background-color but it keeps saying " should add the color within the body element selector"

Please provide the code you have written so far so we can see what’s going on. Thanks!

Thanks Jeremy. For styles.css :

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

The index.html:

<!DOCTYPE html>
    <title>Registration Form</title>
	  <link rel="stylesheet" type="text/css" href="styles.css" />
    <h1>Registration Form</h1>
    <p>Please fill out this form with the required information</p>

Is this enough?

So, it looks like you are missing this part:

Then, to see the text, change the color to #f5f6f7 .

When I add a line to the CSS to do this, your code works for me.

Thanks, that is the part where I am stuck. What other line do I have to add

You need to specify color exactly the same way you specified background-color. Same type of line, but with different contents.

Thank you, Its now good.

1 Like