JavaScript Tutorial 21 - JavaScript Alert Box

preview_player
Показать описание
This video shows how to create an alert box in JavaScript.

Basically you just write ....

alert("Text you want to alert out goes here");
Рекомендации по теме
Комментарии
Автор

@Mertt03 Actually the way with the quotes is correct. The way I did it works on my browser, but it may not work on another browser or even a different version of the same browser. It's actually required to put quotes. I just didn't notice it when I posted the video. Thank You for pointing that out :)

StructFeed