Tip Calculator

Solution retrospective
Well, the calculation logic in this calculator is pretty simple, so i knew how it's gonna work, and i applied that logic directly to the destinated div and it was working great.
Also i still need to ask something from gemini, but this time i didn't like the solutions so modified them according to me and make it work nicely.
What challenges did you encounter, and how did you overcome them?I missed a part of how to display the error message, i was creating another function for that, but then where do call that function, those kind of things, then when i asked gemini, then i remembered and corrected it by putting in the input in which the message is supposed to be for.
separating the Custom tip and pre-determined tip options, that was tricky for me, that took most of the time, also because i don't want to use gemini's code because that will overwrite my initial calculation logic, but eventually i completed it.
What specific areas of your project would you like help with?Please take 5 minutes, and give my code read, and suggests.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Utkarsh9571's solution.
Join 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