Idk how this works. Any suggestions? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Idk how this works. Any suggestions?

https://code.sololearn.com/WqS2nSLBW465/?ref=app

21st Mar 2022, 3:53 AM
vredi yanto
vredi yanto - avatar
3 Respostas
+ 3
Because youre assinging true value into result. And result is true thats why its consoling "thank you for ...." It shoud be If(result != true){ //clicked.. its means the user wants to cancel the purchase }
21st Mar 2022, 4:06 AM
慤慤慤慤
慤慤慤慤 - avatar
+ 1
Very obvious suggestion: Find out how it works
21st Mar 2022, 6:14 AM
Shadoff
Shadoff - avatar
0
Tysm i forgot to add !. šŸ˜…šŸ˜…šŸ˜…
21st Mar 2022, 4:34 PM
vredi yanto
vredi yanto - avatar