[go: up one dir, main page]

0% found this document useful (0 votes)
33 views1 page

Scribd

Javascript can be used to create simple message boxes to interact with users. Code like alert("Hi") displays a message saying hi, while prompt("Hi what is your name?") asks the user their name and allows them to enter a response. These basic Javascript functions provide ways to get input from and present simple messages to users.

Uploaded by

Hamish Archibald
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views1 page

Scribd

Javascript can be used to create simple message boxes to interact with users. Code like alert("Hi") displays a message saying hi, while prompt("Hi what is your name?") asks the user their name and allows them to enter a response. These basic Javascript functions provide ways to get input from and present simple messages to users.

Uploaded by

Hamish Archibald
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Some cool Javascript uses

alert("Hi")
- Makes a message box saying hi

prompt("Hi what is your name?")


- Makes a message box asking "What is your name?" with an answer box.

You might also like