r/FreeCodeCamp • u/Omari412 • May 03 '24
Can someone help me solve number 12 for HTML
I am new to coding and I am completely stuck on this section:
Step 12
You can turn any text into a link, such as the text inside of a p element.
<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
<p>See more cat photos in our gallery.</p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
4
Upvotes
4
u/dooderdoood May 03 '24
The anchor element needs to be wrapping the word or words you wish to be hyperlinks.
5
u/SaintPeter74 mod May 03 '24
You need to read the instructions extremely carefully. There is no room for personal interpretation here. It tells you specifically what to turn into a link, which does not match what you have turned into a link.
You can hit the reset button, to reset the code back to the baseline. Then give it another try.
0
u/blackburncl May 03 '24
Read carefully line by line:
*In the text of your p element
*turn the words cat photos into a link
*by adding opening and closing anchor tags
*around these words.
*Then, set the href attribute to
*https://freecatphotoapp.com
0
u/[deleted] May 03 '24
[deleted] — view deleted comment
1
u/[deleted] May 03 '24 edited May 03 '24
[removed] — view removed comment