How to check if a string contains a substring in JavaScript
Learn how to use String.prototype.includes, and String.prototype.indexOf to see how to check if a string contains a substring in JavaScript
Become an expert in ReactJS, TypeScript, and JavaScript.
Here you will find my personal recomendations to you, for full disclosure I earn a small commission from some of these links, but I only recommend what I trust and personally use.
Learn how to use String.prototype.includes, and String.prototype.indexOf to see how to check if a string contains a substring in JavaScript
Find out how to use dangerouslySetInnerHTML in React, along with using it with script tags, without div tags, alternatives and more!
Find out how to compare two dates in JavaScript, with and without time, with and without libraries like date-fns.
In this post about What is JSONP and How to use JSONP in JavaScript find out about what is JSONP, Why it was created and what it is meant to mitigate
In this post find the quick and simple solution for how to decode a URL in JavaScript - Quick Fix Series!
In this post find the quick and simple solution for how to encode a URL in JavaScript - Quick Fix Series!
In this post find the quick and simple solution for how to use functions and closures inside a loop in JavaScript - Quick Fix Series!
In this post find the quick and simple solution for how to get the selected value in dropdown list using JavaScript - Quick Fix Series!
In this post find the quick and simple solution for how to programmatically navigate using React Router - Quick Fix Series!
In this post find the quick and simple solution for how to use React Router with an optional path parameter - Quick Fix Series!