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">
  <meta charset="UTF-8">
  <title>Registration Form</title>
  <link rel="stylesheet" href="styles.css" />
  <h1>Registration Form</h1>
  <p>Please fill out this form with the required information</p>
/* file: styles.css */
/* file: styles.css */
body {width:100%;}
body {height:100vh;}
  **Your browser information:**

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

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

Link to the challenge:

Hey! Welcome to the freeCodeCamp’s community forums.

Learning to describe the bugs or issues you’re facing is a great skill to have in a developer, it may seem hard at first, but you should at least provide a brief summary of what you are trying to accomplish and what’s the error that shows up when you try to run your code.

It will also make it easier for others to help you if they know the problem beforehand.

In this particular problem, the tests aren’t passing because you are using two different CSS style rules to change the given properties of the body element.

In most programming languages, the curly braces {} are used to group two more statement together to form a code block. for example, if i wanted to change the background color as well as font-size of button elements present in my HTML, i can do something like this:

   background-color: red;
   font-size: 2rem;

Hope this helps! :smile:

1 Like

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