In this video, I'm going to show you my list of the most common javascript snippets!Source code: https://github.com/mdbootstrap/knowledge-base/tree/main/usef...
Visual Studio Code and Emmet let you make snippets that write large blocks of code with tiny shortcuts.❤ Subscribe: http://bit.ly/SubscribeDPTIn this tutoria...
Visual Studio Code and Emmet let you make snippets that write large blocks of code with tiny shortcuts. ❤ Subscribe: http://bit.ly/SubscribeDPT In this tutor...
Flexbox makes it easier to design a flexible responsive layout structure without using float or positioning.
In this article, we would look at 5 ways to actually copy an array in JavaScript. Arrays in JavaScript by default are reference values.
The box-sizing property can make building CSS layouts easier and a lot more intuitive. It defines how the width and height of an element are calculated.
I've received a few requests on how to highlight the syntax of snippets of in a blog like I have. Here is an example snippet of SCSS code, so you can see exactly what I'm referring to.
Sometimes we may need to convert a variable of type String to Integer and from Integer to String. Python provides a built-in method to do this exercise. The methods are int() to convert String to Integer and str() to convert Integer to String.
In this article, we will see the difference between Inline vs. inline-block. The display property defines how the components are going to
SQL Trigger differ from stored procedures in that they are not called directly by the user: when a certain event occurs in the table, they are executed.
In database management, an aggregate function or aggregation function, according to Wikipedia, is a function where the values of multiple rows are grouped to form a single summary value.
Convert PHP Array to JSON. In this tutorial we’ll learn about the JSON format and how to convert PHP data structures into JSON. Convert PHP Object to JSON.
Today you'll learn how to use the MySQL INSERT INTO SELECT query to insert data into a table where data comes from the result of SELECT query.
Let's say I have this URL: And I want this URL: I can do so with the following : I can even still GET the URL query. Alternatively, you…
In this tutorial, you’ll learn four methods to remove the last character from a string in PHP. You can use any one of the following methods
Recently, I had to set up a scheduled task on a server, which is a little intimidating and scary the first time around, so here's a quick article about the steps for setting up a basic cron job.
In this tutorial we’ll learn how to add one or more elements onto the end of array. array_push() is a PHP function that is used to add one
This React Fetch hook is created by composing the useState and useEffect hooks. The three states of a fetch request in the above code snippet
Sometimes we may need to Trim String, whitespace characters from the left side, right side, or both sides of a string. For this purpose Python provides three methods to Trim String. The strip() string method will return a new string without any whitespace characters at the beginning or end. The lstrip() method will remove whitespace characters from the left side rstrip() method will remove whitespace characters from the Right side
I often like to start my projects from scratch and stray away from using frameworks. HTML5 Boilerplate is a really great resource for creating a style-agnostic web project foundation; all your bases will be covered.