🚀 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 💪

What is the Difference Between HTML and CSS?

Both HTML and CSS are the key pillars of modern web development. Let’s learn what’s the main difference between the two. If you think of a human body, you will find, every one of us has a skeleton structure underneath flesh and skins....

May 28, 2021 Â· 2 min Â· Coderslang Master

How to Open JavaScript Files

JavaScript files have .js extension and you can open them using any text editor. Your options start with Notepad and advance into modern IDEs like Visual Studio Code or WebStorm. If you love the terminal environment, you can even use tools like vi, emacs, ed or nano....

May 23, 2021 Â· 1 min Â· Coderslang Master

How to Change the Color of the Text using CSS

To change the text color with CSS, you should use the color CSS property. The value for it can be provided using 3 main options: a name of the color — “red”, “green”, “blue” a HEX code that starts with the hashtag — “#00FF00”, “#121212” an RGB code that looks like this — “rgb(125, 20, 255)” Let’s use all three options to write CSS that changes the color of the headers h1, h2, and h3....

May 22, 2021 Â· 1 min Â· Coderslang Master

How long does it take to learn to code?

In one word, FOREVER! You might think I am exaggerating, but learning to code is an iterative and lifelong process. Every day new technologies are being developed to optimize old workflows or introduce new and more efficient workflows....

May 21, 2021 Â· 4 min Â· Coderslang Master

How to Debug JavaScript Errors When Learning to Code

Introduction In this guide, we are going to learn how to debug JavaScript code as a beginner. Learning how to debug is one of the most important skills for developers to have....

May 20, 2021 Â· 9 min Â· Coderslang Master

How to Filter an Array in JavaScript

All JavaScript arrays have a built-in function .filter that allows you to filter certain elements and return a new array. To filter a JavaScript array, you need to write a function that will determine the filtering rule....

May 18, 2021 Â· 1 min Â· Coderslang Master

How to concatenate JavaScript array using join

JavaScript join function is built in to every JS Array. It’s very useful to join the elements of the JavaScript array and convert it into a string. Here’s the basic syntax:...

May 17, 2021 Â· 1 min Â· Coderslang Master

Strings and Numbers in JavaScript

JavaScript’s variables can hold values of different types. Each JavaScript value, however, has a strictly defined type. Let’s start with the differences between string and numbers in JS. Strings All text information in JavaScript is considered to be a string....

May 17, 2021 Â· 4 min Â· Coderslang Master

JavaScript Variables

Variable — is one of the key terms in programming. Luckily it’s not that complicated to learn. You can imagine a variable as a spreadsheet cell or a box in the warehouse....

May 16, 2021 Â· 3 min Â· Coderslang Master

How to destructure an array in JavaScript

JavaScript provides a very handy possibility to destructure any array and give custom names to the variables in it. Let’s assume we start with a simple array of numbers: const numbers = [1, 2, 3, 4, 5]; To get the first 2 elements from this array, we can use the destructuring assignment....

May 15, 2021 Â· 1 min Â· Coderslang Master