Submitted about 1 year ago
Responsive Intro component with sign up form using Semantic HTML & JS
#accessibility#fresh#progressive-enhancement#semantic-ui#animation
P
@KrishnaVishwakarma1595
Design comparison
SolutionDesign
Solution retrospective
Hello, Mentors
I'm come up with a responsive solution for this challenge by continuing my learning of CSS new pseudo selectors, this time I used :has()
too to show the error icon on error states. For the bonus part, I've added a thanks modal on the form successful submission.
What users can do
- View the optimal layout for the site depending on their device's screen size
- See hover states for all interactive elements on the page
- Receive an error message when the
form
is submitted if:- Any
input
field is empty. The message for this error will say "[Field Name] cannot be empty" - The email address is not formatted correctly (i.e. a correct email address should have this structure:
[email protected]
). The message for this error will say "Looks like this is not an email"
- Any
What I've learned
- Writing Semantic HTML5 markup
- CSS Flexbox & Grids
- Mobile-first workflow
- Javascript Form handling
- JS DOM Manipulation
Please go through the solution and let me know your comments on this. Thanks!
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