You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Challenge Change Text Inside an Element Using jQuery has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
In the descriptionof the challenge, it uses <i> to replace the italicized text with jquery instead of the <em> tag. In a previous challenge it mentions how <i>is outdated and usually used for icons in bootstrap now
ie. $("h3").html("<i>jQuery Playground</i>");
should be: $("h3").html("<em>jQuery Playground</em>");
The earlier challenge you cited does say the i tags is used for icons now.
The i element was originally used to make other elements italic, but is now commonly used for icons. You add the Font Awesome classes to the i element to turn it into an icon, for example: ...
The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts.
I would either make it clear which tag to use or accept both tags. @FreeCodeCamp/issue-moderators thoughts?
Challenge Change Text Inside an Element Using jQuery has an issue.
User Agent is:
Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
.Please describe how to reproduce this issue, and include links to screenshots if possible.
In the descriptionof the challenge, it uses
<i>
to replace the italicized text with jquery instead of the<em>
tag. In a previous challenge it mentions how<i>
is outdated and usually used for icons in bootstrap nowie.
$("h3").html("<i>jQuery Playground</i>");
should be:
$("h3").html("<em>jQuery Playground</em>");
My code:
The text was updated successfully, but these errors were encountered: