JavaScript Fundamentals
1: Adding JavaScript to a Web Page
Efficiently adding JavaScript code to a web page, and working with the JavaScript Console in your web browser’s Developer Tools.
View Tutorial
2: Objects, Properties, and Methods
Exploring the navigator (web browser) object, the window object, the location (web address) object, and the document (web page) object.
View Tutorial
3: Variable Types in JavaScript
Working with string, numeric and boolean variables, assigning values with the const and let keywords, and using the typeof opertor to investigate a variable’s type.
View Tutorial
4: Working with the DOM
Understanding the Document Object Model (DOM), and accessing elements in a web page that have or do not have a unique ID.
View Tutorial
5: Working with Strings
Working with string index positions and length, joining and slicing strings, querying strings, and replacing characters.
View Tutorial
6: Working with Numbers
Performing arithmetic, and using Math object methods for finding max and min values, and generating random numbers.
View TutorialFunctions in JavaScript
8: Function Declarations
Creating function declarations, passing values to them, and returning a value from a function back to the calling code.
View Tutorial9: Anonymous Functions
Creating a function expression whose value is stored in a variable. And working with a type of an function expression called an anonymous function.
View Tutorial10: Arrow Functions
Creating arrow functions, passing values to them, and writing short-hand single-statement arrow functions with implicit returns to the calling code.
View TutorialFunctions and Events
11: Event Handlers
Invoking functions using event handlers in the HTML file, or with anonymous or arrow functions in the JavaScript code.
View Tutorial12: Event Listeners
Invoking functions with event listeners, using external function declarations or internal anonymous or arrow functions.
View TutorialLoops and Arrays
15: Working with Loops
Creating a for loop with a counter variable, a starting value, a loop condition, and an increment or decrement operator.
View Tutorial16: Working with Arrays
Creating arrays in JavaScript, populating them with elements, and reading and updating array elements
View Tutorial17: Arrays and Loops
Using the JavsScript for and forEach loops for accessing and updating the elements of an array,
View TutorialData Tables
Creating and styling HTML tables, adding and deleting table rows with JavaScript, and populating a table from an array of objects.
View TutorialThe Fetch API
Using the Promise and Response objects of the Fetch API and get plain-text and JSON formatted data from remote web servers.
View Tutorial
Projects
Counter
An increment and decrement counter that changes the colour of the number displayed on the web page.
View ProjectColours
Uses an array of hexadecimal values to randomly generate a background colour for the web page.
View ProjectData Tables
Populates an HTML table with data stored in an array. Includes the option to remove data items.
View ProjectRandom Quote Generator
Uses the Fetch API to retrieve a randomly-choosen selection of ten inspiring quotations.
View ProjectMovies Listings
Uses the Fetch API to retrieve a searchable list of movie titles and images from the Internet Movie Database.
View Project
React
1: React Quick Start
Running React code using libraries imported from a CDN and viewing the output with the VSCode Live Server extension.
View Tutorial2: Working with Components
Understand React component syntax, create and render functional components, and compose them in parent-child relationships.
View Tutorial3: Working with JSX
Understand JSX syntax and how it extends JavaScript to simplify the creation of components in React.
View Tutorial4: React with NodeJS
Installing the Nodejs Version Manager (nvm) and installing NodeJS.
View Tutorial5: Create React App
Setting up a modern development environment for building React apps.
View Tutorial7: State and Hooks
How React handles dynamic data with the concepts of state and hooks.
View Tutorial8: Project: To do list
Creating a basic task list app that demonstrates the main features of React.
View Project9: Project: User registration form
Creating a basic task list app that demonstrates the main features of React.
View Project10: Project: AI Image Generator
A web app built with OpenAI and the DALL-E that generates images based on user-entered text.
View Project