Tag: JavaScript

Information Board: Javascript Challenge

In this challenge we are creating an information board that displays key messages on a LED screen that consists of 4 rows of 20 characters. We have created the HTML, and CSS code to render the board on the screen

Othello Game

Othello (a.k.a. Reversi) is a strategy board game for two players, played on an 8×8 board. There are sixty-four identical game pieces called discs which are white on one side and black on the other. Players take turns placing discs

Equalizer Animation Using JavaScript

When your browser displays a webpage on screen it uses 3 different programming languages called HTML, CSS and JavaScript. We call the combination of these three languages “client-side web technologies”. Each of the three language has its own syntax and

Connect4 Challenge

In this blog post you will use HTML, CSS, and JavaScript to complete this game of connect 4 for two players. (Rules of the game) You will first need to reverse-engineer the code provided. The code so far is used

Mind the Gap

When your browser displays a webpage on screen it uses 3 different programming languages called HTML, CSS and JavaScript. We call the combination of these three languages “client-side web technologies”. Each of the three language has its own syntax and

Keep Calm and Carry On Coding

When your browser displays a webpage on screen it uses 3 different programming languages called HTML, CSS and JavaScript. We call the combination of these three languages “client-side web technologies”. Each of the three language has its own syntax and

What’s My Change?

Your Challenge Using either Python or HTML + JavaScript, write a program that prompts the end-user to enter two values: Value 1: Amount to be paid by the customer Value 2: Amount received from the customer The program should then

Resistor Value Calculator

Resistor Value Calculator

When designing electronic circuits you may need to use resistors. Each resistor has a resistance value expressed in ohms (Ω). Resistors are identified by a series of concentric coloured bands. Each band colour has a value which is used to

HTML Applications (.HTA)

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

Can you explain this equation?

== and != are called comparison operators. They are used to compare two values and see whether they are the same (==) or check if they are different (!=). E.g. if (gender==”Male”) alert(“You are a man.”);  = is used to