I’m on CSS Positioning 1/25 titled “See it to believe it”
Mission objective: use the universal selector to draw a 1px dashed border of hex color #0000FF around every HTML element.
My code: * {
border: 1px dashed #0000FF;
}
Error message; “Oops, try again. It looks your border-width isn’t 1px.”
Note: I see a working, blue 1px border around every element in the preview panel.
I’ve also tried
{
border-width: 1px;
border-style:dashed;
border-color:#0000FF;
}
This also displays the working border around all of the HTML elements in the preview panel, but I get the same error message of “Oops, try again. It looks like your border-width isn’t 1px.”
Addendum
General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).
CTRL 0 to reset browser zoom
Thank you for your reply. I tried F5 and I tried resetting the code but the only answer that has fixed the issue for me is switching from Opera Browser, which had been working all day, back to Google Chrome.
I tried both of your methods, and they both didn’t work. I also tried switching to three different browsers (Microsoft Edge, Firefox, and Chrome) and still nothing. My code is also the same as leafaki.