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 Center a Button in CSS and HTML

Making the button center can sometimes be tricky as there are numerous ways to achieve it using CSS. Here are the 3 options that you can use right now to center the button....

June 5, 2021 · 2 min · Coderslang Master

How to Make Text Bold in CSS

To make the text bold using CSS, you should use the font-weight property and then set the value to bold. A font-weight is a CSS property that will specify how thick the text should be....

June 4, 2021 · 1 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

What does "div" mean in HTML

<div> — is one of the most-used HTML tags. It allows you to define the structure of the web page clearly. Let’s dig into the details about what div is and how to use it....

June 1, 2021 · 3 min · Coderslang Master

How to Add Images in HTML From a Folder

Have you seen any websites without images? Yes, we still might get a few, but they are rare these days. Let’s learn how you can add images to HTML documents....

May 31, 2021 · 3 min · Coderslang Master

Java vs JavaScript. Key differences and similarities

The software programming world has progressed rapidly over time and has a lot of programming languages to offer. You might have heard about programming languages Java and JavaScript that sound similar in name and might have got confused about whether they’re different names for the same language or are they different....

May 30, 2021 · 6 min · Coderslang Master