Submitted over 1 year ago
Intro component with sign-up form using FlexBox and JS
@Chermann-KING
Design comparison
SolutionDesign
Solution retrospective
Very interesting challenge because it allowed me to discover the pseudo-selector :focus-within
and to use it, which seems to be little used in CSS projects. This pseudo-selector selects an element if this element contains children that have the :focus
. It's quite intuitive I think. In JavaScript, I was able to practice using RegEx to test the validation of the values of the form fields according to the type of each of these fields.
I'm still tempted to do this challenge again this time if I use a Grid display instead of a Flex display.
Let me know what you think?!
Good code to everyone 😉
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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