i am on 10 what do i do i have put the everywhere and it will not work please help
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos<h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>See more cat photos in our gallery.</p>
<!-- 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0
Hi there. For this step you have to, add an anchor element after the paragraph that links to https://freecatphotoapp.com.
But what might an anchor element look like you might ask and how would you create a link. Letâs take this for one for example,
<a href='https://freecodecamp.org'></a>
would link to freecodecamp.org. An anchor element is represented by an a and the href attribute sets the location the link points. Think of href as hyperlink reference. That is a reference to where the url should point to.
Let me know if you have any further comments, questions, or confusion. Thank you.
I have tried putting it everywhere and it still wonât take it and says its wrong I donât know why. can you show me exactually where it goes so, I can try again I been almost 2 weeks and itâs still not working?
Welcome to the community
If you are still having trouble, try taking a 5 min brake, then coming back to it.
Another thing I found that helped me, was to put tags and attributes into a search engine.
This is often a great way to find reference pages with examples you can play around with.
You know, this is not the only way you can learn a bit about coding something. Consider looking for other means that works better. Perhaps a course that tutors you personally. Instead of a self-taught, self-motivated engagement.
At the beginning I often felt I was just following along and not learning anything.
Iâve found familiarity can be gained by following along, but you need to use multiple sources and practice for it to stick.
As @anon28508191 says there are other places you can go to learn, some are a little easier for a complete beginner.
At the start of my journey I found a few things I could do to make it easier for me, which I still use today.
When introduced to a new tag/attribute/function, put it into a search engine to find simple references and explanations.
Take regular breaks to walk around, giving time for new information to sink in, time to think about how to approach a problem.
Find websites with examples I can edit.
(Iâll put a link to w3schools below, its the one I used the most)
Build something in a âplaygroundâ, a small project using local host to try out the things Iâm learning.
(this one you may not be able to do now, but will be great later)
Expect to / be ok with failing.
I know this sounds weird, but if Iâm not frustrated and donât make any mistakes, Its likely I already knew how to do it, and therefor didnât learn anything new.
Celebrate small wins.
Each time I struggle and find a solution, I like to dance around the room a little
Even if it felt like a fluke (it often does feel like that at the beginning)
Learning how I best learnt wasnât something I realised would be important when I started. It can take a long time to figger it out
This is the w3schools website:
I found this to be easier than freeCodeCamp at the start, but would hop between w3schools and freeCodeCamp.