Please, help I don't know what wrong

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

  **Your code so far**

<style>
h4 {
  text-align: center;
  background-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;
font-size: 27px; /*change h4 tag to font size 27px*/
}
.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 (Linux; Android 10; Infinix X657C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.99 Mobile Safari/537.36

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

Link to the challenge:

You’re supposed to change the h4 tag to font-size to 27px.
What you have done is put that property in the style of class .fullCard. Remove it from there and put it in the style of h4 tag.

Thanks alot.am very grateful

Now, this isn’t something you should rely on…but the challenge will have empty space where the CSS rule should go.

h4 {
  text-align: center;
  background-color: rgba(45, 45, 45, 0.1);
  padding: 10px;

}

If you look at the selector you can see an empty line at the bottom. That is an indicator of where the CSS should be added.

In this challenge it shouldn’t be too hard to know which selector to use. But there are other challenges where you have multiple selectors that need CSS added to them and there it can help.

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