Agenda. My Introduction. CIS 154 Javascript Programming

Similar documents
JOHNSON COUNTY COMMUNITY COLLEGE COURSE SYLLABUS WEB CRN Web Scripting: JavaScript I

INFS 2150 (Section A) Fall 2018

BRIGHTSPACE (D2L) STUDENT GUIDE

Working with JavaScript

SADDLEBACK COLLEGE BUSINESS SCIENCE DIVISION

CS 3030 Scripting Languages Syllabus

SADDLEBACK COLLEGE BUSINESS SCIENCE DIVISION

CIS 3308 Web Application Programming Syllabus

If you click the links in this document or on the class website and get a logon screen:

COLLEGE OF DUPAGE CIS 2542 Advanced C++ with Data Structure Applications Course Syllabus

San José State University Computer Science Department CS49J, Section 3, Programming in Java, Fall 2015

CS 200, Section 1, Programming I, Fall 2017 College of Arts & Sciences Syllabus

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

CIS 101 Orientation Document Fall 2017

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS. INTRODUCTION TO INTERNET SOFTWARE DEVELOPMENT CSIT 2230 (formerly CSIT 2645)

CSCI 6312 Advanced Internet Programming

CIS 101 Introduction to Computers Online Section About This Course and Getting Started Online Instructor Brad Ford

I. PREREQUISITE For information regarding prerequisites for this course, please refer to the Academic Course Catalog.

Syllabus COSC-051-x - Computer Science I Fall Office Hours: Daily hours will be entered on Course calendar (or by appointment)

Ursuline College Accelerated Program

I. PREREQUISITE For information regarding prerequisites for this course, please refer to the Academic Course Catalog.

CS 235AM, Mobile Application Development: Android Spring 2016

Course Syllabus - CNT 4703 Design and Implementation of Computer Communication Networks Fall 2011

Website Development Komodo Editor and HTML Intro

Ministry of Higher Education and Scientific Research

MPT Web Design. Week 1: Introduction to HTML and Web Design

BEMIDJI STATE UNIVERSITY COLLEGE OF BUSINESS, TECHNOLOGY AND COMMUNICATION Course syllabus Fall 2012

Advanced Web 2. Course Information. Instructor Information. Course Objectives

ESSEX COUNTY COLLEGE Business Division CIS 152 Internet Concepts Course Outline

CASPER COLLEGE COURSE SYLLABUS MSFT 1600 Managing Microsoft Exchange Server 2003 Semester/Year: Fall 2007

Exercise 1: Basic HTML and JavaScript

CS 3030 Scripting Languages Syllabus

I. PREREQUISITE For information regarding prerequisites for this course, please refer to the Academic Course Catalog.

COSC 115A: Introduction to Web Authoring Fall 2014

ITT Technical Institute. TB143 Introduction to Personal Computers Onsite and Online Course SYLLABUS

COSC 115: Introduction to Web Authoring Fall 2013

NOTE: This syllabus is subject to change during the semester. Please check this syllabus on a regular basis for any updates.

HARFORD COMMUNITY COLLEGE 401 Thomas Run Road Bel Air, MD Course Outline Routing and Switching Essentials [CISCO 2] ISS 112

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS WEB DESIGN FOR MOBILE DEVICES WEB Laboratory Hours: 0.0 Date Revised: Fall 2011

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Santa Monica College. GRAPHIC DESIGN 65: Web Design I Course Syllabus

I. PREREQUISITE For information regarding prerequisites for this course, please refer to the Academic Course Catalog.

Canvas by Instructure User Guide

Kingdom of Saudi Arabia Ministry of Higher Education College of Computer & Information Sciences Majmaah University. Course Profile

Advanced Web Topics II MMC 6278 (4 credit hours) Fall 2014

PELLISSIPPI STATE TECHNICAL COMMUNITY COLLEGE MASTER SYLLABUS CIW JAVASCRIPT FUNDAMENTALS CERTIFICATION WEB 2391

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS WEB DESIGN I: INTRODUCTION TO WEB TECHNOLOGY WEB 1600

Student User Guide for StatsPortal Essential Statistics, Second Edition

Network Security

Nashville State Community College Computer and Engineering Technologies Division Computer Information Systems. Master Course Syllabus

COMS 469: Interactive Media II

Exercise 1 Using Boolean variables, incorporating JavaScript code into your HTML webpage and using the document object

COURSE SYLLABUS FOR. COMP-297 Web Page Design: Adobe Dreamweaver

I. PREREQUISITE For information regarding prerequisites for this course, please refer to the Academic Course Catalog.

1. Textbook #1: Our Digital World (ODW). 2. Textbook #2: Guidelines for Office 2013 (GFO). 3. SNAP: Assessment Software

CIS : Introduction to Web Development Course Syllabus The College at Brockport State University of New York Fall 2014

Instructor: Anna Miller

Canvas by Instructure Student User Guide

CSE 336. Introduction to Programming. for Electronic Commerce. Why You Need CSE336

COURSE NUMBER: ISS 214 COURSE NAME: Connecting Networks - Cisco 4 SEMESTER CREDIT HOURS: 4.

Students will make use of Adobe Dreamweaver as their primary HTML editor; however, the focus of the

Chapter 3 - Simple JavaScript - Programming Basics. Lesson 1 - JavaScript: What is it and what does it look like?

In this course, you need to use Pearson etext. Go to "Pearson etext and Video Notes".

Web Development: Client Side

X

Spring CISM 3330 Section 01D (crn: # 10300) Monday & Wednesday Classroom Miller 2329 Syllabus revision: #

Blackboard 5 Level One Student Manual

Please Turn Your Mobile Phone Silent. August 29, 2017 CSc 242 1

CSC Web Programming. Introduction to JavaScript

COURSE SYLLABUS FOR. COMP-297 Web Page Design: Adobe Dreamweaver

CIS 131/050 Web Page Development Syllabus Fall 2018 (September 04 December 04)

Computer Science Department

Object-Oriented Programming for Managers

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS ADVANCED DATABASE MANAGEMENT SYSTEMS CSIT 2550

TEACHING PLAN. Credit: hours lab per week (1 credit hour) Semester: Semester 5 (Spring 2015) Computer Programming - CSC-113

BEMIDJI STATE UNIVERSITY COLLEGE OF BUSINESS, TECHNOLOGY AND COMMUNICATION Course syllabus Fall 2011

I. PREREQUISITE For information regarding prerequisites for this course, please refer to the Academic Course Catalog.

Programming 1. Outline (111) Lecture 0. Important Information. Lecture Protocol. Subject Overview. General Overview.

A.A. 2008/09. Why introduce JavaScript. G. Cecchetti Internet Software Technologies

CSC 172 Data Structures and Algorithms. Fall 2017 TuTh 3:25 pm 4:40 pm Aug 30- Dec 22 Hoyt Auditorium

NOTE: This syllabus is subject to change during the semester. Please check this syllabus on a regular basis for any updates.

Dr. Angela Guercio Dr. Natalia Dragan. Spring 2011

Syllabus. Ross H. Capaccio, Instructor Oakton Community College. Spring 2017

San José State University Department of Computer Science CS-174, Server-side Web Programming, Section 2, Spring 2018

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS 3D MODELING & ANIMATION CGT 2160

San José State University Computer Science CS 122 Advanced Python Programming Spring 2018

ECE573 Introduction to Compilers & Translators

Student Guide to Using Moodle. Louisiana Tech University

INTRODUCTION TO JAVASCRIPT

Full file at New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13. HTML and CSS

GRAPHIC WEB DESIGNER PROGRAM

In this course, you need to use Pearson etext. Go to "Pearson etext and Video Notes".

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

CSC 261/461 Database Systems. Fall 2017 MW 12:30 pm 1:45 pm CSB 601

IT-1150: INTRODUCTION TO WEB PROGRAMMING

CS 3230 Object Oriented UI Development With Java Syllabus

Chapter 2 Working with Data Types and Operators

CIS 408 Internet Computing (3-0-3)

Oklahoma State University Institute of Technology Face-to-Face Common Syllabus Fall 2017

Transcription:

CIS 154 Javascript Programming Brad Rippe brippe@fullcoll.edu Agenda Brief Javascript Introduction Course Requirements Brief HTML review On to JavaScript Assignment 1 Due Next week Helpful Tools Questions/Comments My Introduction Brad Rippe Email: brippe@fullcoll.edu (USE CIS 154 as the subject when emailing) Phone: 992-7516 Work in Academic Computing Technologies on Campus Office is in T7B office hours can be arranged during 9:30 5:00 pm M-F 9 week course (fast pace) 1

Introduction to the Course What the course about? Creating dynamic web pages using Javascript. Static Web Pages Dynamic Web Pages Why? Prerequisites Syllabus The course is based on 6 assignments, 5 quizzes, and a comprehensive final. Web projects can receive partial credit. There will be no makeup test given. Syllabus (continued ) Course Grading: 6 assignments 50 pts each 300 Total points from assignments 5 Quizzes - 10 pts each 50 Total points from Quizzes Final Exam 150 points Grand Total 500 pts Grading Scale: 450 500 A 400 449 B 350 399 C 300 349 D Below 300 F 2

Syllabus (continued ) Dropping the course Students are responsible for dropping the this course. Wait Time for Late Instructor Due to unforeseen emergencies, the instructor does not arrive at the scheduled start time for class, students are to remain in class for 15 minutes (unless otherwise notified by the Division). Academic Honestly (See college catalog) Tentative Schedule 10/27 Reading: Tutorial 1 - Intro to Javascript Lecture 1 Assignment 1 - Due 11/3 11/3 Reading: Tutorial 2 Variables, Functions, Objects, and Events Lecture 2 Quiz 1 Assignment 2 - Due 11/10 11/10 Reading: Tutorial 3 - Data Types and Operations Lecture 3 Quiz 2 Assignment 3 - Due 11/17 11/17 Reading: Tutorial 4 - Control Structures and Statements Lecture 4 Quiz 3 Assignment 4 - Due 12/1 (continued on syllabus) Textbook JavaScript Second Edition Course Technology Thomson Learning (Web Warrior Series)by Don Gosselin ISBN: 0-619-06334-3 3

Let s get on with it HyperText Markup Language HTML Tag based Loosely structured Presentation Javascript?? Where? How? Why? Simplest HTML Document <html> <!-- html comment doesn t appear in browser --> <head> <title>simple HTML Doc</html> </head> <body> <p>output for the browser<br> break the line.</p> </body> </html> Simplest HTML Document <html> -- all html documents start with a beginning html tag </html> -- all html documents end with a ending html tag <head></head> -- all html documents should have head tags with meta data such as title, author, etc <body></body> -- all html documents must have body tags. THIS IS WHAT IS DISPLAYED IN THE BROWSER. The body can contain any number of html tags that describe how the contents of the file will appear to the client. <p><br><span></span><div></div><font> etc 4

More HTML HTML is not case-sensitive HTML is not strict HTML is text and can be edited in NotePad or WordPad. HTML is used for static content JavaScript Similar to other programming languages by its syntax. Not as full featured as C, C++, or Java Client side interpretation from the browser Originally called LiveScript Standardized by ECMA (European Computer Manufacturers Association) Current version 1.5 Introduction of Exceptions Javascript can be written with the same editor you use for writing HTML files. Where do I fit in?? <html> <head><title>javascript</title> <script language= Javascript1.5 > <!-- Html Comment // Javascript comment alert( Hi Javascript Class ); // --> </head> <body></body> </html> 5

Where do I fit in? Javascript is usually located at the top of the html file in the head tags. Although, it can be found anywhere as long as the code is between script tags: <script language= Javascript1.5 > alert( some text ); External Javascript files.js files Organization Easy to include in multiple files Easy to include across sites <head> <script language= Javascript1.5 src= example2.js > <! NO CODE IN THE HTML FILE --> </head> Javascript Basics loosely typed var hellostring = Hello String ; Flexible var hellostring = Hello String predefined features alert(); User defined functions // later remember javascript comments 6

Javascript Execution <script language= javascript1.5 > document.writeln( Hello Javascript ); document.writeln( I m here to say hello ); document.writeln( I m the last line written ); writeln is a function or method given to us by Javascript document is an object given to us by Javascript. Note: document and Document are NOT the same. Javascript - Statement Statements the basic building block of a program. A single instruction to the interpreter (javascript engine). document.writeln( Statement 1 ); alert( Hi ); Javascript Syntax Similar to C/C++, and Java Although not necessary, in this class we will end each statement with a ; Open brackets will be placed on the same line as there structure that declares them. Any statements inside { } will be indented 4 spaces or 1 tab. Comment any code if you need further explanation 7

Javascript Poor Format <script language= javascript1.5 > function somefunction(a) {// This is just sample code if(a) {document.write( In if ); } } // end somefunction Revised Format <script language= javascript1.5 > function somefunction(a) { // This is just sample code if(a) { document.write( In if ); } } // end somefunction Why format your code? Easier to read Easier to maintain Easier to for others to read Easier to determine if an errors have been made syntactically 8

No Script Tag Html supports a <noscript> tag. <script language= javascript1.5 > // some code here <noscript> Your browser does not support javascript. Please update your browser to a newer version. </noscript> Assignment 1 Activate your lab account Be sure you can log into a lab computer. Log into the web site, http://www.fullcoll.edu, and request web space. Make sure you can upload files Assignments - Requirements ALL ASSIGNMENT MUST HAVE THE FOLLOWING INFORMATION IN AN HTML OR JAVASCRIPT COMMENT Name: Student ID: Assignment Name: Assignment 1, etc. Course Name: CIS 154 URL: (i.e. http://staffwww.fullcoll.edu/brippe/cis154/assignment1.htm) ALL HTML FILES AND JAVASCRIPT,.js files, MUST BE ACCESSIBLE FROM THE WEB, i.e., uploaded to your web space to receive credit. 9

Assignment 1 Create an html file with the appropriate javascript code to: display the string My First Javascript in an alert dialog box. display the string Javascript is cool! This will be one htm file. Print out the code and turn it in next class session. Don t forget to upload your files to your web space. YOU WILL NOT RECEIVE CREDIT IF THE FILE IS NOT ON THE WEB. Next Week Read Tutorial 1 Turn in a hard copy of your assignment 1 Upload your assignment into your web space Quiz 1 Lecture 2 Variables, functions, and events Helpful Resources Mozilla Web Browser http://texturizer.net/firefox/ The Definitive Javascript Resource - http://www.javascript.com/ The Javascript Source - http://javascript.internet.com/ WebReference Javascript Articles - http://www.webreference.com/js/ Javascript Kit - http://www.javascriptkit.com/ Mozilla Javascript Reference - http://www.mozilla.org/js/ HTML Goodies - Javascript Primers - http://www.htmlgoodies.com/primers/jsp/ 10

Questions Comments 11