Learn HTML Forms by Building a Registration Form - Step 10

That is better. Now, make the background easy on the eyes, by changing the body background-color to #1b1b32 . Then, to see the text, change the color to #f5f6f7 .

In this challenge 10 above. The compiler keeps telling me to add the background inside the body selector, I did put the first one inside and Im struggling with where to put the second one for text.

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 */

/* User Editable Region */

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

/* 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/ Safari/537.36 Edg/112.0.1722.48

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

Link to the challenge:

You would use color as the directions say. Still inside the body selector. Use color like you used background-color

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