question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[beta] Improve example for Applied Visual Design: Use the Strong Tag to Make Text Bold

See original GitHub issue

Challenge use-the-strong-tag-to-make-text-bold has an issue. User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36.

I see the value of this challenge, but I think the example could be improved. How about if we instead of make campers highlight the h4-tag, that already gets font-weight: bold automatically (since it’s a heading), make campers add <strong> around some word in the paragraph?

This way, the effect of the <strong>-tag would be easier to see.

<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">
    <strong><h4>Google</h4></strong>
    <p>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.</p>
  </div>
  <div class="cardLinks">
    <a href="https://en.wikipedia.org/wiki/Larry_Page" class="links">Larry Page</a><br><br>
    <a href="https://en.wikipedia.org/wiki/Sergey_Brin" class="links">Sergey Brin</a>
  </div>
</div>
</div>

    ```
    

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
ajain17commented, Jan 25, 2017

Ok. I will work on this. Will follow @systimotic’s suggestion. Thanks.

2reactions
systimoticcommented, Jan 25, 2017

How about wrapping “Stanford University”? I’m suggesting this because Google and the founder’s names both appear twice, which is bound to cause confusion.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Applied Visual Design - Use the strong Tag to Make Text Bold
Today we use the strong tag to make text bold as part of this curriculum on Applied Visual Design which is generously provided...
Read more >
Use the strong Tag to Make Text Bold Applied Visual Design ...
FOLLOW ALONG LINK: https://www.freecodecamp.org/learn/responsive-web-design/ applied - visual - design / use -the- strong - tag -to- make - text -boldCheck ...
Read more >
Use the strong Tag to Make Text Bold (Applied Visual Design ...
Certification: Responsive Web DesignCourse: Applied Visual DesignLesson: Use the strong Tag to Make Text BoldfreeCodeCamp tutorialIn this ...
Read more >
HTML tags
HTML tags allow you to kickstart your design process by setting default styles for a particular element type and styling large batches of...
Read more >
HTML bold tag - How to bold text in HTML?
We can also use the <strong> tag to bold text elements. Both tags have the same function, but the HTML <strong> element defines...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found