fix(curriculum): add code example in step 12 of Cat Photo App project (#51376)

This commit is contained in:
Sam
2023-08-30 11:20:18 -07:00
committed by GitHub
parent 4b0c61bec6
commit d5df33fa6f

View File

@@ -7,9 +7,13 @@ dashedName: step-12
# --description--
In the previous step you turned the words `link to cat pictures` into a link by placing them between opening and closing anchor (`a`) tags. You can do the same to words inside of an element, such as a `p` element.
You can turn any text into a link, such as the text inside of a `p` element.
In the text of your `p` element, turn the words `cat photos` into a link to `https://freecatphotoapp.com` by adding opening and closing anchor (`a`) tags around these words.
``` html
<p>I think <a href="https://www.freecodecamp.org/">freeCodeCamp</a> is great.</p>
```
In the text of your `p` element, turn the words `cat photos` into a link by adding opening and closing anchor (`a`) tags around these words. Then set the `href` attribute to `https://freecatphotoapp.com/`
# --hints--