Enea Xharja Logo

11 posts tagged with "javascript"

View all tags

🌶 Format Reading Time with JavaScript

Reading time is pretty common functionality in blogs. The formatReadingTime() function below displays cups of coffee as indicators of the…

❞ JavaScript Strings

A string is a series of zero or more characters grouped together inside single or double quotes. In order to define a string , we must do…

🧮 JavaScript Operators

Numeric data in JavaScript is represented by the Number data type. Add Two Numbers In JavaScript, like in mathematics, the + symbol is…

🧳 Intro to Variables in JavaScript

Variables allow computers to store and manipulate data. You can think of a variable as a simple and shorter name that we use to represent…

🌶 Remove Line Breaks with Javascript

This hot tip is all about using plain JavaScript code to remove line breaks from a string. In order to remove line breaks, we have to take…

👨‍🏫 Strict Mode

For many years, JavaScript evolved without compatibility issues. New features were being added to the language while maintaining old…

🏗️ Code Structure

When writing blocks of code, we need to consider how to best leverage the features of a programming language to create clean and structured…

🏷️ The script tag

A JavaScript program needs a working environment to run. The easiest way to add JavaScript code to a page is to link a script file to an…

🌶 Command-click or Control+click not working

Being a web developer gives you the ability to override some of the default browser functionalities. This can be great, since it gives you…

⏳ A brief history of JavaScript

Once upon a time in California, a talented computer scientist named Brendan Eich wrote a brand new programming language. The legend wants…

🧗 It's all about the fundamentals

Frameworks and libraries are great. They are built to solve challenging problems that emerge in building modern web applications. They can…