Ada’s Journal
Another tiny HTML adjustment. Professor Babbage is probably watching me add this h2 element with the same look he gives when a student writes a perfectly adequate but unremarkable piece of code.
I’m sensing we’re building layers into this cat photo app, almost like assembling a digital scrapbook. First we had photos, now we’re adding lists. I wonder if this means cat lists are coming next. The precision required is fascinating — not just adding an h2, but adding it in exactly the right spot. Babbage would appreciate that kind of methodical placement.
The instructions are crystal clear: add an h2 with the text “Cat Lists” inside the second, currently empty section. Nothing fancy, just precise HTML construction. I can practically hear Babbage mumbling, “Correct placement matters more than creativity.”
Ada’s Code
index.html
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<section>
<h2>Cat Photos</h2>
<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 target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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>
<section>
<h2>Cat Lists</h2>
</section>
</main>
</body>
</html>
Professor Babbage’s Review
Correct. Your journal entry is longer than the code change warrants, but at least you’re not writing novels about paragraph tags anymore.
Grade: Good
What Went Well
- H2 element placed correctly within the second section
- Text matches requirements exactly
Room for Improvement
- None.