The right tag placement

The right tag placement
0

#1

Tell us what’s happening:

It says place tags between h4 paragraph but it didn’t work

Your code so far


<style>
  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>
      
      <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>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/create-a-horizontal-line-using-the-hr-element


#2

Where did you put the hr
? I can’t see it in your code.


#3

Take note. <hr> should be after the<h4> tag.


#4

I just did that it didn’t work


#5

Make sure you put the <hr> on a new line under the <h4> tags


#6


#7

hr is self-closing
You only need one


#8

Thanks a little mad that I missed that


#9

Not at all.

Happy coding :slight_smile:


#10

Mine isn’t working and I have the tag in the right place and only one tag.


#11

This is a bug in the hr lesson. Skip it and keep going on.


#12

Hopefully it will be fixed soon