JavaScript - Introduction

Introduction to JavaScript

JavaScript is a programming language that is used to create dynamic and interactive effects on web pages. It is a scripting language used for the client-side

Simple DOM Manipulation

Example

Client-side scripting language

  • scripting language is a type of programming language that is interpreted individually at run-time (i.e. duration of time program takes to execute)
  • client-side refers to everything the user sees and interacts with on the web application.

Uses

  • Updating Content
  • Dynamic Menus
  • Pop-ups
  • Animations
  • Transitions
  • DOM Manipulation
  • Event Handling
  • Interactive Elements (E.g. Accordions)

Multi-paradigm

JavaScript is a multi-paradigm programming language which supports:

  • Object-Oriented Programming
  • Functional Programming
  • Procedural Programming

Light Bulb (On/Off)

Example

ADVERTISEMENTS

LEARNING IS A CONTINOUS PROCESS - PRACTICE MAKES PERFECT