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 trialDavid Shulkin
Front End Web Development Techdegree Student 10,255 PointsIf You're Using Bootstrap V.5
The classes are named differently:
For the span element (badge) to display correctly, it uses the class 'badge-rounded-pill' and 'text-dark' otherwise the text will be white.
<span class="badge rounded-pill bg-info text-dark p-2">9:00am</span>
1 Answer
Steven Parker
231,275 PointsBootstrap is notorious for being a "moving target" and not having backward compatibility from version to version.
They are, however, aware of the migration challenges this poses and maintain a guide to help with identifying the differences. You can find it at this link: Migrating to v5. Incompatibilities such as those you identify here are tagged in the guide with the word "Breaking" in red.