Design comparison
Solution retrospective
I ended up messing up, I wanted to create each part of the tip calculator as separate components but I didn't think it through until the end that since all of them are forms, how will I submit all the forms at once... It tired me out quite a bit figuring out how to share data between web components so I didn't want to change it.
To use this, you have to click on enter for each form (bill, select tip and number of people) and you will get your result.
The issue I have is that on safari, I cannot get the form of radio inputs to submit by pressing enter, I have to manually add a submit button then click on it.
Other than that, I would appreciate advice on the html and css itself and anyways to improve the code
Thanks
Community feedback
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