Module 1
Introduction to JavaScript
Presented by Karen Rivens
05/04/2015
What is JavaScript?
JavaScript is a scripting programming language that runs on web
browsers. It makes web pages functional for specific purposes and if
disabled for some reason, the content or the functionality of the web
page can be limited or unavailable. Programming is used to tell the
computer what to do.
Goals
The goal is to get you used to some of the concepts found in
JavaScript programming. These concepts are applicable to
many other programming languages like Java, NET, ASP
and several others.
Know the Concepts of JavaScript
 Statements
 a section of code that performs a single action.
 Functions
 tells the computer that this is the beginning of programming code that takes an
action.
 Objects
 can store two or more pieces of data at once
How to Write Scripts
Simple Scripts
 days = now.getDays();
 months = now.getMonths();
 years= now.getYears();
How to write a code
This code will tell the computer to say: ‘Today is a nice day. ‘
function popupMessage()
{
alert(“Today is a nice day");
}
Codes has got to be written correctly to function (look below).
function popupMessage()
{
(“Today is a nice day");
}
This code will not function because I left out the word alert.
Assignments
Reading
 textbook, articles, and web links
Quizzes
 weekly ( multiple choice and true or false)
Create a simple JavaScript program
Group assignment
 build webpage about your group
Video Tutorial
Properly learning JavaScript will help you build
a simple JavaScript only web-application.

Module 1

  • 1.
    Module 1 Introduction toJavaScript Presented by Karen Rivens 05/04/2015
  • 2.
    What is JavaScript? JavaScriptis a scripting programming language that runs on web browsers. It makes web pages functional for specific purposes and if disabled for some reason, the content or the functionality of the web page can be limited or unavailable. Programming is used to tell the computer what to do.
  • 3.
    Goals The goal isto get you used to some of the concepts found in JavaScript programming. These concepts are applicable to many other programming languages like Java, NET, ASP and several others.
  • 4.
    Know the Conceptsof JavaScript  Statements  a section of code that performs a single action.  Functions  tells the computer that this is the beginning of programming code that takes an action.  Objects  can store two or more pieces of data at once
  • 5.
    How to WriteScripts Simple Scripts  days = now.getDays();  months = now.getMonths();  years= now.getYears();
  • 6.
    How to writea code This code will tell the computer to say: ‘Today is a nice day. ‘ function popupMessage() { alert(“Today is a nice day"); } Codes has got to be written correctly to function (look below). function popupMessage() { (“Today is a nice day"); } This code will not function because I left out the word alert.
  • 7.
    Assignments Reading  textbook, articles,and web links Quizzes  weekly ( multiple choice and true or false) Create a simple JavaScript program Group assignment  build webpage about your group
  • 8.
    Video Tutorial Properly learningJavaScript will help you build a simple JavaScript only web-application.