Just enough to get going!

Slides:



Advertisements
Similar presentations
Molecular Biomedical Informatics Web Programming 1.
Advertisements

JavaScript Objects - DOM CST 200 JavaScript. Objectives Introduce JavaScript objects Introduce Document Object Model Introduce window object Introduce.
HTML 5 and CSS 3, Illustrated Complete Unit L: Programming Web Pages with JavaScript.
The Web Warrior Guide to Web Design Technologies
Computer Science 103 Chapter 3 Introduction to JavaScript.
(CS1301) Introduction to Computer Programming City Univ of HK / Dept of CS / Helena Wong 1. Overview of Programming and JavaScript - 1
4.1 JavaScript Introduction
CS346 - Javascript 1, 21 Module 1 Introduction to JavaScript CS346.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Javascript Languages By Rapee kamoltalapisek ID:
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
What is Java Script? An extension to HTML. An extension to HTML. Allows authors to incorporate some functionality in their web pages. (without using CGI.
Javascript. Outline Introduction Fundamental of JavaScript Javascript events management DOM and Dynamic HTML (DHTML)
TUTORIAL 10: PROGRAMMING WITH JAVASCRIPT Session 2: What is JavaScript?
Introduction.  The scripting language most often used for client-side web development.  Influenced by many programming languages, easier for nonprogrammers.
JavaScript Syntax, how to use it in a HTML document
JavaScript - Basic Concepts Prepared and Presented by Hienvinh Nguyen, Afshin Tiraie.
Sahar Mosleh California State University San MarcosPage 1 JavaScript Basic.
HTML JAVASCRIPT. CONTENTS Javascript Example NOSCRIPT Tag Advantages Summary Exercise.
JavaScript Introduction. Slide 2 Lecture Overview JavaScript background The purpose of JavaScript A first JavaScript example Introduction to getElementById.
4. Javascript M. Udin Harun Al Rasyid, S.Kom, Ph.D Lab Jaringan Komputer (C-307) Desain.
Introduction into JavaScript Java 1 JavaScript JavaScript programs run from within an HTML document The statements that make up a program in an HTML.
CIS 375—Web App Dev II JavaScript I. 2 Introduction to DTD JavaScript is a scripting language developed by ________. A scripting language is a lightweight.
Javascript Overview. What is Javascript? May be one of the most popular programming languages ever Runs in the browser, not on the server All modern browsers.
This is our seminar JavaScript And DOM This is our seminar JavaScript And DOM.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
JAVASCRIPT A quick review. True False ■The DOM is a standardized way of referring to parts of a Web page. ■TRUE ■In the DOM, attributes have their own.
Introduction to Web Site Development Department of Computer Science California State University, Los Angeles Lecture 9: JavaScript.
Java Script and the DOM DOM stands for: –The Document Object Model When a browser reads a web page, it converts it’s contents from HTML into a hierarchical.
Introduction to JavaScript MIS 3502, Fall 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 9/29/2016.
JavaScript Part 1 Introduction to scripting The ‘alert’ function.
Module 1 Introduction to JavaScript
Web Basics: HTML/CSS/JavaScript What are they?
Programming Web Pages with JavaScript
Unit M Programming Web Pages with
JavaScript Print slides by Sean Boyle, with overall content based on material provided by Dan Bogaard, from:
A little MORE on JavaScript
Intro to JavaScript CS 1150 Spring 2017.
Donna J. Kain, Clarkson University
Exploring JavaScript Ch 14
Javascript Short Introduction By Thanawat Varintree,
4. Javascript Pemrograman Web I Program Studi Teknik Informatika
Introduction to JavaScript
DHTML.
Introduction to JavaScript
JavaScript Introduction
JavaScript an introduction.
Web Systems Development (CSC-215)
CT Web Development, Colorado State University
DHTML Javascript Internet Technology.
A second look at JavaScript
JavaScript: How To? B. Ramamurthy.
Introduction to JavaScript
Introduction to JavaScript
Basic HTML and Embed Codes
DHTML Javascript Internet Technology.
The Web Wizard’s Guide To JavaScript
Document Object Model (DOM): Objects and Collections
Web Programming Language
An Introduction to JavaScript
Introduction to JavaScript
JavaScript CS 4640 Programming Languages for Web Applications
Tutorial 10: Programming with javascript
Introduction to Programming and JavaScript
The <script> Tag
JavaScript.
Introduction to JavaScript
Web Programming and Design
JavaScript CS 4640 Programming Languages for Web Applications
Introduction to scripting
Presentation transcript:

Just enough to get going! A little on JavaScript! Just enough to get going!

CONGRATS!!!!!!!!! Your ideas are BRILLIANT Your labs went great NOT EASY to get the files right when you are new to this! Debriefing… “video1”, good question for quiz! Jsfiddle of HelloPlanet -> 3 files! A3 helper, pdf and video

Next… two questions how do we help you with your teamwork? how do we make those apps REAL?!  Ok… remember… PROTOTYPE FIRST!

theory vs practice everybody is invested, participating, learning a lot of different skill sets are an asset SURVIVOR!  we need teams to be cohesive and productive it often comes down to one person though… we have to try to avoid that!

Deisgn phase You HAVE a wireframe You HAVE a set of webpages… One from each team member! Let’s bring it together! For the next lab EACH INDIVIDAL has an html/css mockup of all the pages, with the flow! A little javascript exercise for good measure!!! 

TOO FREAKING COOL! thecodeplayer.com (thank you Cameron) http://thecodeplayer.com/walkthrough/make-gauge-charts-using-canvas-and-javascript Let’s get a little crazy with this example… 

js Javascript is a programming language that was created in 1995 by engineers working on the Netscape browser also known as ECMAscript looks like Java, but the behaviour of the two languages differs greatly in significant ways

for us… initially regarded as a sort of "toy" language, it has grown into a core building block of web services begun to spread to applications outside web pages, for example in PDF documents we are going to keep it somewhat simple!

The <script> Tag to a web page using the <script> tag. set the type attribute to "text/javascript". can (DO!) link to external Javascript files by using the src attribute. useful when you want to re-use Javascript on multiple pages, or import code that other people have developed. can use script tags in both the head in the body

example <html> <head> <title>First Javascript Example</title> <script type="text/javascript"> document.write('Hello, world!'); </script> </head> <body> </body> </html>

statements Javascript consists of a sequence of statements, each ending in a semi-colon the only statement was "document.write('Hello, world!');” calls "document.write”, parentheses contain the list of arguments to the function, in this case 'Hello, world!'. browser executes statements in the order in which they are listed.

alert function! <html> <head> <title>Alerts Example</title> </head> <body> <script type="text/javascript"> alert('First alert.'); alert('Second alert.'); </script> </body> </html>

variables <html> <head> <title>Arithmetic Example</title> </head> <body id="the_body"> <script type="text/javascript"> var x = 5; var y = 7; var z = x + y; document.write(z); </script> </body> </html>

DOM Document Object Model (DOM for short) is a reference for all the objects used to represent a web page is exposed to Javascript by way of the "document" object If you check the DOM, you'll see that the document object contains a property named 'URL' which gives the URL of the page getElementById() method, returns the object which represents the element with the given id