From fb8dcd4dbc58b20e34675dc1bb328c17f89da114 Mon Sep 17 00:00:00 2001 From: Roberto Beltran <45843750+RobertoJBeltran@users.noreply.github.com> Date: Sun, 17 Mar 2019 16:47:30 -0400 Subject: [PATCH] Make link text more descriptive (#35218) * Make link text more descriptive Make link text more descriptive for improved accessibility. * Add mention of MDN to link description As suggested by Sidak Singh Aulakh, added reference to MDN web docs which is the link's destination. * Update curriculum/challenges/english/03-front-end-libraries/jquery/change-text-inside-an-element-using-jquery.english.md Adjust link wording Co-Authored-By: RobertoJBeltran <45843750+RobertoJBeltran@users.noreply.github.com> --- .../change-text-inside-an-element-using-jquery.english.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/03-front-end-libraries/jquery/change-text-inside-an-element-using-jquery.english.md b/curriculum/challenges/english/03-front-end-libraries/jquery/change-text-inside-an-element-using-jquery.english.md index 1bae4eb7df..654049527d 100644 --- a/curriculum/challenges/english/03-front-end-libraries/jquery/change-text-inside-an-element-using-jquery.english.md +++ b/curriculum/challenges/english/03-front-end-libraries/jquery/change-text-inside-an-element-using-jquery.english.md @@ -12,7 +12,7 @@ Here's how you would rewrite and emphasize the text of our heading: $("h3").html("<em>jQuery Playground</em>"); jQuery also has a similar function called .text() that only alters text without adding tags. In other words, this function will not evaluate any HTML tags passed to it, but will instead treat it as the text you want to replace the existing content with. Change the button with id target4 by emphasizing its text. -Check this link to know more on the difference between <i> and <em> and their uses. +View the MDN web docs for <em> to learn the difference between <i> and <em> and their uses. Note that while the <i> tag has traditionally been used to emphasize text, it has since been coopted for use as a tag for icons. The <em> tag is now widely accepted as the tag for emphasis. Either will work for this challenge.