Improve instructions in add images challenge

This commit is contained in:
MANISH-GIRI
2017-02-17 22:07:55 -05:00
parent 81545959df
commit c9427a4fec

View File

@ -565,10 +565,10 @@
"You can add images to your website by using the <code>img</code> element, and point to a specific image's URL using the <code>src</code> attribute.", "You can add images to your website by using the <code>img</code> element, and point to a specific image's URL using the <code>src</code> attribute.",
"An example of this would be:", "An example of this would be:",
"<code>&#60img src=\"https://www.your-image-source.com/your-image.jpg\"&#62</code>", "<code>&#60img src=\"https://www.your-image-source.com/your-image.jpg\"&#62</code>",
"Note that in most cases, <code>img</code> elements are self-closing.",
"All <code>img</code> elements <strong>must</strong> have an <code>alt</code> attribute. The text inside an <code>alt</code> attribute is used for screen readers to improve accessibility and is displayed if the image fails to load.", "All <code>img</code> elements <strong>must</strong> have an <code>alt</code> attribute. The text inside an <code>alt</code> attribute is used for screen readers to improve accessibility and is displayed if the image fails to load.",
"Let's add an <code>alt</code> attribute to our <code>img</code> example above:", "Let's add an <code>alt</code> attribute to our <code>img</code> example above:",
"<code>&#60img src=\"https://www.your-image-source.com/your-image.jpg\" alt=\"Author standing on a beach with two thumbs up.\"&#62</code>", "<code>&#60img src=\"https://www.your-image-source.com/your-image.jpg\" alt=\"Author standing on a beach with two thumbs up.\"&#62</code>",
"Note that in most cases, <code>img</code> elements are self-closing.",
"<hr>", "<hr>",
"Let's try to add an image to our website:", "Let's try to add an image to our website:",
"Insert an <code>img</code> tag, before the <code>h2</code> element.", "Insert an <code>img</code> tag, before the <code>h2</code> element.",