Submitted over 3 years ago
I made this tip calculator with mobile version first in mind.
@tenzind12
Design comparison
SolutionDesign
Solution retrospective
I am super new to javascript, in fact to the programming world. Please feel free to correct my code and advising me on how things can be done differently. You can also share tips on how to keep growing as a programmer. Thank you all.
Community feedback
- @Dinesh1042Posted over 3 years ago
Hello, tenzind12 π
Great work on this challenge, Here are my few suggestions on your solutions.
- Tip Calculator works only when the user clicks on the select tip. If the user changes the bill amount or number of people. It's not updating.
- There is no indication which tip is currently selected use
classes
orradio
inputs to manipulate dom - Your
.p1
and.p2
font-size are too small and slim
Well, that's it. Happy Coding!
Marked as helpful1 - @tenzind12Posted over 3 years ago
Hi Dinesh, Thank you for ur feedback. I added the eventListener on the tip buttons and custom. Bad idea. I will keep that in mind. I dont understand the second point. If u have time, can you explain me a little?
Thanks man.
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