Ask coding questions

← Back to all posts
Can Someone Explain The Unexpecteed End Of Input
h
matthewproskils (263)

I don't understand why it says "unexpected end of input'

Answered by CodingCactus (2435) [earned 5 cycles]
View Answer
Commentshotnewtop
CodingCactus (2435)

i would say that you probably need an extra } on line 11 or under it

matthewproskils (263)

@CodingCactus To recreate, press open(blue button), pencil thingy(top left), then press fork
Also, it still says unexpected end of input

matthewproskils (263)

@matthewproskils Sorry, Wrong Image, The image is below, somehow it says unexpected end of input on </script> line?

CodingCactus (2435)

@matthewproskils you need an extra } on line 11 like I said

CodingCactus (2435)

@matthewproskils why do you keep sending me this image?

matthewproskils (263)

@CodingCactus Oh, I am so sorry :(
There, this is the error
I have no idea why </script>
is wrong

matthewproskils (263)

@CodingCactus Whatever, I'll find it out myself too confusing.
sorry for all the trouble :(

CodingCactus (2435)

@matthewproskils i already told you how to fix though!!!!!

matthewproskils (263)

@CodingCactus yes, yes you did! that's why I gave you the answer :D

CodingCactus (2435)

@matthewproskils oh lol, I was just replying to this, I didn't see that sorry! :)