Bootstrap preview not working

In FCC bootstrap lessons, when I write the code and run the tests, it says it passed but the preview did not change according to bootstraps classes.
For example, when I use text-center bootstrap class, it does not align to center.
but it passed the test.

The tests primarily check if your code meets specific requirements, but they might not assess the visual aspects accurately.

1 Like

It should work. For example, adding the class should center the text.

You might be blocking Bootstrap, or for whatever reason it isn’t loading for you. You can check the browser console for errors and the network tab to see if it is loaded/blocked.


I didn’t check but as said the test might just look at the code and not the output. So even if Bootstrap isn’t loading the test can still pass.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.