Tell us what’s happening:
Need help checking my code. How do I add a text before an element
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Everyone loves cute cats online!</p>
<!-- User Editable Region -->
<a href="https://freecatphotoapp.com"> see more cat photos in our gallery</a>
<!-- User Editable Region -->
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Mobile Safari/537.36
Challenge Information:
Build a Cat Photo App - Step 12
Hi. You just need to follow the instructions exactly. Think what they are asking you to put before and after the link and what text is to be included in the link. You don’t need to change any of the existing text. I suggest you reset the step and try again.
Hi buddy, this is the whole code given in the instructions.
<a href="https://freecatphotoapp.com">cat photos</a>
And here is the description you need to follow here.
Add the words See more before the anchor element and in our gallery after the anchor element.
So in simple words you need to add the words See more before anchor tag and this one in our gallery after the anchor tags
When you will do add all these then you will be able to see the text
[ solution removed by moderator]
Hope You understand.
I have removed some of your text as it has given the answer. We guide users on the forum to work out the answer for themselves