Need help from intro lessons

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p> 
   <a herf='https://freecatphotoapp.com'></a>
  
    <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/102.0.0.0 Safari/537.36

Challenge: Step 10

Link to the challenge:

How to fix?

Hi!

You’ve formatted the code correctly but check your spelling.
You need a href not a herf.

thanks a ton Ella! Im reconsidering coding if i am having trouble identify spelling mistakes from so early on :smiley: :S

1 Like

Hey, don’t be hard on yourself. You’ve only just started coding.

No one would expect someone who’s learning an instrument to play perfectly after their 10th ever attempt at it. So don’t put pressure on yourself to code perfectly on the 10th coding lesson you’ve ever done.

Checking though your own code for spelling and syntax mistakes is just as much a skill as the actual coding part. It takes time and practice to learn—so don’t worry if you miss incorrect spellings or syntax. You’ll pick it up at your own pace.

Also mistakes help you learn! They help you realise what you need to practice more on, what doesn’t work and what does work. Mistakes give you a better, deeper understanding of coding.

So keep coding, the more you do it, the easier it will get. :smile:

Thank you so much! you are an amazing individual truly.

I am trying to code the following, anchoring A elemnet wihtin P element.

  <p>Click here to view more cat photos.</p>
  <a href="https://freecatphotoapp.com">cat photos</a>

Turn the words cat photos located inside p element into a link using the same value for the href attribute as the link below the p element. The p element should show the same text in the browser, but the words cat photos should now be a link. Make sure to remove the a element with the text cat photos on the line below the p element.

Got any tips for me there?:smiley:

No problem!

My advice is if searching online doesn’t help, and looking though the forum for people with similar issues doesn’t either, make a new forum topic.

It’s easier to help if different coding lesson issues are in separate forum topics. Forum etiquette here and most forums online is to stay ‘on topic’.

So in future make a new topic for new coding problems by pressing the ‘+ new topic’ button on the forum or ‘ask for help’ button on the lesson.

I will be happy to help with this problem, but making new topic is the best way to do that.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.