Responsive site built with mostly HTML/CSS and JS only for email input
Design comparison
Solution retrospective
Any feedback welcome.
This was built with mostly Vanilla HTML/CSS and JS. I think I covered all viewports from 320px to 2560px screen width. Added little animations on the incorrect email and correct email, I think the accepted email animation could be better but I couldn't think of anything simple that would make sense.
Let me know if you would do anything differently ✌
Community feedback
- @ChamuMutezvaPosted about 3 years ago
Nice work Ryan and pretty cool animations as well. The input element should have a label.
Marked as helpful1@MainlyColorsPosted about 3 years ago@ChamuMutezva yea the label vs placeholder thing confused me when I was doing research, so is the label for Accessibility? I used placeholder because the text was in the textbox, I thought of creating a label and using CSS to place it within the box then using JS to remove it or move it up when the user starts typing but went with placeholder in the end because I couldn't tell the difference between the two.
0@ChamuMutezvaPosted about 3 years ago@ryan2505, yes that is right screen readers do not read the place holder content. Meaning / purpose of input is read from the label
Marked as helpful0@MainlyColorsPosted about 3 years ago@ChamuMutezva Thanks for the help😁
I'll make the changes to include a label today or tomorrow
0 - @MainlyColorsPosted about 3 years ago
Fixed the label and added some animations to it if anyone wants to check it out, tried getting the website perfect the screenshot stops being a few pixels off but after checking I matched the figma, idk why its still off?
0
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