0
How does the alert box in web design work ?
(Sometimes there is error)
2 odpowiedzi
+ 5
error? can you post code.?
https://www.sololearn.com/learn/JavaScript/1149/?ref=app
got it 😄
https://code.sololearn.com/WR4nRwu0KqO4/?ref=app
this is your code 😋 in which you are getting error.
remember if you want to display a string in alert you need to enclose the string in double quotes like
alert("Something cool ");
ok? happy learning :)
+ 1
Hey man, you forgot to put your text between ( " " ) and also the semi colon in the end (;)
It should be like this: alert(" your message");
👍