Learn HTML Forms by Building a Registration Form - Step 10

Tell us what’s happening:

I was asked to add the background-color within the body selector and I have. I don’t know what i’m doing wrong

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;
  color: #1b1b32;
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

Learn HTML Forms by Building a Registration Form - Step 10

But you changed only the color instead of ‘background-color’

2 Likes

You only changed the text color element, make sure you follow the directions entirely

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