china
July 9, 2019, 4:50pm
1
Tell us what’s happening:
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>Google</h4>
<p>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at <strong>standford 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/75.0.3770.100 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/use-the-strong-tag-to-make-text-bold/
It doesn’t match anymore, it was capitalised before. You also have removed the full stop at the end of the period…
china
July 9, 2019, 4:59pm
3
I only did that cause it gave error msg from the beginning after i had added the strong tag to the initial markup,so i tried twerking it a bit
china
July 9, 2019, 5:01pm
4
i have even reset the code but same problem persists.
Show your new code, let’s see
Welcome China.
Good effort!
The only reason why your line was not approved is because you included the full stop(.) in between the opening and closing strong tag.
Instead of doing this:
<strong>Stanford University.</strong>
, which is what you did,
try this instead:
<strong>Stanford University</strong>.
Make sure the closing strong tag, comes before the full stop.
china
July 9, 2019, 5:04pm
7
Tell us what’s happening:
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>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/75.0.3770.100 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/use-the-strong-tag-to-make-text-bold
Joke
July 9, 2019, 5:11pm
8
Looks oké, but there is an extra space in there, before <strong>
. Maybe that’s causing the error message?
The dot (.) after ‘Stanford University’ should be after the </strong>
end tag.
Hello China. Good effort!
The only reason why your line was not approved is because you included the full stop(.) in between the opening and closing strong tag.
Instead of doing this:
<strong>Stanford University.</strong>
, which is what you did,
try this instead:
<strong>Stanford University</strong>.
Make sure the closing strong tag, comes before the full stop.
china
July 10, 2019, 2:51am
11
@simpleasebisees Ebi you are a life saver, that was exactly the problem. thanks for the way you broke it down. thanks bro.
@ilenia thanks,it has been resolved now.
1 Like
china
July 10, 2019, 2:52am
12
@sandrab thanks alot, corrected now.
@Joke that wasn’t the problem but thanks for your input.
1 Like