Build an Error Message Component - Step 10

Hi, just noticed something on this lesson. It is said that the “p-number, where number represents the pixels you want to apply on all four sides.” but on both the example and step test shows the number is actually not pixels instead it’s rem where as the number is actually equals to 0.25rem. Is this actually the case?

it’s always number of pixels, rem is a unit that is relative to the font-size, which is a number of pixels

if you want to ask for this to be updated to make it more clear you can open a github issue

yeah, i meant on the example it shows “p-8” or “p-4” and tells its value 8px and 4px respectively but it’s actually not.

you can report it as a bug to have it fixed