Browsed by
Category: JavaScript Tutorials

JavaScript Strings Functions

JavaScript Strings Functions

Whether you’re creating a new game, or simply checking a form over, JavaScript strings form a foundational part of your web coding. So let’s dive in. What Are JavaScript Strings? A string is a collection of letters, numbers and special characters surrounded with either ” ” or ‘ ‘. Strings can be assigned to variables, used to output text in alert()s or paragraphs, used to read or fill form fields – basically anywhere you want the user to know something,…

Read More Read More

JavaScript Conditional Statements Tutorial

JavaScript Conditional Statements Tutorial

Following on from the epic tutorial on JavaScript Arrays and Loops, this is a much shorter one to give you a breather! In that tutorial we were using what are called JavaScript Conditional Statements – i.e. we want to perform certain actions based on defined conditions. One condition was the value of action. If action was ‘Shuffle’ we performed one block of code, if action was ‘Hit Me’, we performed a different block of code. Simple Conditional – JavaScript if()…

Read More Read More

JavaScript Arrays And Loops Tutorial

JavaScript Arrays And Loops Tutorial

We have mentioned a few times about <select> boxes being an Array. This tutorial will take you through to understanding JavaScript Arrays and Loops so you can begin to apply them in your own projects. In this lesson we will look at What JavaScript Arrays actually are and why you might use them. How to add and remove items from JavaScript Arrays How to loop through the content inside an Array And lastly we will create the Card Game ’21’…

Read More Read More

JavaScript Mathematics

JavaScript Mathematics

When building an interactive web page, online game, or even just a dynamic page layout, maths (or “Math” for our USA Friends) plays a really important role. Games need to know your score, or your position on the board, or how many goals you have scored. A dynamic web page layout needs to know how big your screen is to calculate how large each element on the page needs to be. While some web-based apps (as opposed to native apps)…

Read More Read More

Event Handlers in JavaScript – an Introduction

Event Handlers in JavaScript – an Introduction

Now that we have covered what JavaScript is, let’s get down and do some by looking at Event Handlers! An Event Handler is something that handles what happens when a user does something on your web page. If that sounds vague, it’s because it’s meant to be vague! Users can do all sorts on your website – the question is what do you want to “listen” for? Inline JavaScript and Event Handlers One of the simplest ways of triggering something…

Read More Read More

What Is JavaScript?

What Is JavaScript?

Welcome to the first Beginner’s JavaScript Tutorial and thank you for joining us! We will be releasing one or two new tutorials each month into this free series of coding lesson. So, let’s get started with the first question of What Is JavaScript? If there are any topics you would like to see covered in our JS Lesson to help you learn coding better, please feel free to get in touch with us! Lesson Plan What Is JavaScript | JavaScript…

Read More Read More

Free Beginners JavaScript Tutorials

Free Beginners JavaScript Tutorials

After much planning and preparation we are delighted to be able to offer a gradual roll-out of our free beginners JavaScript Tutorials. Combining code snippets and downloadable example code, we aim to help you build on what you’ve learned in our HTML5 Tutorials and our CSS Tutorials to take your web development to the next level! We have more online learning lessons to be released over the coming weeks, so please check back soon! What To Expect From Our JavaScript…

Read More Read More