In this lesson we talk about the concept behind Javascript programming – objects, properties and methods. Once you understand these concepts you will be able to cope with the following lessons a lot easier.
In this lesson we use arrays in conjunction with our maths quiz, so that solutions to all of our answers can be checked.
In this tutorial you learn to use the for loop to repeat an instruction a certain number of times. In this case we generated 20 random maths questions using the for loop.
In this lesson we improve on our quiz by generating 2 random numbers using the Math.random() function to make up the maths question. We then check our answer against the 2 variables to see whether we got it correct. A random maths addition quiz created!
In this lesson we talk about how to use the IF-else statement to output a message back to the screen based on what the user has input in the form.
In today’s lesson, we talk about how to accept input from a message box or an HTML form from the user, and process that input to output a message to either a blank page or a section of the original page. We briefly mention the concept of objects which we will talk more about later.
Today we talk about the use of variables – we show you how to append string variables together and how to add numerical variables, then output the result to the screen.
In this first lesson we set up Notepad++ for future editing. We use Notepad++ to edit a .html file locally. We then use code to print a few lines to the screen, and see our results by opening up the .html file in a web browser.
So you have just logged into your VPS for the first time and entered the ls command to list the files and folders, but somehow there were no files and folders. Why?
Sick of looking at small text while you’re coding? Here’s where you change your font size.