added step by step instruction on adding an image to a website
This commit is contained in:
@ -570,8 +570,11 @@
|
|||||||
"<code><img src=\"https://www.your-image-source.com/your-image.jpg\" alt=\"Author standing on a beach with two thumbs up.\"></code>",
|
"<code><img src=\"https://www.your-image-source.com/your-image.jpg\" alt=\"Author standing on a beach with two thumbs up.\"></code>",
|
||||||
"Note that in most cases, <code>img</code> elements are self-closing.",
|
"Note that in most cases, <code>img</code> elements are self-closing.",
|
||||||
"<hr>",
|
"<hr>",
|
||||||
"Try it with this image:",
|
"Let's try to add an image to our website:",
|
||||||
"<code>https://bit.ly/fcc-relaxing-cat</code>"
|
"Insert an <code>img</code> tag, before the <code>h2</code> element.",
|
||||||
|
"Now set the <code>src</code> attribute so that it points to this url:",
|
||||||
|
"<code>https://bit.ly/fcc-relaxing-cat</code>",
|
||||||
|
"Finally don't forget to give your image an <code>alt</code> text."
|
||||||
],
|
],
|
||||||
"challengeSeed": [
|
"challengeSeed": [
|
||||||
"<h2>CatPhotoApp</h2>",
|
"<h2>CatPhotoApp</h2>",
|
||||||
|
Reference in New Issue
Block a user