+ 2
Line:1
when i write the example code(alert box) i see error:Uncaught SyntaxError:Unexpected token< Line:1 what is the problem?
7 Answers
+ 5
you put the html in the JS section. so everything will be interpreted as JavaScript which leads to the error. take a look at other web codes on code playground to see how to split the codes ;)
+ 2
sometimes the web browser execute the JavaScript code but sometimes I get a blank page????? what may be the problem?
+ 1
سلام رضا
اشتباه این بود که کد اچ تی ام ال رو تو JS هم نوشته بودی
+ 1
والیکم سلام ali you speak Persian
0
salam ali
are motevajeh eshtebaham shodam.akhe in avalin zaban hast ke daram yad migiram.albateh aghaye mario laurisch be khobi hamon moghe tozih dad.mamnonam.
0
خواهش رضا جان
0
Yes Noman I speak Persian



