Zajímavosti spojené s tvorbou webových stránek

What's the difference between var, let, and const in JavaScript

What’s the difference between var, let, and const in JavaScript

In JavaScript, var, let and const are used to declare variables, but they have some key differences in terms of scope, hoisting, and mutability.

Číst celý článek
How to check jQuery version in Chrome DevTools

How to check jQuery version in Chrome DevTools

We’ve all been there, developed application locally using the latest jQuery version, passed it to the client to implement on their website and suddenly nothing is working. Why, because the client is using an old version of the jQuery.

Číst celý článek
What's the difference between alert, confirm and prompt?

What’s the difference between alert, confirm and prompt?

Alert, confirm, and prompt are JavaScript functions that allow you to interact with users through dialog boxes in web applications. They are used to display messages, gather user input, and confirm actions.

Číst celý článek
HTML5 history API

How to change URL without refreshing the page?

I have recently worked on a website with popups containing artwork and sharing functionality. This project involved changing url without reloading the page which was perfect use for the HTML5 History API. This API allows you to modify the browser’s history and manipulate the URL without causing a page refresh.

Číst celý článek