Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>Click here to view more <a>href=https://freecatphotoapp.com .>""cat photos </a>,</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 (X11; CrOS x86_64 14816.131.5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

i need help completing this code

The anchor element is not typed correctly.
The quote marks should wrap around the url link, and the > around the opening anchor should be deleted. Also there should be a dot after the closing anchor element, not a comma.

Reset the lesson, then code again.

Hello @forestlaw321! Nice to see you back in the community!

For this step, we are asked to turn only the words cat photos into a link while they remain in place within the p element statement.

Like this example, copied from the instructions, has freeCodeCamp anchored withih the example p statement.

<p>I think <a href="https://www.freecodecamp.org">freeCodeCamp</a> is great.</p>

Please reset the step to clear any lingering current code.

Do not change anything in the p statement, nor anywhere else,

Except

Please place the anchor around only the word cat photos as you have anchored it in the quoted text but within the correct text in the p statement?

If this is done, your code should pass and you can move on in your coding path.

Happy coding!

my screen does not let me reset the code

There should be a place to reset it where you check the code and it states whether it passes or fails.

If you are not seeing this, I suggest the following steps to help you pass.

Try the following:

  • Reset step
  • Refresh page (F5)
  • Some browser extensions, such as ad-blockers and dark mode extensions can interfere with the tests.
  • If you are having problems, recommendation is to disable extensions that modify the content or layout of pages, while taking the course.
    • Try a different browser.

You have got this and will get through it with a little help from your friends, here in the community, @forestlaw321

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