When working on HTML and JavaScript projects it is very likely that you will want to respond to events. For instance you may want to run some JavaScript code when a button is clicked. Examples of HTML events: When a…
When working on HTML and JavaScript projects it is very likely that you will want to respond to events. For instance you may want to run some JavaScript code when a button is clicked. Examples of HTML events: When a…
Familiarise yourself with CSS to see how CSS code can help you format and combine text and graphics effectively. CSS Box Model To understand how margin, borders and padding works you need to understand the CSS Box Model. Click on…
Sometimes the best way to get started with a new programming language is to do some reverse engineering. This consists of looking at an existing piece of code to find out how it works. So let’s look at the piece…
In our previous blog post we looked at how to retrieve values from various HTML form controls. For instance the following JavaScript code shows you how to retrieve the value typed in a textbox. See the Pen DwahE by 101…
Retrieving value from a Textbox: See the Pen DwahE by 101 Computing (@101Computing) on CodePen. Retrieving value from a Textarea: See the Pen tFJiI by 101 Computing (@101Computing) on CodePen. Retrieving value from Checkboxes: See the Pen asiqt by 101…
In this project we are looking at how to read through a text file using JavaScript. We will store a list of pupils in a text file. We are going to read through this list display its content on the…
Have you ever heard of HTA files aka HTML Applications? If you not here is what you need to know about HTA: HTA files look very similar to HTML files but when you save them you need to give them…