Syntax error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Syntax error

WhY DOES THIS SIMPLE CODE GET A SYNTAX Error? https://code.sololearn.com/W0HrGHTKAiDh/?ref=app

2nd Nov 2020, 9:40 AM
Bruce Wayne
Bruce Wayne - avatar
6 Answers
+ 8
There is no syntax error in this code . Might you you are thinking that the black box is a syntax error 🤔 . But it's alert box
2nd Nov 2020, 9:57 AM
Kartik
Kartik - avatar
+ 1
There are no syntax errors in the code
2nd Nov 2020, 9:42 AM
Steve Sajeev
Steve Sajeev - avatar
+ 1
that depends on what device are you using sololearn
2nd Nov 2020, 9:48 AM
Bruce Wayne
Bruce Wayne - avatar
+ 1
The alert statement does not need a device particularly. Please show an image of error with the image showing code, it can be a video also
2nd Nov 2020, 9:51 AM
Steve Sajeev
Steve Sajeev - avatar
+ 1
its not a problem with the device im on ipad right? so when i swipe from down to up to move to recent apps a syntax error appears
2nd Nov 2020, 9:58 AM
Bruce Wayne
Bruce Wayne - avatar
+ 1
You got it wrong Bruce Wayne . The thing that pops up is a console. It will open when you drag from bottom to top. Forgive me if thats not the case
2nd Nov 2020, 10:00 AM
Steve Sajeev
Steve Sajeev - avatar