(SKIPPED: https://javascriptlearner815.github.io/blog/2021/04/02/remembering-morse-code.html)

BLOG POST: https://javascriptlearner815.github.io/blog/2021/04/16/how-to-make-a-blog-with-github-pages.html

My blog isn’t really that active, so you may want to start your own, more active one! This post can help you with that, guiding you based on my own personal setup, in order to create a blog with ease!

If you prefer to learn…

Quite some typos and out-of-JavaScript things in here, but still amazing.

Do not download a YouTube video that you do not own.

Defensive semicoloning is required for this line of code if there is a line before it:

;(function(){console.log("Hello World")})()

BLOG POSTS: https://javascriptlearner815.github.io/2021/05/01/javascript-basics.html && https://javascriptlearner815.github.io/2021/05/02/js-flat-spread-label.html

JavaScript Basics

For ~3 months my blog has been mainly focused on JavaScript, without even considering to start with a video on the basics of it. Well, let’s jump right into it!

Check out this article NOW!!!
Part 1:


Part 2:

BLOG POST: https://javascriptlearner815.github.io/2021/04/24/javascript-short-circuiting.html

false && console.log('JavaScript Short-Circuiting')

If I gave you this code:

x = 0 && console.log("Hi")

…You may be surprised to see the following output:

Yes. Literally — Nothing.

Better yet, see this code:

x = 1 || console.log("Hi") // 

Still nothing.

What the heck is going on?

Let me show you…

(SKIPPED: https://javascriptlearner815.github.io/2021/04/22/using-the-internet-without-power.html)

BLOG POST: https://javascriptlearner815.github.io/2021/04/23/javascript-plus-plus-vs-plus-plus-javascript-solved.html

(JavaScript++ && ++JavaScript) && console.log('Solved')

Here’s some JavaScript code for ya:

function f(x) {
(x = x - 3) && ++x
return x--
f(2) // 0

Think the code runs like this?

function f(x) { // 2
x++ // 3
(x = x - 3) /*…


BLOG POST: https://javascriptlearner815.github.io/blog/2021/03/28/stop-using-innerHTML-with-user-input.html



Let’s say you have an input-based navigation system like so:


<!DOCTYPE html>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Bob's Books</title>
<link rel="stylesheet"…

BLOG POST: https://javascriptlearner815.github.io/blog/2021/02/27/javascript-nullish-coalescing.html

Nullish coalescing is represented by ??. It comes in place of ||’s usage, but is a little different. Unlike ||’s check for a false value to revert to the next value specified, ??

BLOG POST: https://javascriptlearner815.github.io/blog/2021/02/21/typescript-type-annotations.html

In TypeScript, type annotations allow you to force anything’s data type to be what you choose. If its data type is not the one you specify, the console will throw an error.


Here’s an example:

function remainder(dividend: number, divisor: number) {
return dividend %


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store