馃殌 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 馃挭

What is React Native

React Native is a JavaScript framework for building native mobile apps. It鈥檚 based on React, Facebook鈥檚 JavaScript library for building user interfaces, but instead of targeting the browser, it targets mobile platforms....

November 14, 2022 路 1 min 路 Coderslang Master

What is Node.js

Node.js is a JavaScript runtime built on Chrome鈥檚 V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world....

November 13, 2022 路 2 min 路 Coderslang Master

Why you should learn JavaScript

JavaScript is a versatile language that can be used to create web applications and improve web pages. Learning JavaScript can help you become a better web developer and make you more marketable to potential employers....

November 7, 2022 路 3 min 路 Coderslang Master

Learn JavaScript. Lesson 2. Text Output and Comments

This is the second article of the series 鈥淟earn JavaScript鈥 aimed at helping you with your first steps in the JavaScript world. Last time, you learned how to prepare your JavaScript workspace by installing Visual Studio Code and Node....

September 2, 2022 路 3 min 路 Coderslang Master

Learn JavaScript. Lesson 1. Getting Started

There are various approaches to learning JavaScript. One of the most common approaches is to start with HTML in a playground that runs in your browser. The upside is that it鈥檚 very easy to get started, but the downside is that when you get to actually learning JavaScript you鈥檝e lost your motivation, and you can鈥檛 move to the next level....

September 1, 2022 路 1 min 路 Coderslang Master

How to capitalize each word in a string with CSS

When you鈥檙e working with CSS, there鈥檚 nothing easier than capitalizing each letter in string using the text-transform CSS property. To be fair, it鈥檚 way easier than capitalizing a string with Javascript....

August 14, 2022 路 1 min 路 Coderslang Master

How to run JavaScript code

Not all JavaScript programs are the same as you can use JS for backend, frontend and mobile development. Running JavaScript code depends on what kind of code it is. Frontend JS If you鈥檙e looking to run the JavaScript code that manipulates the DOM (document object model) and works within the context of the web page, then the best way to 鈥渞un it鈥, would be to link the JS script to the HTML document and open this HTML in the browser....

August 13, 2022 路 2 min 路 Coderslang Master

What is the += operator in JavaScript

The += operator is a shorthand for the addition assignment operator. It is used to add a value to a variable. The value can be an integer, floating point number, string, or object....

November 6, 2022 路 1 min 路 Coderslang Master

How to exit from a JavaScript function

You can exit from any JS function using the return keyword. It can be placed anywhere in your code. const exampleFunction = () => { console.log('hello'); return; console.log('world'); console.log('!'); } The example above is quite artificial, but it demonstrates how return works very well....

August 6, 2022 路 1 min 路 Coderslang Master

How to properly clear a timeout in JavaScript

A timeout in JavaScript is a useful tool to asynchronously delay the execution of the function. It requires 2 arguments: the function that you鈥檇 like to set for the async execution, and the delay after which the function will be called. ...

August 5, 2022 路 2 min 路 Coderslang Master