@Mazz100
Posted
Well done on completing the challenge. some tips that could be of some help:
- I think you can minimize the errors for this particular challenge since it's just calculating a tip so don't be strict with error messages.
- Only try making condition on calculating results after user selects all the options or at least 2 of them eg. bill and persons. See what fits with you
- I notice that sometime I need to double-click on each discount to apply it so it seems they are not radio inputs which should be the ideal approach for this case.
- One last thing about calculation I see that total/person is not getting calculated correctly, maybe you forgot to link some logic to it ?
Overall your solution looks great but these were some points to consider especially accessible HTML semantic as much as possible. Don't hesitate to ask for help on discord community and get feedback 👍 Best of luck!
Marked as helpful
@CairoGarb
Posted
Thanks for the comments, @Mazz100! Yeah, the last one I forgot to divide the bill value by number of people. My mistake.