Hi, I tested your code and noticed that in the output generated by Tailwind, it doesn't include a default font size. However, to use rem units, you need to define a base font size. You could, for example, add this to your CSS:
html {
font-size: 16px;
}
Good work overall!
- It's important to pay attention to the details (padding, sizes, etc.).
- If you care about responsiveness, consider developing with a mobile-first approach and then adding constraints for larger screens. ;)
Marked as helpful