Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Coding for Kids Ages 10 and Up: Coding for Kids and Beginners using html, css and JavaScript
Coding for Kids Ages 10 and Up: Coding for Kids and Beginners using html, css and JavaScript
Coding for Kids Ages 10 and Up: Coding for Kids and Beginners using html, css and JavaScript
Ebook217 pages48 minutes

Coding for Kids Ages 10 and Up: Coding for Kids and Beginners using html, css and JavaScript

Rating: 5 out of 5 stars

5/5

()

Read preview

About this ebook

Are you looking to start coding or teach kids how to code? Or are you looking to make coding more fun with some games?

This book on beginner html and JavaScript is the answer.

The last decade has been the year of the programmer. It seems like everyone wants to learn how to code. It seems like the best way to get a job. It seems fun. However, it is not that easy. Coding is a skill; and like any skill it takes time to learn. Like any skill, the younger you start; the better you get. The more you practice, the better you get.

From my personal experience with coding and also with teaching young kids how to code, let me tell you that coding is very gratifying. It is possible for anyone to learn if they apply themselves over time.

Creative thinking, teamwork, communication, logical thought and mental growth are the main benefits of learning to code.

However, programming can be hard to learn. Especially if you start reading advanced books. You need a step-by-step guide to get started. This book starts off with the very basics; how to install the software, set up and write your first lines of code. There are exercises at the end of each chapter that can test your new found knowledge and move you ahead.

My experience has also thought me that once someone learns the basics, they need a fun way to progress to the next level. For that reason, I have included several coding games in this book; including some fun animations at the end. These games are a great way to move forward after leaning the basics.

Even if you've never touched a computer in your life, you will find this book useful.

Scroll up and Click 'Add to Cart' Now

LanguageEnglish
Release dateOct 6, 2020
ISBN9781393732990

Read more from Bob Mather

Related to Coding for Kids Ages 10 and Up

Related ebooks

Programming For You

View More

Related articles

Reviews for Coding for Kids Ages 10 and Up

Rating: 5 out of 5 stars
5/5

1 rating1 review

What did you think?

Tap to rate

Review must be at least 10 words

  • Rating: 5 out of 5 stars
    5/5
    Perfect coding book for kids. I think every parent needs to buy this book for their kids.

Book preview

Coding for Kids Ages 10 and Up - Bob Mather

Coding for Kids Ages 10 and Up

Coding for Kids and Beginners using html, css and JavaScript

Table of Contents

Table of Contents

Disclaimer

Introduction

Soft Skills of Coding

Setting Up Your Workspace

What You Need

Download/Install Text Editing software

Start using NotePad++

Test Program

Result:

What is html?

Common html Tags

Example of html code

Copy Paste Version of html code

Code Output

Practice Problems

Sample html Program

What This Project Does

Concepts to Understand for this Chapter

Files

Code

Output

Code Explained

Practice Problems

html forms

Sample Form

Output:

Practice Problems

What is JavaScript?

Using JavaScript with html

JavaScript Elements

How to add Comments

Example 1

Output:

The Code Explained

Example 2

Output:

Code Explained:

Practice Problems

Introduction to CSS

What is CSS?

Create CSS file and link to html file

CSS Terms

CSS Button Elements

CSS Example

Code Explained

CSS And JavaScript

Practice Problems

Loops

IF LOOP EXAMPLE 1

IF LOOP EXAMPLE 2

FOR LOOP Example 1

FOR LOOP Example 2

FOR Loop Example 3 – Nested Loops

WHILE LOOP EXAMPLE 1

Practice Problems

Game Time - Loops

Adding html Elements using JavaScript

Game 1 – Guess Random Numbers

Game 2 – Math Quiz Game

Game 3 – Math Quiz with Random Numbers

Practice Problems

String Variables

Example 1 – Playing with Your Name; Reverse name game

Example 2 –Address Check

Example 3 – Enter a string and replace all curse words with *****

Practice Problems

Arrays

Example 1 – Creating An Array in JavaScript

Example 2 – Assigning An Array Through A Form

Example 3 – Guess World Capitals

Example 4 – Random Jokes

Example 5 – Animal Hangman

Practice Problems

Objects

Example 1

Example 2

Practice Problems

Creating a Canvas

What is a Canvas?

Canvas Example

Creating a Circle on the Canvas

Creating a Rectangle on the Canvas

Creating a Smiley Face

Practice Problems

Timer and Animations

What is a Timer?

Timer Example

Growing Square

Growing Circle

Growing Radial Circle

Moving Ball in Different Directions

Bouncing Ball

Practice Problems

KeyPress and Mouse Click Event

What does a KeyPress Element Do?

KeyPress Example 1

KeyPress Example 2

What does a MouseClick Element Do?

MouseClick Example

MouseClick – Hide and Seek

MouseClick – Treasure Hunt

Pong Game

Practice Problems

Conclusion

Disclaimer

Copyright © 2020

All Rights Reserved.

No part of this eBook can be transmitted or reproduced in any form including print, electronic, photocopying, scanning, mechanical or recording without prior written permission from the author.

While the author has taken utmost efforts to ensure the accuracy of the written content, all readers are advised to follow information mentioned herein at their own risk. The author cannot be held responsible for any personal or commercial damage caused by information. All readers are encouraged to seek professional advice when needed.

Introduction

Rob had been in front of his computer for a few hours. He was in the middle of programming the next version of his JavaScript game.  After making a lot of progress in the last month, he was now stuck. He tried a lot of different things, but still just cannot make it work. This is a common problem in coding. Learning the basics of coding is a good start. Rob read my first coding book a few months ago and he was very excited. Not only did learn the basics well and successfully went through all the exercises; he also implemented some of his own programs and fun coding games. He loved programming; and he was hooked.

After a couple of months, however, Rob got stuck. He was getting tired and bored. He kept doing similar programs over and over. He struggled with more advanced topics. The story of Rob is similar to those of thousands of kids across America and the world. These kids have the resources and money available to move forward. Some of their parents have spent a month’s salary (sometimes even more) to get their child a laptop to program with. However, both the parents and their kids realize that they need more to get going. There is something missing. Something that is hard to quantify.

The story of Rob and others inspired me to write the next Javascript book. While Rob might seem to be struggling, he needs to be commended for his effort. Too many of us give up at the first sight of difficulty. We move on from activity to activity with the mindset of a kitten playing with a ball of yarn. The truth is that there is no movement forward in any activity without a little bit of effort and pain. Rob just needs that little bit more, and that’s contained in this book.

This book starts off with some of the basics to ensure that you have the basic knowledge needed to more forward. We’ll talk about setting up your workspace and doing basic programming and testing. However, this book does have a strong emphasis on coding games, activities and puzzles. These are meant to embed a deeper love for what programming

Enjoying the preview?
Page 1 of 1