JavaScript - 101 Computing https://www.101computing.net Boost Your Programming Skills! Thu, 31 Aug 2023 11:50:02 +0000 en-US hourly 1 https://www.101computing.net/wp/wp-content/uploads/cropped-android-chrome-512x512-1-32x32.png JavaScript - 101 Computing https://www.101computing.net 32 32 Work Life Balance (HTML, CSS & JS Challenge) https://www.101computing.net/work-life-balance-html-css-js-challenge/ Fri, 24 Feb 2023 15:18:10 +0000 https://www.101computing.net/?p=17549 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

The post Work Life Balance (HTML, CSS & JS Challenge) first appeared on 101 Computing.

]]>
Elastic Collision in a Pool Game https://www.101computing.net/elastic-collision-in-a-pool-game/ Tue, 07 Feb 2023 20:37:06 +0000 https://www.101computing.net/?p=17380 A range of video games use elastic collision formulas to predict the change of velocity of two objects when a collision occurs. Elastic collision occurs when two objects are colliding and the total kinetic energy of the two objects remains

The post Elastic Collision in a Pool Game first appeared on 101 Computing.

]]>
Information Board: Javascript Challenge https://www.101computing.net/information-board-javascript-challenge/ Thu, 31 Mar 2022 11:29:31 +0000 https://www.101computing.net/?p=13937 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

The post Information Board: Javascript Challenge first appeared on 101 Computing.

]]>
Poker Card Game (JavaScript) https://www.101computing.net/poker-card-game-javascript/ Wed, 23 Dec 2020 10:43:51 +0000 https://www.101computing.net/?p=11636 In this challenge we will create a one-player game of poker based on the rules of Texas Hold’em Poker. In a game of Texas Hold’em Poker, for each round, five “community cards” are dealt face-up on the “board”. Each player

The post Poker Card Game (JavaScript) first appeared on 101 Computing.

]]>
Four Corners Javascript Challenge https://www.101computing.net/four-corners-javascript-challenge/ Thu, 30 Jan 2020 12:46:42 +0000 https://www.101computing.net/?p=10162 Four corners is a children’s game, often played in primary/elementary schools. The game can be played in a classroom. One player stand in the middle of the room with a blindfold. All the other participants choose one of the four

The post Four Corners Javascript Challenge first appeared on 101 Computing.

]]>
Level generation using a 2D array https://www.101computing.net/level-generation-using-a-2d-array/ Mon, 16 Dec 2019 22:53:26 +0000 https://www.101computing.net/?p=9847 In this post we will investigate how to generate a level/stage for a platform game using a 2D array. We will focus on the level for a 2D platform game such as Super Mario: By applying a grid layout to

The post Level generation using a 2D array first appeared on 101 Computing.

]]>
Javascript: Alert, prompt or confirm? https://www.101computing.net/javascript-alert-prompt-or-confirm/ Sat, 23 Nov 2019 12:30:51 +0000 https://www.101computing.net/?p=9786 Javascript popup box are extremely useful when you start coding in Javascript. They enable you to write basic programs based on the Input/Process/Output very easily. alert(“…”) An alert box is an easy approach in javascript to display a message to

The post Javascript: Alert, prompt or confirm? first appeared on 101 Computing.

]]>
Maritime Signal Flags Translator https://www.101computing.net/maritime-signal-flags-translator/ Wed, 07 Aug 2019 07:35:51 +0000 https://www.101computing.net/?p=9220 International maritime signal flags are various flags used to communicate with ships. The purpose of the International Code of Signals is to provide ways and means of communication in situations related essentially to safety of navigation. The code uses a

The post Maritime Signal Flags Translator first appeared on 101 Computing.

]]>
My Javascript Calculator https://www.101computing.net/my-javascript-calculator/ Thu, 29 Nov 2018 20:11:04 +0000 https://www.101computing.net/?p=8212 For this challenge, you will use your HTML, CSS and JavaScript to create a fully functional calculator as follows: Before attemtping this challenge, make sure you gain a full understanding of how HTML, CSS and JavaScript are used on a

The post My Javascript Calculator first appeared on 101 Computing.

]]>
The Pigpen Cipher https://www.101computing.net/the-pigpen-cipher/ Wed, 10 Oct 2018 11:30:21 +0000 https://www.101computing.net/?p=7539 The Pigpen cipher (a.k.a. tic-tac-toe cipher) is a geometric substitution cipher, which exchanges letters for symbols which are fragments of a grid. Secret Message Using the key provided on the right, can you decode the following secret message?   Pigpen

The post The Pigpen Cipher first appeared on 101 Computing.

]]>