馃殌 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 馃挭

How to test Node.js backend with `supertest`

So, you鈥檝e built your Node.js backend with Express and now you need a clean and reliable approach to test it? In this article, I鈥檒l show you how you can use the supertest module to make testing your Express.js backend feel like a breeze! ...

November 5, 2020 路 2 min 路 Coderslang Master

Built-in String functions in JavaScript

A detailed review of useful JS functions that will help you work with the String data type. ...

November 4, 2020 路 5 min 路 Coderslang Master

JS Interview #3: Adding strings to numbers and booleans

Will we see any output? If yes, then what would it be? (think well, then click for the answer and explanation) To answer this question correctly, you need to understand the typecast rules in JS....

November 3, 2020 路 1 min 路 Coderslang Master

JS Interview #2: How to create an array in JavaScript

What's the correct way to create an array in JS? (think well, then click for the answer and explanation) The first array, a1 is declared using an empty array literal....

October 31, 2020 路 1 min 路 Coderslang Master

JS Interview #1: Type conversion in JavaScript

What's going to be printed to the console? (think well, then click for the answer and explanation) In the first line, we define the variable `str` and initialize it as a string with the value `1`....

October 29, 2020 路 1 min 路 Coderslang Master

Coderslang 3.2.9

Description of new features and bug fixes in the new version of the Coderslang app! ...

October 9, 2020 路 2 min 路 Coderslang Master

Basic math operations in JavaScript

JavaScript supports all basic arithmetic operations. In this guide, we鈥檒l dive into them and see how do the regular +, -, *, and / perform on different data types. ...

September 5, 2020 路 4 min 路 Coderslang Master

7 Most Useful Terminal Commands For Beginners (Linux, Mac and UNIX)

When learning to code it鈥檚 easy to get lost in the tools you need to get started building real projects. Terminal (command line) is one those indispensable tools that can take you years to learn without proper guidance. In this beginner tutorial you鈥檒l learn the most common, cool, and useful console commands that you can run in almost any UNIX-like environment, including Linux and macOS. ...

May 7, 2022 路 8 min 路 Coderslang Master

Task #1 - First program

The program is already functional. Just make sure you have set everything up correctly by pressing the Run your code button You should see the message Hello, world! on the screen....

August 15, 2020 路 1 min 路 Coderslang Master

Task #100 - Questions?

Implement a function questionize in helper.js. It should take a string, add a question mark ("?") to it and return this string as a result. This task is part of the Full-Stack JavaScript Course...

August 15, 2020 路 1 min 路 Coderslang Master