Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Tip calculator app

P

@ashea29

Desktop design screenshot for the Tip calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Even though it's a fairly simple feature, I think I'm most proud of the dark theme toggle.

What challenges did you encounter, and how did you overcome them?

The main challenge I encountered, after deploying to Netlify, was that when I clicked on the theme toggle button suddenly the logo and toggle button (an SVG) were broken. I did some searching in Google, and eventually found that I was incorrectly handling these images in the JavaScript when the toggle button was clicked. The src URLs (at first hard coded) were not getting correctly updated in the build.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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