It's Easy to Enrol

Select a Learning Method

 

£325.00 Payment plans available.

Enable Javascript to automatically update prices.

Courses can be started at any time from anywhere in the world!

Javascript

Course CodeBIT202
Fee CodeS1
Duration (approx)100 hours
QualificationStatement of Attainment
JAVASCRIPT - DHTML

Gain A Key Skill for anyone who Programs Web Sites
 
Javascript is a key programming skill for anyone involved with websites.   Gain this skill in this unique home study course. JavaScript is a powerful scripting language which can be used to read and modify HTML elements, validate data, and it can also react to events such as a mouse click or a key press on the keyboard, etc.  Learn:
  • programming essentials
  • the javascript language
  • DOM and event handling
  • create dynamic html and navigation
  • write web apps & more!
This course compliments our HTML course and forms part of the Certificates in Web Development. 

Lesson Structure

There are 10 lessons in this course:

  1. Introduction
    • Enabling Javascript (IE, Opera, Safari, Chrome, Firefox)
    • Javascript in Web Applications
  2. JavaScript Essentials I
    • Operators
    • Strings
    • Arrays
  3. JavaScript Essentials 2
    • Conditional Statements
  4. Functions
    • What is a Function
    • Defining Functions
    • Function Parameters & Return
    • Javascript Build In Functions
  5. Events and Event handling
    • What is an Event
    • Event Handling
    • Document Object Model
  6. Advanced JavaScript
    • Cookies
    • Browser Detection
    • Creating Objects
    • Objects in Javascript
  7. Dynamic HTML
    • Difference between Static & Dynamic
    • DTHML Javascript
    • DHTML XHTML
    • DHTML CSS
  8. Emails, Forms and Form Validation
    • What is Form Validation
    • Validating Text Fields
    • Validating other Imputs
  9. Pop Ups and Navigation Menus
    • Alert Box
    • Prompt Box
    • Confirm Box
    • Menus
    • Pure CSS Menus
  10. JavaScript Applications
    • HTML, CSS & Javascript
    • Code Validation
    • Improve your Web Development

Each lesson culminates in an assignment which is submitted to the school, marked by the school's tutors and returned to you with any relevant suggestions, comments, and if necessary, extra reading.

Aims

  • Understand what JavaScript is, identify different locations for JavaScript and be able to enable JavaScript in different browsers.
  • Develop knowledge of the basic programming constructs in JavaScript and their application.
  • Further develop knowledge of JavaScript programming constructs in JavaScript and their application.
  • Describe DOM, and Events and event handling and identify their application in JavaScript.
  • Describe the different events, and explain how these can be handled with event handling in JavaScript.
  • Understand conditional statements and explain in which situations they are used.
  • Understand for loops and while loops and explain how these can be used in Javascript to improve efficiency of a program and reduce code length.
  • Review key concepts of this course and write simple web applications using HTML, CSS and JavaScript.

Learn to Understand Function

A function is a piece of code that permits the programmer to perform the same set of commands for as many times as they like without having to copy and paste the code each time. For example, assume you have 15 rectangles on your webpage, each with a different length and width, and you want to be able to calculate the area of each rectangle and display it on the screen. Instead of writing the code that calculates and displays the rectangle area 15 times, this code can be placed in a function and remain dormant until that function is referenced or called upon.

Storing code in a function can also prove to be time efficient, because the developer will be saving time for repetitive tasks by avoiding writing the same code many times in their program. This is known as “code reusability”
 
The code inside the functions can be executed in two ways; either by calling the function’s name inside the program, or when an event occurs.

JavaScript code can be placed inside an external .js file, and this file should be referenced in each of the HTML pages created. Functions can be created inside the .js file, and therefore can be called by any web page that references the external JavaScript file. This means that the function should only be declared once inside that file, and then called from any other HTML file in the website which allows for code reusability. However, it is also possible to define functions inside the <head> and <body> tags of a document.

To define a function, you need to assign a name for it, a set of parameters, and a return type. (Note that some functions might take zero parameters.)
 
A function is a piece of code that permits the programmer to perform the same set of commands for as many times as they like without having to copy and paste the code each time. Functions have been used in all programming languages as a great time saver for performing repetitive tasks. For example, assume you have 15 rectangles on your webpage, each with a different length and width, and you want to be able to calculate the area of each rectangle and display it on the screen. Instead of writing the code that calculates and displays the rectangle area 15 times, this code can be placed in a function and remain dormant until that function is referenced or called upon. Note:There are plenty of pre-defined functions made available as part of the JavaScript language, you will need to know how to call those functions, and how to use them. You won’t be able to modify their code in most of the cases, they are here for you to use as needed. And once you become more familiar with functions. You can start creating your own functions! Storing code in a function can also prove to be time efficient, because the developer will be saving time for repetitive tasks by avoiding writing the same code many times in their program. This is known as “code reusability”.
 
The code inside the functions can be executed in two ways: either
  1. when the function’s name is called inside the program, or
  2. when an event occurs.
JavaScript code can be placed inside an external .js file, and this file should be referenced in each of the HTML pages created. Functions can be created inside the .js file, and therefore can be called by any web page that references the external JavaScript file. This means that the function should only be declared once inside that file, and then called from any other HTML file in the website. This process will allow for code reusability. However, it is also possible to define functions inside the <head> and <body> tags of a document.
 
To define a function, you need to assign it a name, a set of parameters and a return type. (Note that some functions might take zero parameters.)
 
In simple words:

a function consists of a block of JavaScript code which has a unique name, performs specific tasks and often returns a value.

 
Whenever the name is used in the web application, the corresponding function will be called which means that the function’s JavaScript code will be executed. There are two main purposes for a JavaScript function.
The function can be used to perform the same operation for a set number of times without having to copy the same code.
 
A JavaScript function can also link actions on the web page with the JavaScript code, such as text selections, button presses, mouse clicks, and others. This means that user actions can be used to call specific JavaScript functions, which allows the web page to interact with the user and thus be more user-friendly.

 

 



Meet some of our academics

Dr. Sherif SakrResearch Scientist and University Lecturer in Computer Science and Engineering. Sherif has a PhD in Computer Science, MSc, BSc.
Josiane JoubranCSC consultant with IBM, Software QA Engineer, Course Writer and Tutor. Josiane is an I.T professional with extensive experience with computer hardware and engineering in Lebanon and Australia. Josiane has a B.Eng., Grad.Dip.I.T., Master Info.Tech., MCP, MCSE.
Rachel SyersRachel has worked as a newspaper journalist for the past 15 years in a range of roles from sub-editor and social columnist to news reporter, covering rounds such as education, health, council, music, television, court, police, Aboriginal and Islander affairs, and agriculture. Her current role is Fashion Editor, features writer and features sub-editor with The Gold Coast Bulletin. She has co-authored a successful biography "Roma: From Prison to Paradise" about former prisoner-of-war turned yoga guru, Roma Blair, as well as freelanced as a writer, reviewer and researcher for Australian music and celebrity magazines such as WHO Weekly, Rave, Australasian Post and New Idea. Rachel has a B.Journalism.


Check out our eBooks

Business OperationsExplore how to improve the management and profitability of an existing business. Businesses do not run themselves - goals need to be set and decisions need to be made in order to achieve business goals. This book talks you through all of the different aspects involved in running a business from finance and forecasting to staffing changes and legal issues. Six chapters cover the daily challenges of running a business, people, the law, finance, product management, and risk management. 73 pages
Photographic TechniquesExplore how to take better photos. This is a book packed full of practical tips, from the authors own experience, coupled with a solid introduction to well established and widely practiced photographic techniques. This is a well illustrated, excellent reference for students of photography; and an equally useful source of inspiration to the amateur photographer.
Professional Practice for ConsultantsExplore becoming a consultant. This ebook contains chapters on how to be a consultant, packaging your services, delivering the services, building your resources, finding the work and getting the job, planning and ethics.
ManagementManagement is the process of planning, organising, leading, and controlling an organisation’s human and other resources to achieve business goals. More importantly though, effective management needs to be a process of human interaction and compassion. Most bad managers don’t know they are bad. They may well admit that they are a bit erratic, or they are sometimes late to appointments, but it is rare that they will recognise that they are ineffective as managers. Never fear...read here. This book has something to offer even the best of managers.