Design comparison
SolutionDesign
Solution retrospective
What specific areas of your project would you like help with?
I like to do these basic validations with css instead of js but this time, this doesn't work. I couldn't figure out the reason
input {
position: relative
}
input:not(:placeholder-shown):invalid::after {
content: "Valid email required";
height: 16px;
width: 16px;
position: absolute;
top:0;
right:0;
}
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord