- 2
I want to run this code. I have error line 18. Thanks you sir.
I have error line 18. https://code.sololearn.com/WeyjzrF812nw/?ref=app
4 ответов
+ 2
Try to compare this with your code. I marked out where you had errors
https://code.sololearn.com/WYGNTL7P4SDZ/?ref=app
+ 2
MIstakes :
1. give script as type="text/babel"
2. line 21 : it should be onClick not onclick (C capital )
3. line 16 : Unexpected close curly bracket ' } '
NO error on line 18
0
You're more likely to get help if you use relevant tags:
https://code.sololearn.com/W3uiji9X28C1/?ref=app
0
Line 14 and 24 delete {
At 28 add }
Now you have another error but is not for the brackets.