<style>
h4 {
text-align: center;
height: 25px;
}
p {
text-align: justify;
font-weight: bold;
}
.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>
<strong>
<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>
What’s the problem? Could you post a link to the exercise?
Your code should add one strong tag to the markup.
The strong tag should be inside the p tag.
The strong tag should wrap around the words “Stanford University”.
cant seem to figure it out
There’s a redundant <strong>
tag right before the <p>
tag.
The <strong>
tags inside the <p>
tag should only wrap Stanford University
. There shouldn’t be any space or period or any other character around Stanford University
inside the <strong>
tags