Even and Odd Numbers //Odd and even exercise let startcounter = showNumbers(19); function showNumbers(startcounter) { for (let limit = 0; limit <= startcounter; limit++) if(limit % 2 === 0) { console.log(limit + ‘ “Even”‘) } else {…
Category: Web Development
Web Development
PHP For Absolute Beginners | 6.5 Hour Course
This course is for absolute beginners and will give you a great kickstart to learning […]
Javascript Exercise – Demerit Points
Demerit Points //Speed Limit = 70 //5 -> 1 point // Math.floor(1.3) //12 points -> suspended checkSpeed(110); // Enter speed here to check. function checkSpeed(speed) { const speedLimit = 70; const kmPerPoint = 5; if (speed…
Web Developer Roadmap 2021 | A Guide To Starting A Career In Web Development
Download the FREE 2021 Web Development Roadmap PDF to keep you on track!✔️ https://courses.codestackr.com/ultimate-web-dev-roadmap-2021All of […]
Javascript – Exercise – Fizzbuzz
Fizzbuzz //Fizbuzz Exercise – Interview Algorithm //Divisible by 3 => Fizz //Divisible by 5 => Buzz //Divisible by both 3 and 5 => Fizzbuzz //Not divisible by 3 or 5 => input //Not a number =>…
My Javascript code creation of the day – 01
Created this code from expanding on a exercise from Code with //Landscape mode or portrait mode check let w = * 800); //Creates the width let h = * 800); //Creates the height let…
Java Script Command Cheat Sheet
Java Script Command Cheat Sheet typeof – Use this to check if item is a string, variable, array, object ) – display results in console Arithmetic Operator: + y //addition – //subtraction * …
Personal Javascript Code Example – 01 – My first long Javascript code
This code was expanded upon a lesson by CodewithMosh. His code was very short. I added things to mine. Basic military time to standard time. //Control flow with if and else //If and else example //Hour //If hour…
Best Explanation of JavaScript Null vs Undefined! #shorts
🦸 Become A VS Code SuperHero Today: https://vsCodeHero.com I’ll be experimenting with YouTube #shorts over […]
Javascript Notes: 05 – Control Flow
Control Flow JavaScript supports different kinds of loops: for – loops through a block of code a number of times for/in – loops through the properties of an object for/of – loops through the values of an iterable object while…