javascript - Outline Objectives Introduction overview...

This preview shows page 1 - 11 out of 99 pages.

Outline Objectives Introduction overview Constructs Functions Client Side Scripting Using Javascript Intermediate Web Programming (CIS 245) Mourad Bouguerra [email protected] Jan 2016 © 2016 M. Bouguerra Javascript
Outline Objectives Introduction overview Constructs Functions Lesson’s Outline 1 Lesson’s Learning Objectives 2 Introduction 3 Javascript Overview Javascript Syntax Linking Javascript Operators 4 Control Structures Selection Iteration 5 Functions 6 Javascript Event Handling 7 Document Object Model (DOM) 8 Walkthrough © 2016 M. Bouguerra Javascript
Outline Objectives Introduction overview Constructs Functions Learning Objectives . Upon completion of this lesson, you will learn: 4 What is Javascript ? 4 What are Javascript control structures? 4 How to use Javascript arrays? 4 How to use Javascript functions? 4 How Javascript handles events? 4 How Javascript uses HTML Document Object Model ( DOM )? © 2016 M. Bouguerra Javascript
Outline Objectives Introduction overview Constructs Functions Introduction . 3 core technologies for building web page s HTML . Defines the structure of the web page CSS . Defines the look & feel of the web page Scripting . Defines the interactivity of the web page © 2016 M. Bouguerra Javascript
Outline Objectives Introduction overview Constructs Functions Client-Side vs Server-Side Scripting Client-Side . Client-side scripting 4 The code is executed by the web browser 4 The code is visible 4 Javascript , VBScript Server-Side . Server-Side scripting 4 The code is executed by the web server 4 The code is hidden 4 PHP , Ruby , ASP.NET , JSP © 2016 M. Bouguerra Javascript
Outline Objectives Introduction overview Constructs Functions Syntax Linking Javascript Operators Javascript Program . Javasript source file .js consists of: comment s 4 used to document your program ` statement s 4 instructions to the computer to carry out some tasks © 2016 M. Bouguerra Javascript
Outline Objectives Introduction overview Constructs Functions Syntax Linking Javascript Operators Javascript Syntax . Javascript is a C-style programming language / Each statement must end with semi-colon ( ; ) / block statement is enclosed by braces { } © 2016 M. Bouguerra Javascript
Outline Objectives Introduction overview Constructs Functions Syntax Linking Javascript Operators Javascript Comments . Two type of Javascript comment s: Single-line comments 1 // This is a single line comment ` Multiline comments 1 / * This is a multiline comment 2 second line 3 third line 4 * / © 2016 M. Bouguerra Javascript
Outline Objectives Introduction overview Constructs Functions Syntax Linking Javascript Operators Expressions . An expression is anything that evaluates to a value . Simple expression consists of a single item . Complex expression s are constructed from simple expressions using operator s . Statement s are constructed from expression s . Statement s are the building blocks of Javascript program © 2016 M. Bouguerra Javascript
Outline Objectives Introduction overview Constructs Functions Syntax Linking Javascript Operators Javascript Keywords abstract case

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture