Learn HTML Forms by Building a Registration Form - Step 8

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

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% heigth: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/115.0.0.0 Safari/537.36

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

Link to the challenge:

After each property, you need a semicolon. Also be sure to drop lines like it’s shown in my response, and add a space after the colon

1 Like

also add closing tag in your code

your CSS rule should be like this

body {
width: 100%;
height: 100vh;
}
add a ; at the end of each property and make sure to write each one on a seperate line for readability

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