Necesito ayuda, ya le aplique la etiqueta strong, pero no se porque no me deja avanzar

Su código debe agregar una strong etiqueta al marcado.

Passed

La strong etiqueta debe estar dentro de la p etiqueta.

La strong etiqueta debe envolver las palabras Stanford University .


<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>Google</h4>
    <p>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at 
      <strong> Stanford University </strong>.</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/92.0.4515.131 Safari/537.36

Challenge: Use the strong Tag to Make Text Bold

Link to the challenge:

The failing test is:

The strong tag should wrap around the words Stanford University .

You do have that, but it is not all that you have.

      <strong> Stanford University </strong>.</p>

Notice that you have spaces around “Stanford University”, within the strong tags. You are supposed to have “Stanford University” and only that, no spaces around it. (There is a space inside it, that’s OK.) When I remove the extra spaces, the test passes for me.

1 Like

Hmm okay muchas gracias… :blush:

1 Like

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