Idk why it is not working

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

  **Your code so far**

<style>
header {
  background-color: hsl(180, 99%, 35%);
  color: #FFFFFF;
}

nav {
  background-color: hsl(180, 80% ,25%);
}

h1 {
  text-indent: 10px;
  padding-top: 10px;
}

nav ul {
  margin: 0px;
  padding: 5px 0px 5px 30px;
}

nav li {
  display: inline;
  margin-right: 20px;
}

a {
  text-decoration: none;
  color: inherit;
}
</style>

<header>
<h1>Cooking with FCC!</h1>
<nav>
  <ul>
    <li><a href="#">Home</a></li>
    <li><a href="#">Classes</a></li>
    <li><a href="#">Contact</a></li>
  </ul>
</nav>
</header>
  **Your browser information:**

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

Challenge: Adjust the Tone of a Color

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

You have a white space before the comma.

  background-color: hsl(180, 80% ,25%);

Technically your code is right, but it is good practice to avoid white space hence why you couldn’t pass (I think).

You can do code formatting with this shortcut, and it will take care of the extra white space.

  • On Windows Shift + Alt + F
  • On Mac Shift + Option + F
  • On Linux Ctrl + Shift + I

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