Computer Science and Software Engineering© 2014 Project Lead The Way, Inc. HTML5 Evolving Standards JavaScript.

Slides:



Advertisements
Similar presentations
MWD1001 Website Production Using JavaScript with Forms.
Advertisements

HTML 5 and CSS 3, Illustrated Complete Unit L: Programming Web Pages with JavaScript.
Lesson 12- Unit L Programming Web Pages with JavaScript.
The Web Warrior Guide to Web Design Technologies
CIS101 Introduction to Computing Week 11. Agenda Your questions Copy and Paste Assignment Practice Test JavaScript: Functions and Selection Lesson 06,
Computer Science 103 Chapter 4 Advanced JavaScript.
JavaScript 101 Lesson 5: Introduction to Events. Lesson Topics Event driven programming Events and event handlers The onClick event handler for hyperlinks.
CS 299 – Web Programming and Design Overview of JavaScript and DOM Instructor: Dr. Fang (Daisy) Tang.
CIS101 Introduction to Computing Week 12 Spring 2004.
PHP Server-side Programming. PHP  PHP stands for PHP: Hypertext Preprocessor  PHP is interpreted  PHP code is embedded into HTML code  interpreter.
2012 •••••••••••••••••••••••••••••••••• Summer WorkShop Mostafa Badr
Introduction to JavaScript for Python Programmers
JavaScript, Fifth Edition Chapter 1 Introduction to JavaScript.
JavaScript Defined DOM (Document Object Model) General Syntax Body vs. Head Variables Math & Logic Selection Functions & Events Loops Animation Getting.
Bridges To Computing General Information: This document was created for use in the "Bridges to Computing" project of Brooklyn College. You are invited.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
CISC474 - JavaScript 03/02/2011. Some Background… Great JavaScript Guides: –
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
Client Side Programming with JavaScript Why use client side programming? Web sides built on CGI programs can rapidly become overly complicated to maintain,
TUTORIAL 10: PROGRAMMING WITH JAVASCRIPT Session 2: What is JavaScript?
Introduction to JavaScript Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 1.
JavaScript Syntax, how to use it in a HTML document
ECA 225 Applied Interactive Programming1 ECA 225 Applied Online Programming basics.
Chapter 2: Variables, Functions, Objects, and Events JavaScript - Introductory.
XP Tutorial 8 Adding Interactivity with ActionScript.
JavaScript, Fourth Edition
Event-Driven Programming Chapter Page Section: Section or division of an HTML page Generic block element Example: What's the difference between.
1 Final Review. 2 Final Exam  30% of your grade for the course  December 9 at 7:00 p.m., the regular class time  No makeup exam or alternate times.
HTML 5 The Future of Web Development. What is HTML5? “HTML5 is a specification of how the web’s core language, HTML, should be formatted and utilized.
JavaScript Defined DOM (Document Object Model) General Syntax Body vs. Head Variables Math & Logic Selection Functions & Events Loops Animation Getting.
1) PHP – Personal Home Page Scripting Language 2) JavaScript.
Introduction to JavaScript CSc 2320 Fall 2014 Disclaimer: All words, pictures are adopted from “Simple JavaScript”by Kevin Yank and Cameron Adams and also.
JavaScript Introduction and Background. 2 Web languages Three formal languages HTML JavaScript CSS Three different tasks Document description Client-side.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
Javascript Basic Concepts Presentation By: Er. Sunny Chanday Lecturer CSE/IT RBIENT.
JavaScript and Ajax (JavaScript Environment) Week 6 Web site:
1 Agenda  Unit 7: Introduction to Programming Using JavaScript T. Jumana Abu Shmais – AOU - Riyadh.
CSCI 3100 Tutorial 5 JavaScript & Ajax Jichuan Zeng Department of Computer Science and Engineering The Chinese University of Hong.
Client-side (JavaScript) Validation. Associating a function with a click event – Part 1 Use the input tag’s onclick attribute to associate a function.
Introduction to JavaScript MIS 3502, Fall 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 9/29/2016.
JavaScript, Sixth Edition
Programming Web Pages with JavaScript
Week 3: Introduction to Javascript
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Unit M Programming Web Pages with
Week 4: Introduction to Javascript
JavaScript is a programming language designed for Web pages.
Unit M Programming Web Pages with
Barb Ericson Georgia Institute of Technology May 2006
Retrieving information from forms
Introduction to JavaScript
DHTML Javascript Internet Technology.
A second look at JavaScript
Event Driven Programming & User Defined Functions
Introduction to JavaScript for Python Programmers
DHTML Javascript Internet Technology.
JavaScript What is JavaScript? What can JavaScript do?
Secure Web Programming
JavaScript What is JavaScript? What can JavaScript do?
For this assignment, copy and past the XHTML to a notepad file with the .html extension. Then add the code I ask for to complete the problems.
Introduction to JavaScript
Tutorial 10: Programming with javascript
JavaScript Basics What is JavaScript?
CIS 136 Building Mobile Apps
Web Programming and Design
Week 5: Recap and Portfolio Site
Web Programming and Design
Web Programming and Design
Lecture 9: JavaScript Syntax
Presentation transcript:

Computer Science and Software Engineering© 2014 Project Lead The Way, Inc. HTML5 Evolving Standards JavaScript

HTML5 Still being developed Being implemented as pieces are adopted A suite of technologies: –HTML5 specification with and elements to replace Flash –Ties to CSS and JavaScript using Document Object Model (DOM) –JavaScript APIs for location- aware computing

Evolving Standards Example: Geolocation

Evolving Standards Example: Geolocation

Evolving Standards Example: Geolocation

Evolving Standards Example: Geolocation

JavaScript – Why Use It? Responds to user events Can customize the page using local information Makes webpage interactive Examples: –Videos with player controls –Drawing canvas for art that responds to text box entry –Maps that work from “current location”

JavaScript – How to Include It Can be in the HTML element: Your JavaScript goes here Can be in a separate file, linked from HTML

JavaScript – Syntax Variables must be declared when first used var clickCounter; Statements end in semicolon (optional but recommended) Whitespace is usually ignored. One statement can use multiple lines of code. Blocks are created by { } instead of indentation And so on... This course does not teach you JavaScript!

JavaScript – Conditionals Boolean expression in parentheses. “if” block and “else” block are either a single statement or a block using { } No semicolon after the Boolean conditional if ( txt != "") { msg = "You typed "+ txt; msg = document.getElementById("input"); } else msg = "You must provide input";

Document Object Model DOM = Document Object Model A tree Allows you to refer to elements on the page