If string contains a substring in JavaScript use the following – <script type=”text/javascript”> const string = “foo”; const substring = “oo”; console.log(string.includes(substring)); // true </script>
How do I format a date in JavaScript?
May 23, 2022
To format a date use the following code – <script type=”text/javascript”> var options = { weekday: ‘long’, year: ‘numeric’, month: ‘long’, day: ‘numeric’ }; var… Read More →
How to Permanently Delete All Trashed Posts in WordPress Using SQL Queries: Step-by-Step Guide
May 16, 2022
WordPress is a powerful content management system that stores all your site’s data in a database. Over time, as you create, edit, and remove content,… Read More →
Master JavaScript For Loops: The Complete Guide to Syntax, Examples, and Best Practices for Beginners to Experts
May 13, 2022
This comprehensive guide will explore the JavaScript for loop from fundamental concepts to advanced implementation patterns. As one of the most essential control flow statements… Read More →
How To Create a Blurry Background Image with CSS
May 13, 2022
Create a Blurry Background Image with CSS /* The image used */ background-image: url(“photographer.jpg”); /* Add the blur effect */ filter: blur(8px); -webkit-filter: blur(8px); /* Full height */… Read More →
Mastering Modern Web Navigation: A Comprehensive Guide to Building Responsive Navigation Bars
May 13, 2022
The navigation bar, often referred to as a “navbar,” serves as the digital compass of any website. It is the primary tool that allows users… Read More →
Mysql Insert into table values
May 13, 2022
SQL Statement INSERT INTO Customers (CustomerName, ContactName, Address, City, PostalCode, Country) VALUES (‘Cardinal’,’Tom B. Erichsen’,’Skagen 21′,’Stavanger’,’4006′,’Norway’); Know more at – https://www.w3schools.com/sql/sql_insert.asp
html sortable table with Javascript
May 13, 2022
Click the button to sort the table alphabetically, by name: Sort Name Country Berglunds snabbkop Sweden North/South UK Alfreds Futterkiste Germany Koniglich Essen Germany Magazzini… Read More →
How to change Magento 2 Admin password?
May 13, 2022
To reset the password for the Magento administrator account, you can follow these steps: Go to the Magento website’s login page. Click on the “Forgot… Read More →
Delete unused images from my media folder ?
May 13, 2022
Use the Hackathon EAV cleaner module for this. After installation you can use the command eav:media:remove-unused Also you can do it by installing the module… Read More →