Learn HTML by Building a Cat Photo App - Step 10

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

I don’t understand what to do on step 9
Your code so far

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <a href='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 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 10

Link to the challenge:

Hi @929665

There is a typo in your code.

The value of the href attribute is in this case enclosed with single quotation mark '. Hence it also needs to be closed with single quotation mark like this
'https://www.example.com' .

Tip: You can also enclose the link with double quotation mark
"https://www.example.com"

Hope that helps

Thanks but can you please tell me what i did wrong and give me hints.

Hi @929665

Here is what you did wrong:

There is a typo in your code.

Hint: The value of the href attribute must be either enclosed with single quotation mark ' or double quotation mark ".

Like this
href="https://www.example.com"
or this
href='https://www.example.com'

Hope that helps

hello and welcome to fcc forum :slight_smile:

few ntoes:

  • href is missing a "corresponding closing quotation mark’ (i.e. ‘str’)
  • href has an ‘extra’ dot after ‘com’

address those changes and it should be fine, happy learning :slight_smile:

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