Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Joshua Niemeyer
3,307 PointsCode challenges are a little picky.... Too picky.
Something I have noticed in the past 2 weeks of being a TeamTreehouse member is that the Code Challenges can sometimes be a bit too picky. For example, the code challenge that you take at the end of the HTML badge group, there is a challenge that has you add a paragraph tag with "some bold text in it." Okay, simple enough. I type out the following code:
<p>This is some text.<b> This is some bold text.</b></p>
Done. Right? Apparently not.... The right answer, after several of my valid attempts failed, ended up being this:
<p>This is some text. <strong>This is some bold text.</strong></p>
Correct me if I'm wrong, but both of these approaches are completely acceptable ways to make text bold in HTML markup. And I cannot for the life of me remember the "strong" element being introduced anywhere in the videos I watched.
While this is such a trivial matter, it certainly made me scratch my head and go "whaaa?"
7 Answers
William Clark
1,701 PointsThey aren't the same thing - the b and strong tags have different meanings:
<b> is simply for making text visually bold with no extra meaning
<strong> is for placing extra importance on the text
So if you're making text bold because it's important you should use strong. Perhaps the wording should be changed in the code challenge, but that's not for me to decide.
Micahyah Hawkins
3,496 PointsI have experience the same thing but here is my view on it. The Challenge is based off what was taught and expects to do it as such. Also There are many ways to do things and achieve the same result but I know in tests say for a microsoft test yes you can do it multiple ways but what is the microsoft way? And with Apple sure you can create an app many different ways but if you don't do certain things their way they will not approve your app.
So with the challenges reflect back on what they taught you and how they taught you to do it. Because it's going to be coded to look for it to be coded a specific way. They can't put in the logic to look for all the other possibilities it could be done.
I hope you enjoy the rest of your courses I know I am. But I know I run into my frustrations too especially when Apple changes how things are done and you run into issues and everyone is having the same problem but no one quite has a solution fun fun.
Sorry for the long winded response :)
Micahyah
Joshua Niemeyer
3,307 PointsI agree that they cannot necessarily account for every possible way to answer the questions that they ask.... However, I have experienced on several occasions that the code challenge asks me to perform a task that I know was not explained to me in the videos. I actually had to navigate away from the Team Treehouse website to find other possible ways to do it. Perhaps that is the purpose though. The more they make us look for it on our own, the more we will learn!
Raeed Zahreddine
1,494 PointsOk so I'm not the only one who notices that <strong> was not taught in the videos. This confused me when I was doing the HTML Mastery Challenge. I had to go on a different website to figure out how to solve it. : /
James Barnett
39,199 PointsThey aren't the same thing - the b and strong tags have different meanings:
A big for this advice
grahamfleming
6,405 PointsBummer! Remember, being bold is a strong thing to do.
James Barnett
39,199 PointsRaeed Zahreddine & Joshua Niemeyer -
This was covered in the video helpful entitled Emphasis, strong & horizontal rules.
Not sure where the confusion lies.