Code checked not accepting answer - look correct to me!

Tell us what’s happening:

Hi not sure what I’m doing wrong here it’s asking for 27px font size in h4 tag and that’s what I’ve put but it doesn’t like it.

Your code so far


<style>
h4 {
  text-align: center;
  background-color: rgba(45, 45, 45, 0.1);
  padding: 10px;
  font-size: 27px;
}
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 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0.

Challenge: Adjust the Size of a Header Versus a Paragraph Tag

Link to the challenge:

Hello @richgkav, I entered the same code and it passed.

OK thanks for checking. I’m not sure what I need to do to get it to accept then. I can see in the output that the font size is getting set OK.

edit
Duh newbie mistake it even told me previously to make sure zoom level is set to 100%!

1 Like

I thought it was something simple :grin: