An open API service indexing awesome lists of open source software.

https://github.com/codeadamca/javascript-hello-world

A sample JavaScript which displays a "Hello World" message when a button is clicked.
https://github.com/codeadamca/javascript-hello-world

hello-world javascript learning-code

Last synced: about 2 months ago
JSON representation

A sample JavaScript which displays a "Hello World" message when a button is clicked.

Awesome Lists containing this project

README

        

# JavaScript Hello World

JavaScript is a scripting computer programming language commonly used to create interactive effects within web browsers.

This sample file will display a "Hello World!" message when the button is clicked.

## Steps

1. Create a new HTML file and name it hello-world.html.
2. Add the following HTML:

```javascript



JavaScript Hello World!



JavaScript Hello World!



Clck Me



```

3. Save the file and test in a browser.
4. Try uploading this file to your hosting and then test it using your domain name. It will look something like this:

```
http://www.domain.com/folder/hello-world.html
```

> Full tutorial URL:
> https://codeadam.ca/learning/javascript-hello-world.html

***

## Repo Resources

* [Visual Studio Code](https://code.visualstudio.com/) or [Brackets](http://brackets.io/) (or any code editor)
* [Filezilla](https://filezilla-project.org/) (or any FTP program)
* [W3Schools - JavaScript](https://www.w3schools.com/js/)