One of the earlier programs I wrote in Python was Scissor, Paper, Stone. It's an old game that most people learn as a child, the premise of which is; There are two (2) players. Each player must make a secret choice from 3 options (Scissor, Paper or Stone) The players reveal their choice at the … Continue reading Scissor, Paper, Stone (JavaScript)
Category: Javascript
Accessing A Browser’s JavaScript Console
JavaScript can be written in .js (JavaScript) files but can also be written directly into a web browsers JavaScript Console, which is a great way to see quick results from small bits of JavaScript coding. Today I will be looking at enabling the console within two browsers (Safari and Chrome). Safari To use the JavaScript … Continue reading Accessing A Browser’s JavaScript Console
JavaScript Basics (Part 2)
Continuing on with yesterdays JavaScript learnings, and continuing to make notes for myself so that I can later refer to them: JavaScript uses camel-case and it is recommended that camel-case is used for variable names. e.g. firstName, surName, emailAddress. Like Python, JavaScript can concatenate words and letters whilst dealing with strings. Like Python, JavaScript can use … Continue reading JavaScript Basics (Part 2)
Finally Taking Time To Learn JavaScript (JavaScript)
I first learned about Javascript back in 2003/2004 whilst completing a University course and then briefly touched upon it during my HNC web module in 2016/2017. Since then I've been focusing on Python as my primary language, however I've decided to expand and refresh/learn more JavaScript. Like Python, JavaScript can use variables although unlike Python they … Continue reading Finally Taking Time To Learn JavaScript (JavaScript)