0

How can I get a confirm button in Javascript to release separate things based on confirm/cancel?

I am trying to make it so that if I click confirm, then it gives a different result than it would have if I had clicked cancel. Attached is a simplified version of what I'm looking for, but it's still bugged. https://code.sololearn.com/WERQ97Bs0xqg/?ref=app

18th Apr 2021, 12:53 PM
zxtychj
zxtychj - avatar
1 Respuesta
+ 1
https://code.sololearn.com/WnqQxA6rcQ6O/?ref=app
18th Apr 2021, 12:59 PM
TOLUENE
TOLUENE - avatar