Thursday, February 6

Web Tricks

Introduction To Animation And The iMessage App Store With Shruggie
Web Tricks

Introduction To Animation And The iMessage App Store With Shruggie

Introduction To Animation And The iMessage App Store With ShruggieIntroduction To Animation And The iMessage App Store With Shruggie Simon Schmid 2018-09-10T14:45:42+02:00 2018-09-10T15:25:11+00:00 When the App Store for iMessage in late 2016 went live, I released Kaomotion, a sticker app with animated kaomoji inside. Ever since the release of this app, I wanted to write up a tutorial about how a simple text character like shruggie (i.e. ¯_(ツ)_/¯) can be animated to give it life-like features: The Shruggie animation we’re going to make. (Large preview)What you are going to read in this article is a step-by-step guide of setting up a canvas in After Effects an...
What’s New for Designers, September 2018
Web Tricks

What’s New for Designers, September 2018

This month’s collection of new tools and elements for designers has a common theme – productivity. There are so many things here to help you do work better and more efficiently. But there’s fun too…make sure to look for some of the hidden design gems deep in this article. They’ll bring a smile to your face for sure. If we’ve missed something that you think should have been on the list, let us know in the comments. And if you know of a new app or resource that should be featured next month, tweet it to @carriecousins to be considered! Brandy Brandy is a brand asset management tool for macOS. Use it to keep up with colors, logos, gradient patterns and fonts by project. Everything works in real-time and one account can contain as many brand projects as you like. Plus, it works using drag and...
Popular Design News of the Week: September 3, 2018 – September 9, 2018
Web Tricks

Popular Design News of the Week: September 3, 2018 – September 9, 2018

Every week users submit a lot of interesting stuff on our sister site Webdesigner News, highlighting great content from around the web that can be of interest to web designers.  The best way to keep track of all the great stories and news being posted is simply to check out the Webdesigner News site, however, in case you missed some here’s a quick and useful compilation of the most popular designer news that we curated from the past week. Note that this is only a very small selection of the links that were posted, so don’t miss out and subscribe to our newsletter and follow the site daily for all the news. Fix for WordPress Gutenberg 3.7.0 ‘Unexpected Error’ that Broke the Editor   The Typographic Details Behind Typewolf’s Favorite Sites of August 2018   If You Haven’t Already Switched t...
Getting Started With Machine Learning
Web Tricks

Getting Started With Machine Learning

Getting Started With Machine LearningGetting Started With Machine Learning Alvin Wan 2018-09-07T14:00:26+02:00 2018-09-07T14:07:14+00:00 The goal of machine learning is to find patterns in data and use those patterns to make predictions. It can also give us a framework to discuss machine learning problems and solutions — as you’ll see in this article. First, we will start with definitions and applications for machine learning. Then, we will discuss abstractions in machine learning and use that to frame our discussion: data, models, optimization models, and optimization algorithms. Later on in the article, we will discuss fundamental topics that underlie all ma...
4 Best Practices for Designing Mega-Footers
Web Tricks

4 Best Practices for Designing Mega-Footers

Have you ever visited a website, looked around for a bit, and then headed straight to the footer to find the information you were looking for? You’re not the only one. Footers are unique pieces of screen real estate that offer a number of benefits. They house important information (like contact details and copyright statements) and navigation options that make it easier for users to find what they’re looking for. In this article, we’ll talk about the importance of website footers and how you can use them to help your website’s visitors easily find what they’re looking for. We’ll also walk through some of the best practices you should keep in mind when designing mega-footers—the footer equivalent of the mega-menu. Why Footers Are Important We’re inclined to put a lot of effort into designi...
Web Tricks

Using Font Awesome 5 with React

Font Awesome is an... awesome (sorry I had to) product. React is a brilliant coding library. It would only make sense to use them together. I've been using Font Awesome for a long time and was stoked when their Kickstarter for the new version went live. There's a whopping 3,978 icons as of the time of this writing! We use React and Font Awesome together whenever you see an icon here on Scotch. That includes the user navigation, cards, brand icons, and more. While the Font Awesome team has made a React component to make this integration easy, I found a couple gotchas and had to understand some fundamental things about the new Font Awesome 5 and how it's structured. I'll write up what I found and the ways to use the React Font Awesome component. Ways to use Font Awesome Normally, if you we...
Web Tricks

Designing A Textbox, Unabridged

Designing A Textbox, UnabridgedDesigning A Textbox, Unabridged Shane Hudson 2018-09-06T13:30:16+02:00 2018-09-06T11:42:22+00:00 Ever spent an hour (or even a day) working on something just to throw the whole lot away and redo it in five minutes? That isn’t just a beginner’s code mistake; it is a real-world situation that you can easily find yourself in especially if the problem you’re trying to solve isn’t well understood to begin with. This is why I’m such a big proponent of upfront design, user research, and creating often multiple prototypes — also known as the old adage of “You don’t know what you don’t know.” At the same time, it is very easy to look at s...
Local Vs. Global Web Design: How to Reach the Right Audience
Web Tricks

Local Vs. Global Web Design: How to Reach the Right Audience

Businesses have more options today in terms of how they get their goods and services out to customers: strictly brick-and-mortar, 100% online, or a combination of the two. Because of this, web design isn’t necessarily as straightforward as we’d like it to be. Of course, there will always be certain best practices to abide by—abundant white space; responsive and mobile-first design; easy-to-find CTAs; streamlined user flow; consistent design and messaging site-wide. But big-picture items aside, what exactly do you need to know about designing for local businesses, global enterprises, and those that attempt to span both categories? Let’s take a look at the differences in designing for audiences based on location. Local vs. Global Web Design, What You Need to Know Below are 4 parts of the we...
Web Tricks

Building the New Scotch.io Animated SVG Logo

In this article we will be looking at how we implemented the new animated logo of Scotch.io, a visual detail to complement all the improvements that the site has experienced. Something like the icing on the cake :) For those who have not yet played a bit with the animation of the new logo, they can do so by moving the cursor inside (to resume animation) or outside (to pause animation) of the logo in the top left corner. If you want to know all the details about how it was implemented, just keep reading! Keeping the Waves Inside the Cup One of the first things we had to do was to keep the waves inside the cup. First we thought about cutting the waves using just a circular HTML element, using border-radius and overflow: hidden in the CSS. However, this was not possible, since the waves had t...
Web Tricks

Preparing Your App For iOS 12 Notifications

Preparing Your App For iOS 12 NotificationsPreparing Your App For iOS 12 Notifications Kaya Thomas 2018-09-05T13:30:35+02:00 2018-09-06T11:42:22+00:00 In 2016, Apple announced a new extension that will allow developers to better customize their push and local notifications called the UNNotificationContentExtension. The extension gets triggered when a user long presses or 3D touches on a notification whenever it is delivered to the phone or from the lock/home screen. In the content extension, developers can use a view controller to structure the UI of their notification, but there was no user interaction enabled within the view controller — until now. With the r...
Web Tricks

Integrating MongoDB and Amazon Kinesis for Intelligent, Durable Streams

You can build your online, operational workloads atop MongoDB and still respond to events in real time by kicking off Amazon Kinesis stream processing actions, using MongoDB Stitch Triggers. Let’s look at an example scenario in which a stream of data is being generated as a result of actions users take on a website. We’ll durably store the data and simultaneously feed a Kinesis process to do streaming analytics on something like cart abandonment, product recommendations, or even credit card fraud detection. We’ll do this by setting up a Stitch Trigger. When relevant data updates are made in MongoDB, the trigger will use a Stitch Function to call out to AWS Kinesis, as you can see in this architecture diagram: What you’ll need to follow along: An Atlas instance If you don’t already have a...
Web Tricks

Code Challenge #13: Going From ES5 to ES6

Previously on the Scotch Code Challenge, we have solved challenges involving String, Object and Array Manipulation with functional programming patterns. How about we touch up the script in ES6! This week on the Code Challenge we will convert ES5 code to even better and shorter code using ES6 Syntax. ES6 is an update of JavaScrpt which shipped with tons of amazing features to make write JavaScript painless and bug-free! Previously we all used ES5, pretty decent but more prone to leaks and more arduous to write. The Challenge In this challenge, we are required to re-write simple ES5 code to ES6. This challenge focuses on the most common ES6 features utilized. Including: Arrow Functions Enhanced Object Literals Template Literals Destructuring Spread Operation. Five challenges are listed in th...
Web Tricks

Debugging Create React App Applications in Visual Studio Code

In this post, we are going to create an Create React App application, then add configuration to debug it in Visual Studio Code. Watch on YouTube TLDR - For an Create React App application, install the Debugger for Chrome extension, create a debug configuration in VS Code, and then run in debug mode. Learn VS Code If you're interested in learning more about VS Code, you definitely want to check out the upcoming Learn VS Code course. Creating a Starter Project To be able to test an Create React App application, you need an Create React App application :) I'll provide the basic steps, but for more reference on how to get started look at the Create React App page. First, you'll need to install the Create React App. npm install -g create-react-app After that finishes, you'll need to actu...
Web Tricks

Take A New Look At CSS Shapes

Take A New Look At CSS ShapesTake A New Look At CSS Shapes Rachel Andrew 2018-09-04T13:30:57+02:00 2018-09-04T11:38:45+00:00 CSS Shapes Level 1 has been available in Chrome and Safari for a number of years, however, this week it ships in a production version of Firefox with the release of Firefox 62 — along with a very nice addition to the Firefox DevTools to help us work with Shapes. In this article, I’ll take a look at some of the things you can do with CSS Shapes. Perhaps it’s time to consider adding some curves to your designs? What Are CSS Shapes? The CSS Shapes specification Level 1 defines three new properties: shape-outside shape-image-threshold shap...
Streamlining UX with Anticipatory Design
Web Tricks

Streamlining UX with Anticipatory Design

Creating great UX is a primary goal for all product designers. It’s up to the designer to make a process of interaction with a product as simple as possible. Modern products try to achieve simplicity by following a fundamentally different approach called Anticipatory Design. This article is intended to make you familiar with the concept of anticipatory design, as well as share a few excellent examples of how anticipatory design can be used in practice. What is Anticipatory Design? Anticipatory design is a design that delivers what users want before they want it. It can be said that anticipatory design is one step ahead of users. How Does Anticipatory Design Work? Since making a decision requires some cognitive resources, it’s possible to save resources by removing the need to make a decis...