Learn HTML Forms by Building a Registration Form - Step 8

Tell us what’s happening:
they say I need to make a ‘body’ element but no sure how

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;
}

/* User Editable Region */

Your browser information:

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

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

Link to the challenge:

You should use the body element selector.

It is an element selector, not a class selector. Remove the . from the selector.

thanks. happy coding

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