← Teaching

JavaScript Programming Y1, 10cr

Overview

This unit seeks to introduce Object-Oriented Programming concepts to non-specialists. Basic programming skills are developed by building basic web applications using JavaScript.

Aims

  1. To introduce object-oriented programming concepts using a scripting language.
  2. To develop practical programming skills using a scripting language in the context of web application development.

Learning Outcomes

  1. Understand the object-oriented programming paradigm.
  2. Use JavaScript in the implementation of web pages.
  3. Implement web pages based on sound HCI principles, in particular interaction with the user.

Syllabus

  1. Introduction to HTML.
  2. Data types and variables — numeric, strings, arrays, type conversion.
  3. Control flow constructs — selection and iteration.
  4. Functions.
  5. Object-based programming — JavaScript native objects, Browser objects.
  6. HTML forms.
  7. String manipulation.
  8. Using timers.
  9. Cookies.
  10. Dynamic HTML.