I have a question the way the code was written in this lesson

Well, you now your red box and blue box are h5 elements instead of divs, which is probably not what you would want in the real world.

This isn’t a situation that translates well to real use cases.

Speed really isn’t the issue with HTML. It’s about getting it to look and behave the way you want it to in every scenario, in a way that doesn’t require fussing every time you update something.

1 Like