Learn HTML Forms by Building a Registration Form - Step 8

Tell us what’s happening:
Hi… How do i create a width in a body element?

  **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 */
body{
min-width: 100%
min-height: 100vh
}
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0

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

Link to the challenge:

Hi!
So you’ve nearly got it, but the lesson asks for width and height. Not min-width or min-height.

You also need the closing semicolon at the end of the width and height values.

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