Submitted over 1 year ago
Responsive Age Calculator App Built w/ Sass + Vanilla Javascript
@basitkorai
Design comparison
SolutionDesign
Solution retrospective
Hello, my Frontend Friends. 🙋♂️
I'm really delighted that I completed another project.
I have a question:
-How do I handle leap years in my calculations, I know I could go for tons and tons of if
or switch
statements. But that's not sustainable.
Let me know if you have any suggestions regarding this issue.
- Any other feedback about anything else e.g. responsiveness or accessibility will be appreciated. Thanks
Happy Coding ✌️
Community feedback
- @NehalSahu8055Posted over 1 year ago
Hello Coder 👋.
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
➨To properly center the container.
- USING FLEXBOX
body{ min-height: 100vh; display: flex; align-items: center; justify-content: center; }
- USING GRID
body{ min-height: 100vh; display: grid; place-items: center; }
I hope you find this helpful.
Happy coding😄
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