JavaScript: Language Basics


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To teach the basics of the JavaScript language

Target Audience
Web developers

Prerequisites
Knowledge of HTML and general Internet development; previous programming experience would be an advantage

Expected Duration (hours)
5.0

Lesson Objectives

JavaScript: Language Basics

  • list the benefits of JavaScript over HTML, distinguish between Java and JavaScript, and state the evolution of JavaScript.
  • identify JavaScript objects and features and their functions, recognize how cookies store and retrieve user information, and define actions that trigger events that are handled by JavaScript.
  • identify the elements of a JavaScript program, define the write and writeIn methods, and describe how to incorporate a simple JavaScript program into an HTML.
  • incorporate a simple JavaScript program into an HTML file that uses the write method to display a message on a web page.
  • define the JavaScript datatypes and the functions used to manipulate them, describe how to initialize and assign values for variables, identify valid variable names, and distinguish between local and global scope for a variable.
  • list the basic components of JavaScript statements and define the different types of operators.
  • describe how to create user-defined functions, define the four types of arithmetic operations, and state how to use them in JavaScript programs.
  • write a simple JavaScript arithmetic function and the routine to call it.
  • identify the types of constructs used to create an object, recognize how to create a computer object, and identify how to create a new instance of the computer object.
  • identify the predefined JavaScript functions.
  • define the JavaScript core objects, recognize how to create a function object, and identify how to write different JavaScript functions using core objects.
  • write a function that will copy elements of the date object into user-defined variables.
  • describe the purpose of regular expressions, define the function of special characters and optional flags, and identify how to create a function that validates an e-mail address.
  • identify pattern-matching and search-and-replace operation methods of the string object, define the exec and test methods supported by the RegExp object, and describe how to validate user input against regular expression patterns.
  • identify the purpose of arrays and define the different methods of the array object.
  • use regular expressions to perform pattern-matching operations.
  • Course Number:
    115406_eng