Design comparison
SolutionDesign
Solution retrospective
While developing this project I faced an issue with the custom tip percentage selection and then passing value for further calculation.
Community feedback
- @yishak621Posted almost 2 years ago
The custom input is an input that accept number value so to grab that value u can use
input.value
method with the help ofkeyup
event so whenever the user types something u have acess to grab that value ...examplecustomInput.addEventListener('keyup', () => { const customValue = (customInput.value * value) / 100;
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