0% found this document useful (0 votes)
3 views

Javascript Class

JavaScript is a lightweight, open-source programming language that enhances web pages by providing dynamism. It is easy to learn and has rich libraries, making it suitable for various applications like user notifications, content manipulation, and validation. To create and run a JavaScript file, one can use text editors, local servers like XAMPP, and web browsers.

Uploaded by

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

Javascript Class

JavaScript is a lightweight, open-source programming language that enhances web pages by providing dynamism. It is easy to learn and has rich libraries, making it suitable for various applications like user notifications, content manipulation, and validation. To create and run a JavaScript file, one can use text editors, local servers like XAMPP, and web browsers.

Uploaded by

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

INTRODUCTION TO JAVASCRIPT

JavaScript is a light source programming language used to script/provide a direct translation of


programs on a website.

NB: Used to bring dynamism in webpages.

Reasons for using JavaScript

1. It’s a free /open source programming language


2. Rich libraries like Node, Typescript
3. It is easy to learn and understand

Applications of JavaScript

1. User notification/alert messages


2. Manipulating web page content
3. Validation of web content
4. Others

CREATING A JAVASCRIPT FILE AND RUNNING IT

1. Text editor- VS code/ Sublime text/Notepad/Notepad+


2. XAMPP- Local-host
3. Web browser-Microsoft Edge, Google Chrome

Working with JavaScript files

A JavaScript file can be embedded inside a html document (Internal JS).

To run a JavaScript file, you use the command document.write(“”).

Q: Write a JavaScript file to display your full name…… David Yiaro

You might also like