responsive tip calculator

Solution retrospective
i am new to js... if someone have better idea to make it shorter ..let me know and there is some issue when i upload the page on github the image file did not display meanwhile in local server the image id appear.
Please log in to post a comment
Log in with GitHubCommunity feedback
- Account deleted
I'm not sure what you are doing wrong, but as you said it shouldn't be that tall, the green section has way too much empty space. There's also somethings that need to be fixed with the functionality;
-
I don't think I am supposed to be able to enter a negative number in either of the inputs, otherwise it wouldn't make sense.
-
Also you should restrict the entry of multiple periods(.....) as it returns NaN.
-
The inputs should only take numbers, not letters as it currently does.
-
The custom input isn't working.
Marked as helpful -
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