JSON Tutorial for JavaScript and Node.js

One of the most popular formats for exchanging data between backend and frontend is JSON which stands for JavaScript Object Notation. It is very similar to what regular JavaScript objects look like, but it also has its own quirks....

March 5, 2021 路 4 min 路 Coderslang Master

Node.js, Express Middleware and External Access

Great, we already have a production server and have done some tasks to better understand how it works. Now let鈥檚 take a look at middleware - one of the most important concepts of Express....

March 4, 2021 路 4 min 路 Coderslang Master

Create your first Node.js server with Express backend

In the last lecture, you saw the server-side analogy of the Hello, world that you wrote as your first task in VSCode. Our program was able to process the request and return a response, which was displayed by the browser....

March 3, 2021 路 3 min 路 Coderslang Master

JavaScript Interview Question #43: Object.toString and Array.toString

What鈥檚 the difference between Object.toString and Array.toString in JavaScript? What鈥檚 the output? . . . . . . . . . . . . . . . . . A regular behavior of the JavaScript function Object....

March 3, 2021 路 1 min 路 Coderslang Master

CSS, Flexbox Gap

In 2021 appeared a new CSS trick which is called the flexbox gap. This property is borrowed from Grid CSS and is called grid-gap. The gap is used to create space between cells....

March 2, 2021 路 2 min 路 Coderslang Master

How to add a comment in CSS

Just link in plain HTML, you can add comments to the CSS files. Maybe you want to leave a note for yourself, or maybe you want to help your colleagues sort out some difficult points....

March 1, 2021 路 1 min 路 Coderslang Master

External CSS stylesheet

Using the <style> tag, you can add styles for a single HTML document. These are internal styles. They will be applied to all content on the page. But only one page....

February 28, 2021 路 3 min 路 Coderslang Master

JavaScript Interview Question #42: How Math.max works in JS

How exactly Math.max works in JavaScript? What鈥檚 the output? . . . . . . . . . . . . . . . . . In JavaScript, the function Math....

February 28, 2021 路 1 min 路 Coderslang Master

Internal CSS stylesheet in the HTML document

鈥 You already know how you can add styles to a specific element. For example, you know how to change the color of the text inside the <p> tag. But what if we need to do this for several tags of the same type?...

February 27, 2021 路 3 min 路 Coderslang Master

Introduction to CSS for beginners

CSS stands for Cascading Style Sheets. It鈥檚 responsible for all the beauty on the screen: fonts, colors, backgrounds, text formatting, and even animation. Using CSS, you can change the position of HTML elements relative to each other or fix them at some point on the screen....

February 26, 2021 路 3 min 路 Coderslang Master