How to make this code work

This is my code as you can see. But it tells me that
" The hr tag should come between the title and the paragraph."
I am unsure whether I wrote something wrong or placed it in the wrong place.

  h4 {
    text-align: center;
    height: 25px;
  }
  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><del>Google</del>Alphabet</h4>
      <hr>
      
      <em><p>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</p></em>
    </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>

Challenge: Create a Horizontal Line Using the hr Element

Link to the challenge:

You changed some other things in the code. For example, this line:

      <h4><s>Google</s>Alphabet</h4>

became this:

      <h4><del>Google</del>Alphabet</h4>

Don’t change things you don’t have to.

Hit the Reset All Code button and try again - only add the one thing you were told to add.

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