🚀 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 💪

What does return do in JavaScript

Like other programming languages, JavaScript allows using return statements in functions. A return statement does the followings - Halts function execution and returns control to calling module Returns one or many values....

June 23, 2021 · 3 min · Coderslang Master

What is a Function in Programming. JavaScript Functions Tutorial.

In this article, you are going to learn what a function is in programming. You will learn how functions work, and I will show you how you can create a straightforward program....

June 14, 2021 · 7 min · Coderslang Master

JavaScript Design Patterns - Builder

Builder is one of the Creational Design Patterns, which help you deal with how objects are created. You should pay close attention to your object creation techniques that may morph into serious design problems if you neglect them....

June 8, 2021 · 6 min · Coderslang Master

Getting Started with Javascript Design Patterns

Design patterns are blueprint solutions that you use to solve common programming problems swiftly and elegantly. Everything began in 1994, when four computer scientists Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, published an iconic book “Design Patterns: Elements of Reusable Object-Oriented Software”....

June 7, 2021 · 6 min · Coderslang Master

How to Call a JavaScript function in HTML

In this tutorial, you’ll learn how to call JavaScript functions from HTML pages to make them interactive. The HTML and CSS can structure a web, can give a web its appearance and responsiveness....

June 6, 2021 · 7 min · Coderslang Master

How to link JavaScript to HTML

You need JavaScript to define how your web pages interact with end-user. In this tutorial, you’ll learn the different methods to link a JavaScript code to an HTML file. Different methods to link JavaScript code to an HTML document You can link JavaScript code to an HTML document using <script> tag:...

June 3, 2021 · 2 min · Coderslang Master

What is JavaScript Used For and How to Run It

JavaScript is the de facto language to create web apps as it is the only language supported by browsers. Over time, JavaScript has evolved from only a programming language for the web to a Cross-Platform Object-Oriented Programming Language, that is, a programming language supported by multiple Operating Systems and it follows the Object-Oriented Programming paradigm, where everything is an object....

June 2, 2021 · 5 min · Coderslang Master

Java vs JavaScript. Key differences and similarities

Java and JavaScript are two popular programming languages. They have some similarities, but also some important differences. Java is a statically typed language, which means that variables must be declared with a specific data type, and that type cannot be changed....

November 6, 2022 · 7 min · Coderslang Master

How to Open JavaScript Files

JavaScript files have .js extension and you can open them using any text editor. Your options start with Notepad and advance into modern IDEs like Visual Studio Code or WebStorm. If you love the terminal environment, you can even use tools like vi, emacs, ed or nano....

May 23, 2021 · 1 min · Coderslang Master

How to Debug JavaScript Errors When Learning to Code

Introduction In this guide, we are going to learn how to debug JavaScript code as a beginner. Learning how to debug is one of the most important skills for developers to have....

May 20, 2021 · 9 min · Coderslang Master