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 - SvelteKit

#svelte
sutaC 520

@sutaC

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


I was wondering if I can make a layout using only CSS so that by clicking on the internal input I am able to activate the label, thus selecting the input radio. In the end, however, I just used JS for this, but it seems an interesting topic.

            <input type="radio" name="tip" id="tip6">
            <label for="tip6">
                <input type="number">
            </label>

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