Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Flask with SQLAlchemy Basics Creating a Basic Website with Flask Template Inheritance

Thomas Dimnet
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Thomas Dimnet
Python Development Techdegree Graduate 43,629 Points

Add-pet page does not have any style

Hummm this is strange but it seems that my add-pet.html page does not have any style within the form.

The two other pages (index and pet) have some style.

When I look in the inspector on the add-pet page, the css file is loaded.

Does style.css contain the style for the add-pet page ?

Thomas Dimnet
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Thomas Dimnet
Python Development Techdegree Graduate 43,629 Points

Ok, I saw what's wrong : the apppet.html does not have the right id for one of it section. It should be section id="form" and it is section id="pet-cards"

Replace it and everything should be ok :)

4 Answers

justlevy
justlevy
6,325 Points

Nice catch!

You saved me a lot of debugging time. Appreciate it!

Travis Bailey
Travis Bailey
13,675 Points

Thanks for catching this. Just a heads up to staff I just downloaded the project files today (Jan 13 2022) and the bug still exists.

Thank you for pointing that out Thomas Dimnet! :D We went in and made those changes. Because you found a bug to fix, I went in and awarded you with the Exterminator badge! Good eye!!

Jonathan Brierley
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jonathan Brierley
Python Development Techdegree Graduate 15,292 Points

Hey Mel! Just letting you know that it doesn't seem like this has been fixed. (You'll probably see this discussion on the slack when you're back on haha)