JavaScript

JavaScript short tutorials

Object destructuring in JavaScript

Object destructuring is a syntax in JavaScript that allows you to extract values from objects and assign them to variables in a straightforward way. This enables easy access to data stored in objects without having to reference the object’s properties each time.

Read more

Multiple sliders on one page with simple jQuery slider

If you’re reading this post then you probably have problem with slider, that don’t work correctly if occurs several times on the same page. I have a solution to you – simple jQuery slider, that you can put on page as many times, as you want and it will be work as it should.

Read more
jQuery infinite scroll image gallery

jQuery infinite scroll image gallery

Infinite scroll gallery is a simple and difficult task at the same time. It all depends on how you want to display it. For start, let’s write the basic assumptions:

Read more

What is hoisting in javascript?

Every junior front-end developer should know what hoisting is. This issue can be easily understood, so if you have not heard of it before, you can quickly catch up:

Read more

How to copy an array in javascript?

We have array [“javascript”, “jest”, “fajny”, 1, 2, 3]. Let’s see what’s happends, if we want to copy it and assign it do variable, and next modify it:

Read more