Intro to the Course and to JavaScript

CS133JS Beginning Programming: JavaScript

Topics by Week 
1. Intro to JavaScript programming6. Arrays
2. Functions, Variable scope, Operators and Expressions7. Objects and Object Constructors
3. Conditional Statements: if and switch8. Web Page I/O
4. Repetition: while, do while, and for9. Review
5. Midterm10. Final

 

Table of Contents

Introduction

About Your Instructor

Course Prerequisites

You need to know a little bit of HTML which is taught in CIS 195, Web Authoring, and which can be taken at the same time as this course. These are the specific parts of HTML you will need to know:

A good way to review these topics or to get a head-start on them if you are currently taking CIS 195 is by doing the tutorials at W3Schools.

Static pages vs. dynamic (interactive) pages

Examples

Exercise

Server-side vs. client side code

Examples

Revisit these and discuss what might run on the server and what might run in the browser.

Exercise

LCC web site – which parts could run on the server? Which parts in the browser?

 

Intro to JavaScript

  1. Finally, we'll add a way for a user to enter information. We do that by adding code that prompts the user for input.

Now it's almost useful :-)

Let's talk about how this works by looking at some key pieces of the code:

Course Tour

Reference

JavaScript Reserved WordsW3Schools

The reserved words are the "vocabulary" of JavaScript.

 


Creative Commons License Beginning JavaScript Lecture Notes by Brian Bird, written in 2018, revised in , are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.