-1

I want to calculate the amount Eg: product cost material GST

So if i Enter product cost, material cost(uses radio button) and GST it will show the result but the issue is when i click on no option the cost steel added on the result . If i click on no radio button material cost will automatically reduce from total cost but its not happening plz solve my problem my code link is here: https://stackblitz.com/edit/angular-ivy-gbhw3u?file=src%2Findex.html

1
  • 1
    Hello and welcome to Stack Overflow! Please take the tour and read through the help center, in particular How do I ask a good question? Do your research, search for related topics on SO, and give it a go. If you get stuck and can't get unstuck after doing more research and searching, post a minimal reproducible example of your attempt, as an edit to your question, and say specifically where you're stuck. People will be glad to help. Good luck! Commented Jan 20, 2022 at 11:34

1 Answer 1

0

The problem with your code is that the function with the name "yesnoCheck" is not defined. you can define it and then try to call it in your HTML.

Sign up to request clarification or add additional context in comments.

1 Comment

Its already define in index.html file that's why the ('yes' 'no') button is working

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.