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
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

HTML, SCSS (flexboxes), vanilla JS

Sean• 175

@sean-b765

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


Hey all :) This is my first time trying one of these. Would appreciate any feedback on my styling. I always use flex and haven't looked into grid yet. Thanks

Community feedback

P
Chamu• 12,970

@ChamuMutezva

Posted

  • a div should not be a child of a label
  • a label must not have more than one button/input as children
  • a form element was proper to wrap the inputs and buttons
  • images must have an alt attribute

Marked as helpful

0

Sean• 175

@sean-b765

Posted

@ChamuMutezva Thanks mate

0
Elijah Ohiwerei• 150

@Thenextgen1

Posted

Here's what you can do Use a display of grid for the buttons Manipulate the grid template columns for desktop and mobile Then reduce the width and use a position of relative to reposition some members of the button Also for your reset button After listening for a click event Set the values of the input custom and persons to an empty string"" and equate to inner html or text

0

Sean• 175

@sean-b765

Posted

@Thenextgen1 Thanks - I'll look into grid for that section. Also the reset button works on my end, all inputs/variables are set back to their defaults

0

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