Correct solution does not seem to be accepted

Tell us what’s happening:

For the lesson “https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/adjust-the-background-color-property-of-text
I have the solution:

<style>
h4 {
  text-align: center;
  backgound-color: rgba(45,45,45,0.1);
  padding: 10px;
}

It should be the correct solution and website is saying it is not.
Checked FAQ and not sure where to report this issue

Your code so far


<style>
h4 {
  text-align: center;
  backgound-color: rgba(45,45,45,0.1);
  padding: 10px;
}
p {
  text-align: justify;
}
.links {
  text-align: left;
  color: black;
}
.fullCard {
  width: 245px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 10px 5px;
  padding: 4px;
}
.cardContent {
  padding: 10px;
}
.cardText {
  margin-bottom: 30px;
}
</style>
<div class="fullCard">
<div class="cardContent">
  <div class="cardText">
    <h4>Alphabet</h4>
    <hr>
    <p><em>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</em></p>
  </div>
  <div class="cardLinks">
    <a href="https://en.wikipedia.org/wiki/Larry_Page" target="_blank" class="links">Larry Page</a><br><br>
    <a href="https://en.wikipedia.org/wiki/Sergey_Brin" target="_blank" class="links">Sergey Brin</a>
  </div>
</div>
</div>

Your browser information:

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

Challenge: Adjust the background-color Property of Text

Link to the challenge:

Hello!

Your solution has a typo, but otherwise is OK:

<style>
h4 {
  text-align: center;
  backgound-color: rgba(45,45,45,0.1);
  padding: 10px;
}

Here it says backgound-color whereas it should say background-color.


By the way, I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor ( </> ) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Well…this is embarrassing. I completely missed the “r”. Thanks for your help and suggestions

1 Like