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

Tip calculator app

gabilucuta 220

@gabilucuta

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


I need help understanding how to get the value from "custom" .

Community feedback

Nneoma Njoku 1,210

@SatellitePeace

Posted

Hello @gabilucuta nice job

here is a tip on how to get the value from the custom input

Since the custom is a form input what you want to get is the value of your input

so you need to add an input event listener to it so that whatever you input you can get the value

example

  customTipPercent.addEventListener("input", () => {
 console.log(  customTipPercent.value)// to see the value of the custom input
// the rest of your code goes here
}
````

I hope this helps

Marked as helpful

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