image added to website (#34247)
image added to website using 'img' tag, 'src' tag and 'alt' tag
This commit is contained in:
@ -68,7 +68,17 @@ tests:
|
|||||||
## Solution
|
## Solution
|
||||||
<section id='solution'>
|
<section id='solution'>
|
||||||
|
|
||||||
```js
|
<div id='html-seed'>
|
||||||
// solution required
|
|
||||||
|
```html
|
||||||
|
<h2>CatPhotoApp</h2>
|
||||||
|
<main>
|
||||||
|
<img src="https://bit.ly/fcc-relaxing-cat" alt="cat_img"></img>
|
||||||
|
|
||||||
|
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
|
||||||
|
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
</div>
|
||||||
```
|
```
|
||||||
</section>
|
</section>
|
||||||
|
Reference in New Issue
Block a user