Unexpected end of input!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Unexpected end of input!!

Why it says "unexpected end of input" ? 😕 https://code.sololearn.com/WzQo87kfBczJ/?ref=app

25th Oct 2021, 3:50 PM
Parth
Parth - avatar
4 Answers
+ 3
Parth Your code needed }) after the closing curly bracket and bracket of your alert function. Copy and paste this to your code $(function() { SoloAlert.alert({ tite: "Quizo time!", body: "Hello, this is an app for quizes. Questions here are of limited programming languages, like HTML, CSS, JS and jQuery. Questions are also of basic physics, chemistry, biology and mathematics.", icon: "warning", }); }) <<== Was Missing
25th Oct 2021, 4:25 PM
Emms
Emms - avatar
+ 7
Close bracket })
25th Oct 2021, 4:12 PM
ÃKR
ÃKR - avatar
+ 3
U’re missing to close $(function {
25th Oct 2021, 4:13 PM
Guillem Padilla
Guillem Padilla - avatar
+ 3
Great clarifying answer Emms Code ;) Should be marked as better answer
25th Oct 2021, 4:27 PM
Guillem Padilla
Guillem Padilla - avatar