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
Cannot read properties of null (reading 'code')
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Tip Calculator App Using React JS and Sass

#react#sass/scss

@darrenbawag

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


Done with this challenge ^^ Yay! Leave a comment/feedback. ty

Community feedback

@mariusfa

Posted

Just for info: In a larger project you would not import all your svg files in app component. You would import them in the component where they are used.

For screenreaders/accessability reasons your input/labels are missing for/name pairs.

<label for="bill">Bill</label>
<input  name="bill" type="number"/>

In react for => htmlFor

Also notice the type="number". This might remove your regex tests. This also makes phone pull up the number keyboard for the input field.

Testet the site. Works like a charm and you nailed the styling :)

Marked as helpful

3

@darrenbawag

Posted

@mariusfa Thanks for the suggestion :) great help

0
Liam R 425

@Cooly-o-Cats

Posted

Great Work! Few Suggestions: 1 - Reduce the white space at the top to allow it to be close to the design. 2 - In the design, there is a state and a message when input fields are blank, Could you do this?

1

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