Skip to content

Greycampus/javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

  1. Introduction to JavaScript
    • What is JavaScript
    • History
    • Features
    • Tools needed
    • Running of JavaScript
    • Commenting
    • Display Possibilities
  2. Variables
    • Rules for javascript variables
    • Local variables
    • Global variables
  3. DataTypes
    • Primitive data types
      • string
      • number
      • boolean
      • undefined
      • null
    • Non-primitive data types
      • object
      • array
      • regex
  4. Typecasting
    • typeof operator
    • Conerting to Boolean
    • Conerting to String
    • Conerting to Number
    • ParseInt
    • ParseFloat
  5. Operators
    • Arithmetic operators
    • Comparison operators
    • Assignment operators
    • Boolean operators
    • Bitwise operators
  6. Control Structures
    • Decision making
      • if statement
      • else statement
      • else if statement
      • Switch statement
    • Loop Types
      • for - loops through a block of code a number of times
      • for/in
      • while
      • do/while
  7. Arrays
    • Creating an array
    • Accessing the elements of the array
    • Accessing the complete array
  8. File handling
    • Create a file
    • Open a file
    • Get file information
    • Writing a file
    • Reading a file
    • Closing a file
    • Deleting a file
  9. Functions
    • Function declarations
    • Calling a function
    • Function parameters
    • call() method
    • apply() method
    • Nested functions
  10. Regular Expression
    • String methods
      • search() method
      • replace() method
    • Regular expression patterns
    • Regular expression Object
      • test() method
      • exec() method
  11. Form fields
    • Focus
    • Disabled fields
    • Text fields
    • Checkboxes and radio buttons
    • Select fields
    • File fields
  12. Object oriented
    • Object properties
    • Adding and deleting properties
    • Accessing object methods
    • object() constructor
    • with keyword
    • Superclass and subclass
  13. Document Object Model
    • Finding elements
    • Creating nodes
    • Layout
    • Styling
    • cascading style sheets
    • Query selectors
  14. Cookies
    • Creating a cookie
    • Deleting a cookie
    • Setting a cookie
    • Getting a cookie
    • Checking a cookie
  15. Exception handling
    • Try and catch
    • Throw errors
    • Finally statement
    • Error name values