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
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
// solution required
|
||||
<div id='html-seed'>
|
||||
|
||||
```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>
|
||||
|
Reference in New Issue
Block a user