Hello, I’m having some trouble with the code editor not accepting my answer though I am almost certain it’s correct. The instructions are to add a horizontal rule between the h4 and p elements, but an error appears each time reading “the hr tag should appear between the title and the paragraph”. Am I doing something wrong?
The code below contains the hr element as I have entered it.
border: 1px solid #ccc;
margin: 10px 5px;
** <p><em>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</em></p>**
<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>
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.
Link to the challenge:
Hi, me again, I found a solution to this post soon after. The code editor accepts the answer as correct once you reverse the order of the p and em tags so that the em tag comes first and the p tag second. I thought I would share this to my own post, in case any one else was having this same issue, and looking here for a solution.
Thanks for the hint, I was stuck on this for a while! This should probably be marked as a bug
I experienced the same issue! Thanks @SpaceCatInd for the workaround
thx a lot! You solved my promble!
I was also stuck, thank you @SpaceCatInd
No trouble at all, I’m glad this post was helpful.
<em><p>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</p></em>
<em><p>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</em></p>
both got accepted as correct answer, can some one tell me why? why do we have to switch and
in order to get it right? thanks in advance
thanks for this @SpaceCatInd buttell me why this happen, is the designing of code is not well??..
@SpaceCatInd Thank you! Good grief I racked my brain on this.
thank you a lot , You solved my promblem
I think because html5 concern about the opening tags, closing tags are not required.
I got that bug too. Thanks for your solution, it worked!
@QuincyLarson Possible bug…
@ReveurGAM Thanks for letting me know - hope things are going well with you these days
Could you create a GitHub issue for this? Then we can investigate it further and track it there. https://github.com/freeCodeCamp/freeCodeCamp/issues/new
Definitely a bug, because one of the previous lessons (https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/use-the-em-tag-to-italicize-text) explicitly requires that we nest the
<em> tag inside the
Thank You so much . I stucked on this challenge for 2 days
it worked! Thank you so much
Thank You so much:grinning:
I have stuck on this challenge for a while.
this may be a bug.