Html Forms Step 9

Tell us what’s happening:
Describe your issue in detail here.
I need aid kindly,

  **Your code so far**
\ file: <!DOCTYPE html>
<html>
<head>
  <title>Registration Form</title>
	  <link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
  <h1>Registration Form</h1>
  <p>Please fill out this form with the required information</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
  <title>Registration Form</title>
	  <link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
  <h1>Registration Form</h1>
  <p>Please fill out this form with the required information</p>
</body>
</html>
\ file: body{
width: 100%;
height: 100vh;
margin: 0;
background-color: #1b1b32 #f5f6f7;

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

}
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 10; Nokia 2.1 Build/QKQ1.190828.002) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36

Challenge: Step 9

Link to the challenge:

You have to set the background-color property to the given value and the color property to the given value.

Right now you assigned both values to the background-color property

1 Like

The challenge is to change the background color AND the color of the texts. First the background-color property should only have one value, but you have two color values.

background-color: #1b1b32 #f5f6f7;

To change the color of a text you need the color property.
For example:

color: [YOUR COLOR VALUE HERE ]

And in your question you have two body selectors you only need one.

body{
width: 100%;
height: 100vh;
margin: 0;
background-color:  [INSERT HERE YOUR ONE COLOR VALUE];
color: [INSERT HERE YOUR ONE COLOR VALUE];
1 Like

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