Skip to content
Sign upLog in
← Back to Community

Script error (Solved)

Profile icon
AKA15

Please, help me with code, I just start practice in HTML so need some help. I need to use if statement with variable, but it sends me the error. Can you help me? Thank you!

Voters
Profile icon
RayyanEl-Homsi
Profile icon
17jeag
Profile icon
AKA15
Comments
hotnewtop
Profile icon
TheForArkLD

you don’t need semicolon

}else;{

}else{
Profile icon
AKA15

@TheForArkLD
, can you answer please, why it wrote to me syntax Error in var (I don't know HTML at all). I will be very pleased if you answer me.
Annotation 2020-05-28 094900

Profile icon
TheForArkLD

@AKA15

function change...()

function change...(){

and put }

Profile icon
AKA15

@TheForArkLD
Thank you very much!
Can I ask you smth if I need help?

Profile icon
TheForArkLD

@AKA15
yes :)
if you want learn js then, make nodejs(or html) project and invite me :)

Profile icon
AKA15

@TheForArkLD
Ok, thank you!

Profile icon
TheForArkLD

@AKA15
np :)

Profile icon
AKA15

Thank you