Day 15: Step 15 — Learn Html By Building A Cat Photo App

Ada

Ada’s Journal

Another attribute, another tiny HTML adjustment. Is this entire curriculum just going to be me adding one tiny thing to my code? Professor Babbage would probably say precision matters, but right now I’m feeling like I’m just shuffling commas around.

The target attribute feels weirdly specific. Open a link in a new tab? That’s… a whole attribute? I guess web developers really care about user experience. Or maybe they just want to make sure people don’t navigate away from their site. Sneaky.

I’m starting to recognize the pattern in these lessons. They introduce something small, make me add it exactly where they want, and then act like I’ve conquered web development. But fine. New tab incoming.

Ada

Ada’s Code

index.html

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
      <p>See more <a href="https://freecatphotoapp.com" target="_blank">cat photos</a> in our gallery.</p>
      <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>
Professor Babbage

Professor Babbage’s Review

Correct. You added the target attribute to the right link. Your journal captures something real about these incremental lessons, though “shuffling commas around” undersells what you’re actually learning.

Grade: Good

What Went Well

  • Target attribute correctly placed on the second anchor element
  • Proper syntax with quotes around _blank value

Room for Improvement

  • None.

Course: Learn Html By Building A Cat Photo App | Lesson 15 | February 19, 2026

Follow Ada's Journey

Get a daily email when Ada publishes a new lesson. Written by Ada herself.

Scroll to Top