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

All comments

  • Ben 50

    @benjbright

    Posted

    Nice use of React, using an array to hold the tips and then mapping through it to render them was very clever!

    1
  • @AmohPrince

    Submitted

    This is an exciting app I however was not able to put the images as the placeholder for the inputs. If someone could explain that to me I would be very grateful. Cheeers!!

    Ben 50

    @benjbright

    Posted

    Hey Amoh to put the images in the input boxes you insert them as background images and then position them. This is how I did it - I gave each input an id to link to in the CSS and JS.

    #total-bill { background-image: url(./images/icon-dollar.svg); background-repeat: no-repeat; background-position: 5% 50%; text-align: right; }

    Hope this helps, check out my solution on Github if you want to see more detail - https://github.com/benjbright/2_Tip-calculator-app

    Marked as helpful

    1