Search Results

Showing results for "javascript"

Latest Articles

Cover Image for Are double and single quotes interchangeable in JavaScript?
javascriptstring

Are double and single quotes interchangeable in JavaScript?

Published on August 20, 2021

# Single or Double Quotes in JavaScript: Are They Interchangeable? πŸ€”πŸ’¬ Have you ever wondered why some JavaScript developers use single quotes while others prefer double quotes when declaring strings? πŸ€·β€β™€οΈ Well, you're not alone! In this blog post, we'l

Cover Image for Remove duplicate values from JS array
arraysduplicatesjavascriptjqueryunique

Remove duplicate values from JS array

Published on August 19, 2021

# Removing Duplicate Values from JavaScript Array: A Quick Guide Are you struggling to remove duplicate values from a JavaScript array? Look no further! In this blog post, we'll address this common issue and provide you with easy solutions. Whether you're

Cover Image for How to convert a string to an integer in JavaScript
data-conversionintegerjavascriptstring

How to convert a string to an integer in JavaScript

Published on August 18, 2021

πŸ”’How to Convert a String to an Integer in JavaScriptπŸ”’ So, you want to convert a string to an integer in JavaScript? Don't worry, you're not alone! Converting a string to an integer is a common task and can come in handy in various programming scenarios.

Cover Image for Get selected value in dropdown list using JavaScript
html-selectjavascript

Get selected value in dropdown list using JavaScript

Published on August 17, 2021

πŸ“ Hey there, tech enthusiasts! Today, we are diving into a common JavaScript challenge: how to get the selected value from a dropdown list. πŸ€” Don't worry, we've got you covered! In this blog post, we will walk you through the process, provide easy soluti

Cover Image for Iterate through object properties
javascriptloopsobject

Iterate through object properties

Published on August 16, 2021

# πŸš€ Iterating Through Object Properties: A Beginner's Guide Are you struggling to iterate through object properties in JavaScript? πŸ€” Don't worry, you're not alone! Many developers find this concept confusing at first. But fear not, because in this blog

Cover Image for JavaScript check if variable exists (is defined/initialized)
functioninitializationjavascriptundefinedvariables

JavaScript check if variable exists (is defined/initialized)

Published on August 15, 2021

πŸ‘‹πŸ‘‹ Hey there, tech enthusiasts! Today we're diving into the world of JavaScript and tackling a common question that often pops up in our coding adventures: how can we check if a variable exists and is initialized in JavaScript? πŸ€”πŸ’» Imagine this scenari

Cover Image for How can I guarantee that my enums definition doesn"t change in JavaScript?
javascript

How can I guarantee that my enums definition doesn"t change in JavaScript?

Published on August 14, 2021

# Title: 🌈 How to Create Immutable Enums in JavaScript πŸš€ Have you ever found yourself needing to use enums in JavaScript, only to realize that they are not built-in like in some other programming languages? πŸ˜• Fear not, because in this blog post, we wil

Cover Image for $(document).ready equivalent without jQuery
javascriptjquerypageload

$(document).ready equivalent without jQuery

Published on August 13, 2021

## Title: Lighten Up Your Script: A jQuery-free Solution to $(document).ready πŸ“ Hey there tech enthusiasts! Are you tired of unnecessary dependencies weighing down your script? πŸ’ͺ If you're using jQuery solely for its $(document).ready functionality and

Cover Image for How to get the children of the $(this) selector?
javascriptjqueryjquery-selectors

How to get the children of the $(this) selector?

Published on August 12, 2021

# How to Get the Children of the $(this) Selector? πŸ€” Hey there, tech enthusiasts! πŸ‘‹ Are you having trouble selecting the child `img` inside a `div` when using the `$(this)` selector? Don't worry, you're not alone! In this blog post, we'll address this c

Blog | Matheus Mello