The is an HTML element that can be used to embed a media player on a page that can a variety of video formats. Here’s how a simple video embed with an external video source would look like.
When you have a request in hand and if the URL is having a query string with different parameters, the easiest way to get the entire URL with the query string is using the fullUrl() method like so.
The Fetch API, as you might know, is a modern replacement of the good old XHRHttpRequest (popularly known as Ajax) that gives nicer developer experience (DX) by giving a promise based implementation.
Have you ever stumbled upon a situation in which you need an instance of a class to create its object but with one condition and that is there is no constructor declared for that class?
Working with React.js, it’s a common thing you would see where if something goes wrong, (for instance, a JavaScript error), the entire React.js app would crash instantly and renders blank.
There are a lot of different ways in PHP using which you can validate if the given value is “blank” or not. The method to validate depends upon the type of value that we’re targetting.
Did you know, you can use any class as a facade by prefixing "Facade" to the class' namespace in Laravel like so? These are called "real-time facades" and it helps to avoid the dependency injection! 😍
When I look around the web, most of the shadows I see are fuzzy grey boxes. It doesn’t have to be this way, though! CSS gives us the tools to create rich, lush, lifelike shadows. In this tutorial, I’ll show you how.