What's wrong with this one? | Sololearn: Learn to code for FREE!

0

What's wrong with this one?

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

6/30/2022 5:56:58 PM

Yousuf Arman

4 Answers

New Answer

+5

There are two minor issues. #1 You forgot the script tag #2 you misspelled your function in the script.

+1

Yousuf Arman There is nothing wrong, you are just not calling the function. So call function to get alert

0

Yousuf Arman You called function on click event but you have missed opening script tag. Please after changing anything in code, verify what changes you have done

0

1: you have <button onclick=“”… in your script tag remove that and put it under the <p> or where u would like 2: You misspelled your function.