Thursday, April 25
Web Tricks

​DDoS Protection Mastery Starts Here

We're very excited to announce the launch of the online DDoS Protection Bootcamp. Built for IT security and network ops professionals, this one-of-a-kind online training portal offers an unprecedented selection of free courses and challenging quizzes that test and improve your DDoS protection skills. Jointly prepared by Imperva Incapsula and DDoS testing firm NimbusDDoS, the DDoS Protection Bootcamp leverages the domain expertise of both companies to offer in-depth technical training in DDoS protection. Until now, you literally had to work for a security company to have access to this level of knowledge. Unlike other training sites, the DDoS Protection Bootcamp is uniquely designed to combine rich educational content with a fun online quiz-based format that lets you measure your knowledge ...
Animating SVG Files With SVGator
Web Tricks

Animating SVG Files With SVGator

Animating SVG Files With SVGatorAnimating SVG Files With SVGator The Smashing Editorial 2018-07-19T14:00:00+02:00 2018-07-19T14:53:54+00:00 (This article is kindly sponsored by SVGator.) Animated SVG files have become very popular. They are entirely scalable (because they are vectors), small and 100% code-based, which allows for so many transformations and tweaks. This, however, comes at a price: the steep learning curve for complete beginners. SVGator pledges to solve this problem, making it really easy for anyone to make simple animations using a familiar interface. It’s a web-based animation app that lets you import, animate and export SVG animations, and i...
How to Tackle a Redesign
Web Tricks

How to Tackle a Redesign

Stepping into a website that’s already well-established isn’t always easy. For starters, you have to be careful about not stepping on anyone’s toes (the client’s or even the previous designer’s) when providing feedback or suggestions on a new direction for the site. Secondly, there’s much more at stake with a redesign. Not only could a wrong turn hurt an established brand’s identity, but there’s also the disruption to SEO to consider. That said, redesign projects can be incredibly rewarding. With from-scratch designs, there’s really no baseline to compare your work against. With a redesigned website, you can look back at the performance of the last iteration and compare it against what you’ve been able to accomplish. If you’re intrigued by the prospect of tackling a redesign project, but ...
How to Install Google Adsense with Google Tag Manager (GDPR ready)
Google Tag Manager

How to Install Google Adsense with Google Tag Manager (GDPR ready)

If you run a website and want to earn some beer money (or more, if your traffic is more significant), Google Adsense is one of the options for how to generate some passive income. Once you sign up, generate codes for ad placements and add them to your website. When a visitor lands on your page (and if he/she is not using adblockers) that piece of code will load an ad/banner. After that banner is displayed/clicked, your account will get some revenue share from Google. Easy as that. If you want, you can add more ad placements to a website but every additional ad will require an additional code snippet added to a website. Anyway, no big deal. Now, after GDPR went into effect (on May 25th, 2018), Adsense ads also became affected by this EU regulation (because those ads deal with personal data)...
Web Tricks

Getting Started with Component Transitions in Vue

When we build applications, we aim to make them easy on the eye. We want our users to have a smooth experience using it, and to feel our application flowing from one point to another, rather than just jump between screens. If we switch components without transitions, we see a sharp change every time a new component is called up. This is not ideal and can result in our users having a poor experience with our application. In this tutorial, we will look at how to improve the flow of our application using component transitions in Vue. Prerequisites Vue CLI 3 for installing Vue Knowledge of JavaScript Knowledge of Vue.js Setup Our Application To begin, we will create a Vue application. Run the following command: $ vue create component-transitions $ cd component-transitions Once we are done cre...
CSS Tricks

What bit of advice would you share with someone new to your field?

The most FA of all the FAQs. Here's Laura Kalbag: Find what you love. Don’t worry about needing to learn every language, technique or tool. Start with what interests you, and carve your own niche. And then use your powers for good! And my own: Buy a domain name. Figure out how to put an HTML file up there. Isn’t that a powerful feeling? Now you’ve got table stakes. Build something. Definitely, go read other A Book Apart author answers because they are all great. My other favorite is just three words. Direct Link to Article — PermalinkThe post What bit of advice would you share with someone new to your field? appeared first on CSS-Tricks. Source: CSS-tricks.com
Automate Your Workflow with Node
CSS Tricks

Automate Your Workflow with Node

You know those tedious tasks you have to do at work: Updating configuration files, copying and pasting files, updating Jira tickets. Time adds up after a while. This was very much the case when I worked for an online games company back in 2016. The job could be very rewarding at times when I had to build configurable templates for games, but about 70% of my time was spent on making copies of those templates and deploying re-skinned implementations. What is a reskin? The definition of a reskin at the company was using the same game mechanics, screens and positioning of elements, but changing the visual aesthetics such as color and assets. So in the context of a simple game like ‘Rock Paper Scissors,’ we would create a template with basic assets like below. But when we create a reskin of th...
Linkbuilding: The Citizen’s Field Guide
Web Tricks

Linkbuilding: The Citizen’s Field Guide

Linkbuilding: The Citizen’s Field GuideLinkbuilding: The Citizen’s Field Guide Myriam Jessier & Stéphanie Walter 2018-07-18T13:35:07+02:00 2018-07-18T17:57:52+00:00 Before buying followers on Instagram was a common practice, before Russian trolls made fake news an Olympic sport, we had linkbuilding. Today, we still have linkbuilding, its just that you haven't noticed it — or have you? Welcome, to the Twilight Zone, dear folks. You are about to go through a linkbuilding crash course. This will help you preserve your website, detect potential problems in content or consider why you keep receiving strange emails from strangers wanting to get their links all o...
CSS Tricks

CSS-in-JS: FTW || WTF?

I enjoyed Bruce Lawson's talk on this holiest of wars. It's funny and lighthearted while being well researched and fairly portraying the good arguments on both sides. The post CSS-in-JS: FTW || WTF? appeared first on CSS-Tricks. Source: CSS-tricks.com
So You Want to Persuade Users? Make Things Simple!
Web Tricks

So You Want to Persuade Users? Make Things Simple!

So You Want to Persuade Users? Make Things Simple!So You Want to Persuade Users? Make Things Simple! Lyndon Cerejo 2018-07-17T16:15:38+02:00 2018-07-17T15:48:55+00:00 (This article is kindly sponsored by Adobe.) The persuasive design toolbox is filled with powerful tools based on psychology. These tools range from Cialdini’s set of six principles of persuasion to ten times that number of Persuasive Patterns. Presented with all these methods, it can be tempting to use all of them to cover all possible bases, using a shotgun approach, hoping that one will resonate with your target users. However, applying persuasion principles and patterns in a haphazard manner ...
CSS Tricks

Render Children in React Using Fragment or Array Components

What comes to your mind when React 16 comes up? Context? Error Boundary? Those are on point. React 16 came with those goodies and much more, but In this post, we'll be looking at the rendering power it also introduced — namely, the ability to render children using Fragments and Array Components. These are new and really exciting concepts that came out of the React 16 release, so let’s look at them closer and get to know them. Fragments It used to be that React components could only return a single element. If you have ever tried to return more than one element, you know that you’ll will be greeted with this error: Syntax error: Adjacent JSX elements must be wrapped in an enclosing tag. The way out of that is to make use of a wrapper div or span element that acts as the enclosing tag. So ...
10 Data Visualization Best Practices for the Web
Web Tricks

10 Data Visualization Best Practices for the Web

Data visualization has quickly become a standard for disseminating information on the web. It’s used across a range of industries, from business intelligence to journalism, to help us understand and communicate the insights within data. Our brains are primed to process information that’s presented visually, making it much easier for us to understand data visualized in charts and graphs than data listed in tables and spreadsheets. A great data visualization should leverage these strengths of the human visual system to display data so that it can be readily absorbed and understood. It should take into account what we know about visual processing to enhance and ease the viewers’ experience of the data. With so many tools and frameworks now available for building these graphics, it’s time to ...
CSS Tricks

PSA: Yes, Serverless Still Involves Servers.

You clever dog. You've rooted it out! It turns out when you build things with serverless technology you're still using servers. Pardon the patronizing tone there, I've seen one-too-many hot takes at this point where someone points this fact out and trots away triumphantly. And yes, because serverless still involves servers, the term might be a bit disingenuous to some. You could be forgiven for thinking that serverless meant technologies like web workers, which use the client to do things you might have otherwise done on a server and is where the term serverless was headed. Alas, it is not. What serverless really means: Using other people's servers instead of running your own. You're probably already doing that, but serverless takes it to another level where you have no control over the ...
Cannot Verify Google Search Console with Google Tag Manager? Read this.
Google Tag Manager

Cannot Verify Google Search Console with Google Tag Manager? Read this.

Google Search Console (previously known as Google Webmaster Tools) is a free tool by Google. Among all of its other features, it lets you better understand how people are finding your website through Google’s search. It displays keywords, their volume, click-through-rate, etc. But in order to get access to such data, you need to verify the ownership of that particular website. For your convenience, there is a whole bunch of options to do that: you can upload an HTML file, you can add a little piece of code to website’s source code, etc. In 2013, Google added yet another way how to verify the site ownership in Google Search Console, with Google Tag Manager. Apparently, things are not that easy here because I see a lot of people complaining online that they cannot verify Google Search Consol...
Create your own Serverless API
CSS Tricks

Create your own Serverless API

If you don’t already know of it, Todd Motto has this great list of public APIs. It’s awesome if you’re trying out a new framework or new layout pattern and want to hit the ground running without fussing with the content. But what if you want or need to make your own API? Serverless can help create a nice one for data you’d like to expose for use. Serverless really shines for this use case, and hopefully this post makes it clear why. In a non-serverless paradigm, we have to pick something like express, we have to set up endpoints, we have to give your web server secured access to your database server, you have to deploy it, etc. In contrast, here we'll be able to create an API in a few button clicks, with minor modifications. Here’s the inspiration for this tutorial: I've been building a ...