Beginners Guide into HTML Tables

— Now let’s deal with another way to structure and group information - tables. Previously, they were actively used to build the layout of web pages. But this structure was not very flexible....

March 7, 2021 · 5 min · Coderslang Master

JavaScript, synchronizing Promises with async/await

Promises are a very handy tool for organizing asynchronous code. But the human brain is much more accustomed to synchronous operations. We’d much rather prefer to do something, wait, and then continue instead of having to handle inherent complexity of asynchronous programming....

March 6, 2021 · 2 min · Coderslang Master

JSON Tutorial for JavaScript and Node.js

{“id”: 105, “previousLectureId”: 104, “nextLectureId”: 106, “lang”: “en”, “price”: 10, “jsQuestId”: 2, “tutors”: [“Technic”]} One of the most popular formats for exchanging data between backend and frontend is JSON which stands for JavaScript Object Notation....

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’s 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, Promise creation and Promise chains

In this tutorial you’ll learn how to create JavaScript Promises, how to handle promise chains and utilise the functions Promise.all and Promise.race. ...

February 13, 2021 · 5 min · Coderslang Master

140 HTML colors with HEX, RGB codes and names

Using an RGB or HEX color code in HTML you can change the color of the text, background, url, font, table or the whole page. Colors in HTML The value for the color property can be set in three main ways:...

February 12, 2021 · 6 min · Coderslang Master

JavaScript, asynchronous programming and Promise

In this tutorial, you’ll learn what are the promises in JS, which states can the JavaScript Promise be in and how to handle asynchronous errors in JS promises. ...

February 11, 2021 · 4 min · Coderslang Master

JavaScript setInterval, how to schedule repeated execution with the delay

Similarly to setTimeout , that executes the callback function once, you can start the repeated execution of the function in JavaScript using setInterval. Starting setInterval timer In JS, setInterval has the same params as setTimeout....

February 10, 2021 · 2 min · Coderslang Master

JavaScript setTimeout, how to delay the function execution

By default, all JavaScript code runs synchronously. This means that the statements are evaluated from top to bottom, one after another. console.log('hello'); console.log('synchronous'); console.log('world'); The strings will be printed to the console in the same order as they appear....

February 9, 2021 · 2 min · Coderslang Master