View on GitHub

learning-journal

this site is for 102d9 class

JavaScript

it allows you to make web pages more interactive you can accessing and modifying the content and markup used in a web page while it is being viewed in the browswe

what can javaScipt do in the browser ?


   Access       Modify         Program         React 
   

You can specify a set of steps for the browser to follow such as :

You can specify that a script should run when a specific event has occurred such as:

Script :

it is a series of instructions that a computer can follow step by step to achieve a goal

Expression :

operations :

color = 'beige'; 

area = 3 * 2; 

greeting= 'Hi 1 + 'Molly'

Functions :

it is a group a series of statements perform a specific task. If different parts of a script repeat the same task, you can reuse the function (rather than repeating the same set of statements).


       calling the function          return value