Archives de
Mois : novembre 2021

JavaScript Loops Explained

JavaScript Loops Explained

In JavaScript, loops are used to conduct repeated activities based on a condition.When conditions are analyzed, they usually return true or false.A loop will continue to run until the specified condition is false. The three most common types of loops are for while do while You can type js for, js while or js do while to get more info on any of these. Let’s look at them, and some variations, in more detail now. for loop Syntax The javascript…

Lire la suite Lire la suite

SVELTE

SVELTE

Svelte is a new uprising client side tool which is definitely worth learning. We will guide you through the basic steps required to setup a Svelte Project and display a simple component. What is Svelte used for? Svelte is a new framework that can be used to create user interface just like other frameworks like React and Vue. The major update in Svelte does most of the code conversion to lower level at compile time itself. Since the work is…

Lire la suite Lire la suite

HTML5 form controls

HTML5 form controls

From HTML5 the control of forms is possible directly in the html input thanks to the pattern attribute and its value in the form of a regex. A regex is a regular expression, in other words a very powerful text control filter verifying the validity of information. Before HTML5, control of forms had to be done in JavaScript and its use was less convenient. The pattern attribute is compatible on browsers: Firefox 4+ Chrome 5+ Opera 9.6+ Internet explorer 10+…

Lire la suite Lire la suite