Blog

Page 876 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How do I return the response from an asynchronous call?
ajaxasynchronousjavascript

How do I return the response from an asynchronous call?

Published on May 1, 2022

📝 **Title: How to Get the Response from an Asynchronous Call in JavaScript** Are you struggling to return the response from an asynchronous call in JavaScript? 🤔 Don't worry, you're not alone! Many developers face this common issue when handling asynchr

Cover Image for How do I remove a property from a JavaScript object?
javascriptobjectproperties

How do I remove a property from a JavaScript object?

Published on April 30, 2022

# 🚀 Removing a Property from a JavaScript Object: Easy Guide! 🚀 Have you ever found yourself in a situation where you need to remove a property from a JavaScript object? It can be confusing at first, but fear not! In this blog post, we'll walk you throu

Cover Image for How to check whether a string contains a substring in JavaScript?
javascriptstringstring-matchingsubstring

How to check whether a string contains a substring in JavaScript?

Published on April 29, 2022

# How to Check Whether a String Contains a Substring in JavaScript? So, you're in a JavaScript coding frenzy and suddenly you find yourself facing the challenge of checking whether a string contains a specific substring. You think to yourself, "Isn't ther

Cover Image for var functionName = function() {} vs function functionName() {}
functionjavascriptmethodssyntax

var functionName = function() {} vs function functionName() {}

Published on April 28, 2022

📝 **Function Declaration vs Function Expression** So, you've just inherited a JavaScript codebase and stumbled upon two different ways of declaring functions: `var functionName = function() {}` and `function functionName() {}`. 🤔 You're scratching your

Cover Image for How do JavaScript closures work?
closuresfunctionjavascriptscopevariables

How do JavaScript closures work?

Published on April 27, 2022

📝 **Title: Demystifying JavaScript Closures: Unlocking the Secrets of Functions** Intro: Hey there, web developers! 🌐💻 If you've ever found yourself scratching your head when it comes to understanding JavaScript closures, then you're in luck! 🍀 In tod

Cover Image for How do I redirect to another webpage?
javascriptjqueryredirect

How do I redirect to another webpage?

Published on April 26, 2022

🌐🔄 **Redirecting to Another Webpage: A Complete Guide!** 🌐🔄 So, you want to redirect your users from one webpage to another? No worries, amigo! In this blog post, we'll dive into this exhilarating realm of web development and show you how to breeze th

Cover Image for What does "use strict" do in JavaScript, and what is the reasoning behind it?
javascriptjslintsyntaxuse-strict

What does "use strict" do in JavaScript, and what is the reasoning behind it?

Published on April 25, 2022

# Understanding "use strict" in JavaScript If you've ever encountered the error message "Missing 'use strict' statement" while running your JavaScript code through a linter or validator, you might have wondered what exactly this statement does and why it

Cover Image for How do I check if an element is hidden in jQuery?
domjavascriptjqueryvisibility

How do I check if an element is hidden in jQuery?

Published on April 24, 2022

# How to Check if an Element is Hidden in jQuery 🕵️‍♂️ Are you struggling to find out if an element is hidden or visible on your web page? Don't worry, we've got your back! In this guide, we'll show you exactly how to check if an element is hidden using

Cover Image for How can I remove a specific item from an array in JavaScript?
arraysjavascript

How can I remove a specific item from an array in JavaScript?

Published on April 23, 2022

# Removing a Specific Item from an Array in JavaScript 😎💪 So you want to remove a specific item from an array in JavaScript, huh? No worries, my friend! In this tutorial, we will walk through different solutions that will help you achieve this task usin

Blog | Matheus Mello