Sign In | Subscribe

Enter your Sign on user name and password.

Forgot password?
  • Follow us on:
Start learning today, and be successful in your academic & professional career. Start Today!
Loading video...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of JavaScript
  • Discussion

  • Study Guides

  • Download Lecture Slides

  • Table of Contents

  • Related Services

Lecture Comments (8)

0 answers

Post by Maureen Dempsey on July 2, 2013

Oh I got the answer, you just write it with the space.

0 answers

Post by Maureen Dempsey on July 2, 2013

Hi could you answer my question? How would I code font family Accent SF? It's separated by a space. Thanks

0 answers

Post by Maureen Dempsey on April 1, 2013

hi if the font is 2 separate words how do you type it into the code?

0 answers

Post by Martin Philogene on April 4, 2012

For some reason the videos keep freezing up in the middle of the video, and then it restarts.

0 answers

Post by chris bagwell on December 14, 2011

how come the javascript is in the head tag and not in the body tag would that make a difference?

1 answer

Last reply by: Mahmoud Elkhalifa Taha
Mon Apr 8, 2013 7:22 AM

Post by Abdullah Alsaif on March 19, 2011

Do i have to be good at java to learn javascript?

Introduction to JavaScript

  • JavaScript is a scripting programming language used to enhance webpages and provide user interaction
  • JavaScript and the Java programming language are not the same, although they are both based on C syntax
  • JavaScript cannot run on its own and requires a host program such as a web browser in order to run
  • JavaScript and HTML work hand-in-hand to perform tasks and display text and graphics
  • A programmer can place comments after a double slash (“//”) within JavaScript code
  • There are three basic ways to view JavaScript:
  • As a webpage through a browser
  • As read-only source code through the browser
  • As editable code in text editor

Introduction to JavaScript

Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

  • Intro 0:00
  • What is JavaScript 0:07
    • Real Life Example 1
    • Real Life Example 2
    • Real Life Example 3
    • Text Editor
  • JavaScript vs. Java 4:54
    • Is JavaScript the Same as Java?
  • JavaScript Comment Syntax 5:51
    • Comment Syntax
  • Viewing a JavaScript File 6:45
    • Browser
    • Source Code
    • Text Editor
  • Example: Browser 8:28
  • Example: Simple JavaScript File 9:13
  • Example: JavaScript File 10:43
  • Example: Font & JavaScript 12:25
  • Example: Adding Text Color 13:37
  • Example: Adding a Break Tag 16:04
  • Example: Adding User Alert Message 17:48
  • Example: Adding Multi-Line User Alert Message 19:02
  • Example: Variable & JavaScript 20:40