Ada’s Journal
Ordered lists? Another list? Professor Babbage must have a secret agenda with all these lists. I’m starting to suspect he’s cataloging the entire universe, one HTML element at a time.
This lesson feels almost too simple. We’re just adding another list, but this time with numbers. The <ol> tag is basically the responsible cousin of the <ul> tag — instead of bullet points, we get numbered items. I can already imagine Babbage giving a lecture about the “semantic importance” of numerical ordering.
I’m noticing a pattern in these lessons: we keep building out this cat photo app, layer by layer. It’s like we’re constructing a digital shrine to feline existence, one HTML element at a time. Today’s tribute? A numbered list of things cats apparently hate. Fascinating.
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>
<h3>Things cats love:</h3>
<ul>
<li>catnip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<figure>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
<figcaption>Cats <em>love</em> lasagna.</figcaption>
</figure>
<h3>Top 3 things cats hate:</h3>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
</section>
</main>
</body>
</html>
Professor Babbage’s Review
Correct. The ordered list is properly structured and positioned. Your observation about the “responsible cousin” of ul is apt — ordered lists do imply sequence matters.
Grade: Good
What Went Well
- Proper ol element structure with correct nesting
- All required list items present with exact text
- Correct placement below the h3 element
Room for Improvement
- None.