Learn HTML by Building a Cat Photo App - Step 15

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

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <section>
    <!-- 
      <h2>Cat Photos</h2>
      TODO: Add link to cat photos 
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
      <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
    -->
    </section>
  </main>
</body>
</html>

I’ve tried multiple different ways but cannot seem to get this one… I’m literally trying anything now. I tried the help from the previous posts but I get the same outcome.

Could someone please assist?

Please don’t delete the link to the challenge when you post a question.

I can’t see the step, but I doubt you were supposed to comment out all of that code.

Apologies

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

Link to the challenge:

I didn’t think so, but this was some of the help I found for this particular issue when I searched the forum.

I’m meant to take all elements currently located within the main element and nest them in a section element.

The comment in that thread was just part of an example. It didn’t say to put all of your code into a comment.

Hi KKxng, sorry you didn’t receive help before. I too, just had an issue with this step. Here is the solution:

Mod Edit: SOLUTION REMOVED

Hoping this helps!

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

Hey KKxng. Hopefully, you could figure this out and move along by now, but as a newcomer, I had to jump in and leave a hint for anyone else stuck here.

In Step 15, the instructions haven’t said anything about deleting anything - so don’t delete anything! Just do exactly what it asks you to do by referencing your previous code line to remind you how to write the (a) element - but without the target that you added in Step 14.

Hope this helps someone out! I was pretty stoked when I figured it out.

1 Like

I assume you have completed this step, but I just figured it out, so I will tell you the basic response. In Step-13 you turned words into a link, you use the same code the same way you did in Step-13. If you need me to be more specific, I will try.

2 Likes

Hey! I would appreciate more specificity! I am literally stuck. Been trying everything

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

The solution to Step 15:

Mod Edit: SOLUTION REMOVED

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

It is super lame that the answers are being removed… some of us have literally zero experience or support… taking off the answers greatly discourages me… I’ve completed this app before and I am still stuck… I teach a class and cant even help my students now…

If you are stuck, you can ask questions on the forum - that’s the entire purpose of the forum. The research indicates that simply copying answers actually gets in the way of learning instead of helping.

1 Like

I give lots of help. I just also help enforce the policy against posting answers to copy. The two are separate. Answers to copy aren’t help.