Learn HTML Forms by Building a Registration Form - Step 10

Tell us what’s happening:
Describe your issue in detail here.

I keep getting a message saying my background-color should be within my body selector. I’m not sure what I’ve done wrong here.

Your code so far

/* file: index.Ext.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.Ext.css */

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


Your mobile information:

iPhone - iOS17.6.1

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

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

background-color is the correct name not bodybackground-color

I saw it right after I sent this request. Thank you!

2 Likes