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 are using Bootstrap v5
the sr-only class is now replaced with the class "visually hidden" and you have to add your mb-3 (margin-bottom) to the div containing the label and input elements
1 Answer
Steven Parker
231,275 PointsThose still taking the course(s) may want to install Bootstrap 4 to be able to follow along with the examples. You can always upgrade to the latest version after you finish the course.
Also, in case you missed my answer to your previous question about compatibility issues, Bootstrap is notorious for being a "moving target" technology and not providing 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.