Prepare These Tools Before Learning JavaScript!

Connect Asia Data learn, and optimize business database management.
Post Reply
sohanuzzaman54
Posts: 127
Joined: Mon Dec 23, 2024 4:23 am

Prepare These Tools Before Learning JavaScript!

Post by sohanuzzaman54 »

Before starting the lesson, prepare these tools first:

Text editors, for example, Sublime, Atom, Notepad, and Notepad++
Website browsers, such as Google Chrome, Opera, Firefox, Tor, or Dolphin
Website server, used to process and run program code, for example, PHP and HTML which are generally collaborated with JavaScript.
Quick Tutorial to Learn JavaScript
After establishing your intentions and preparing the necessary tools, it's time to start with simple programming.

start learning javascript
Check out the following guide!

1. Learn Through Simple Programs
"Hello, world!"
This tutorial is the essence of JavaScript, aka the list of germany cell phone numbers language itself. "Hello, world!" is created using a text editor with HTML format. After entering the basic script and saving the text document, you can open the file with a web browser.

Let's follow the steps below to create it. First, create a folder named script inside the website hosting server folder and add a file titled main.js.

Next, open or create an HTML document, for example titled index.html. Insert the element before the closing tag </body>, then add it to the main.js file. Finally, open the index.html file through your preferred browser.

2. Code Writing Rules
a. InLine
This writing rule is derived from the use of script tags in HTML. All JavaScript code must be written inside script tags , not using source (src="...").

b. External
This writing rule is applied when JavaScript code is stored in a separate external file formatted as ".js". In HTML text documents, the script tag can be used to specify the location where the JavaScript file is stored. The "src" attribute acts as the path and file name.
Post Reply