Select Page

Author: admin

Draggin’ and Droppin’ in React

The React ecosystem offers us a lot of libraries that all are focused on the interaction of drag and drop. We have react-dnd, react-beautiful-dnd, react-drag-n-drop and many more, but some of them require quite a lot of work to build even a simple drag and drop demo, and some do not provide you with more complex functionality (e.g. multiple drag and drop instances), and if they do, it becomes very complex. This is where react-sortable-hoc comes into play. 💡 This tutorial requires basic knowledge of React library and React hooks. This library has “HOC” in its name for a...

Read More

How to Create a WordPress Gallery Using the Justified Image Grid Plugin

Displaying photos and videos on your website are essential for your website’s success.  Photos and videos on a website can increase engagement by over 65% and encourage visitors to spend a longer period of time on your site. By increasing engagement and keeping your target audience on your website, you will have a much better chance of making a purchase or having visitors sign up for your newsletters. Not only that, having images on your website will help boost your sites SEO ranking, which will increase your daily traffic. Simply uploading photos in WordPress and putting them on your...

Read More

How to Find the Best WordPress Gallery Plugins for Images or Video

How you present your visual content is key to the success of your website or online store. When visual content is done beautifully it encourages visitors to stay longer on your website. It also improves your SEO ranking and make your website easier to find in search results.  However, creating a beautiful gallery for your images and videos takes a lot of work. That’s where a professional WordPress gallery plugin comes in: a gallery plugin makes it easy to present your visual content in an engaging and attractive way. 17 Best WordPress Gallery Plugins Tame chaos and transform your...

Read More

The Making of an Animated Favicon

It’s the first thing your eyes look for when you’re switching tabs. That’s one way of explaining what a favicon is. The tab area is a much more precious screen real-estate than what most assume. If done right, besides being a label with icon, it can be the perfect billboard to represent what’s in or what’s happening on a web page. The CSS-Tricks Favicon Favicons are actually at their most useful when you’re not active on a tab. Here’s an example: Imagine you’re backing up photos from your recent summer vacation to a cloud service. While they are uploading,...

Read More

Staggered CSS Transitions

Let’s say you wanted to move an element on :hover for a fun visual effect. @media (hover: hover) { .list--item { transition: 0.1s; transform: translateY(10px); } .list--item:hover, .list--item:focus { transform: translateY(0); } } Cool cool. But what if you had several list items, and you wanted them all to move on hover, but each one offset with staggered timing? The trick lies within transition-delay and applying a slightly different delay to each item. Let’s select each list item individually and apply different delays. In this case, we’ll select an internal span just for fun. @media (hover: hover) { .list li a span { transform: translateY(100px); transition: 0.2s; } .list:hover span { transform: translateY(0); } .list li:nth-child(1) span { transition-delay: 0.0s; } .list li:nth-child(2) span { transition-delay: 0.05s; } .list li:nth-child(3) span { transition-delay: 0.1s; } .list li:nth-child(4) span { transition-delay: 0.15s; } .list li:nth-child(5) span { transition-delay: 0.2s; } .list li:nth-child(6) span { transition-delay: 0.25s; } } See the Pen Staggered Animations by Chris Coyier (@chriscoyier) on CodePen. If you wanted to give yourself a little more programmatic control, you could set the delay as a CSS custom property: @media (hover: hover) { .list { --delay: 0.05s; } .list li a span { transform: translateY(100px); transition: 0.2s; } .list:hover span { transform: translateY(0); } .list li:nth-child(1) span { transition-delay: calc(var(--delay) * 0); } .list li:nth-child(2) span { transition-delay: calc(var(--delay)...

Read More

Create an Interactive World Map With a WordPress Plugin

There are many options to choose from when you are looking to add a map to your WordPress website. There are even free options for plugins that use Google Maps.  However, the problem with many of the existing WordPress map plugins and free options is the lack of customization available to you.  In order to fit a map into your website and perform specific functions, you will need a plugin that allows you to customize all aspects of the map. The Interactive World Maps WordPress plugin gives you the power to create as many maps as you would like...

Read More

Best Free WordPress Gallery Plugins

There are a lot of free and paid options available if you are looking for the best WordPress gallery plugins. With so many plugins out there, it can be a time-consuming process to find the right one for your needs. Often, you’ll read by reading about the ones you find interesting. After that, you’ll try out their demos and finally install and learn how to use the best ones you find. In this tutorial, I’ll help you figure out the best free WordPress gallery plugins for your use. The plugins listed on this page are all highly rated and...

Read More

All the New ES2019 Tips and Tricks

The ECMAScript standard has been updated yet again with the addition of new features in ES2019. Now officially available in node, Chrome, Firefox, and Safari you can also use Babel to compile these features to a different version of JavaScript if you need to support an older browser. Let’s look at what’s new! Object.fromEntries In ES2017, we were introduced to Object.entries. This was a function that translated an object into its array representation. Something like this: let students = { amelia: 20, beatrice: 22, cece: 20, deirdre: 19, eloise: 21 } Object.entries(students) // [ // [ 'amelia', 20 ], // [ 'beatrice', 22 ], // [ 'cece', 20 ], // [ 'deirdre', 19 ], // [ 'eloise', 21 ] // ] This was a wonderful addition because it allowed objects to make use of the numerous functions built into the Array prototype. Things like map, filter, reduce, etc. Unfortunately, it required a somewhat manual process to turn that result back into an object. let students = { amelia: 20, beatrice: 22, cece: 20, deirdre: 19, eloise: 21 } // convert to array in order to make use of .filter() function let overTwentyOne = Object.entries(students).filter(([name, age]) => { return age >= 21 }) // [ [ 'beatrice', 22 ], [ 'eloise', 21 ] ] // turn multidimensional array back into an object let DrinkingAgeStudents = {} for (let [name, age]...

Read More

How to Create a Simple Event Calendar For Your PHP Website

In this post, we’re going to review Events Calendar from CodeCanyon. This script allows you to add calendars to your PHP website. It’s a ready-to-use tool which you can integrate in your existing PHP website and start using today! If you’re building a website which is related to events or would like to present your site events in an interactive and interesting way, then you’ve come to the right place!  There are plenty of premium calendar extensions and scripts available for your PHP website. For each of these premium scripts and extensions, you can expect quality code, bug fixes, support, and new enhancements....

Read More
www.000webhost.com