Uncategorized

Javascript Style Guide

Coding conventions are style guidelines for programming. They typically cover: Variable Names At W3schools we use camelCase for identifier names (variables and functions). All names start with a letter. At the bottom of this page, you will find a wider discussion about naming rules. firstName = “John”;lastName = “Doe”; price = 19.90;tax = 0.20; fullPrice = price + (price * tax); Here’s an […]

Javascript Style Guide Read More »

Javascript Debugging

Programming code might contain syntax errors, or logical errors. Many of these errors are difficult to diagnose. Often, when programming code contains errors, nothing will happen. There are no error messages, and you will get no indications where to search for errors. Searching for (and fixing) errors in programming code is called code debugging. JavaScript

Javascript Debugging Read More »

Javascript JSON

Javascript JSON

JSON is a format for storing and transporting data. JSON is often used when data is sent from a server to a web page. What is JSON? The JSON syntax is derived from JavaScript object notation syntax, but the JSON format is text only. Code for reading and generating JSON data can be written in

Javascript JSON Read More »

Javascript Modules

Javascript Modules As JavaScript applications grow in complexity and size, the need for modular code becomes increasingly important. JavaScript modules provide a way to organize, encapsulate, and reuse code, resulting in cleaner and more maintainable projects. In this article, we’ll explore the concept of JavaScript modules, understand their benefits, and learn how to use them

Javascript Modules Read More »

Javascript Class Syntax

Javascript Class Syntax  The class syntax in JavaScript provides developers with a more structured and intuitive way to work with object-oriented programming (OOP) concepts. In this article, we’ll explore the JavaScript class syntax and understand how it simplifies the process of creating and managing objects. Understanding Object-Oriented Programming (OOP) Before diving into JavaScript classes, let’s

Javascript Class Syntax Read More »

Javascript Strict Mode

Introduced in ECMAScript 5, JavaScript’s strict mode is a powerful feature that enforces stricter rules for code execution, making it easier to write secure and maintainable code. In this article, we will explore the concept of strict mode in JavaScript and why you should consider using it in your projects. What is JavaScript Strict Mode?

Javascript Strict Mode Read More »

Javascript BigInit

Javascript BigInit

JavaScript is one of the most popular programming languages in use today, and it’s widely used for building web applications, games, and other interactive experiences on the web. One of the fundamental data types in JavaScript is the BigInt type, which was introduced in the ECMAScript 2020 specification. BigInt allows developers to work with integers

Javascript BigInit Read More »