Chapter 6 Repeating Actions

In this chapter you’ll discover JavaScript constructions that allow your programs to repeat behaviours.

You can find the book website and all the code samples here.

You can find the screencast for Code Analysis 1: Fixing Faults here.

You can find the screencast for Code Analysis 2: Data Attributes here.

You can find the screencast for Make Something Happen 1: List Elements here.

You can find the screencast for Code Analysis 3: The For Loop here.

You can find the screencast for Code Analysis 4: Building HTML from JavaScript here.

Chapter 5 Making Decisions in Programs

In this chapter you’ll learn how to create an application that can make decisions as it runs, changing what it does in response to the values of the data that it has received.

You can find a draft of the book and all the code samples here.

You can find the screencast for Code Analysis 1: Boolean Values here.

You can find the screencast for Code Analysis 2: Logical Operators here.

Chapter 4 Part 2 Our First Application

In part 2 of Chapter 4 you’ll make your first application that might be considered useful. You’ll also build on your understanding of variables and learn how JavaScript programs can store text data as well as numbers.

You can find a draft of the book and all the code samples here.

You can find the screencast for Make Something Happen 3: Converting strings into numbers here.

Chapter 4 Part 1 Working with Data

In part 1 of chapter 4 you’ll discover the fundamentals of data processing, which is what computers actually do. You find out how variables can hold data values and how programs can use expressions to manipulate these values.

You can find a draft of the book and all the code samples here.

You can find the screencast for Code Analysis 1: Evaluate Expressions here.

You can find the screencast for Make Something Happen 1: Working with Variables here.

You can find the screencast for Make Something Happen 2: Random Numbers here.

Chapter 3 Cascading StyleSheets

This chapter is where we put on the style, quite literally, when we find out how to add and manage styling information in web sites. We’ll discover how to use colours and fonts to liven up our text and how we can use classes (not the programming kind) to deploy styles on a document.

You can find a draft of the book and all the sample programs here.

You can find the screencast for Make Something Happen 1: Colour Highlighting on Mouse Rollover here.

You can find the screencast for Make Something Happen 2: Get the Time for Display here.



Chapter 2 Part 2 Making active web pages

In this chapter you’ll discover how JavaScript code interacts with the elements on a web page. And finish off by using the ultimate sound effect to make a really amazing egg timer.

You can find a draft copy of the book and all the example programs here.

You can find the screencast for Make Something Happen 1: Work with object properties here.

You can find the screencast for Make Something Happen 2: Egg timer here.

Chapter 2 Part 1 HyperText Markup Language

This is the first part of chapter 2. In this part I’m going to explain how HyperText Markup Language (HTML) is used to create web pages. This is important because the JavaScript programs that we are going to write will live inside these pages. You’ll learn how to make web pages and format their contents.

You can find a complete copy of the book so far, and all the example programs here.


Chapter 1 Running JavaScript

In this chapter you’ll have a chat with the JavaScript console, download the software tools you’re going to use and then fetch all the example programs onto your computer.

You can find the text of the chapter here.

You can find find the first screencast, where we Make Something Happen with the JavaScript console here.

You can find the second screencast where we install Git and Visual Studio code here.

You can find the third screencast (to be watched after screencast 2) where we download the sample programs here.

You can find all the sample code for this chapter here.

Begin to Code with JavaScript Introduction

This is something new to me, and probably to you. I’m going to read out chapters from my new book as I write them. These are going to be pre-editing, so I can’t claim that the printed text will have exactly the same content, but you might find them useful. There are also videos keyed with the text, along with sample code. You can find the video content here:

www.begintocodewithjavascript.com/media/

You can find the sample code for the book here:

www.begintocodewithjavascript.com/

You can find the text for the introduction here.

If you have any comments about the content you can send them to podcast@begintocodewithjavascript.com