Monday, June 30
Web Performance For Third Party Scripts: SmashingConf Videos
Web Tricks

Web Performance For Third Party Scripts: SmashingConf Videos

Web Performance For Third Party Scripts: SmashingConf VideosWeb Performance For Third Party Scripts: SmashingConf Videos The Smashing Editorial 2018-08-08T13:30:35+02:00 2018-08-09T16:03:42+00:00 We are continuing our exploration of video from Smashing Conferences this year with two videos that explore the impact of third party scripts. These scripts can add functionality, and give us valuable information, but what do they cost? These two talks will help you to assess the third party scripts you might be considering adding to a site, and to be able to advise your clients or team members when the request comes in to add yet another script to a global include fi...
CSS Tricks

Slow Websites

The web has grown bigger. Both in expansiveness and weight. Nick Heer's "The Bullshit Web": The average internet connection in the United States is about six times as fast as it was just ten years ago, but instead of making it faster to browse the same types of websites, we’re simply occupying that extra bandwidth with more stuff. Nick clearly explains what he means by bullshit, and one can see a connection to Brad Frost's similarly framed argument. Nick talks about how each incremental interaction is a choice and connects the cruft of the web to the rise and adoption of frameworks like AMP. Ethan Marcotte paints things in a different light by looking at business incentive: ...ultimately, the web’s performance problem is a problem of profitability. If we’re going to talk about bloated pag...
Web Tricks

Debugging Go Code with Visual Studio Code

I recently wrote about My Top VSCode Tips and Tricks and among them was Debugging. In this article, I'll cover how to debug your Go code, so it goes without saying that a prerequisite for this article is that you understand the basics of writing Go. If you do not have experience writing Go, and would like to learn, here's a really short short list of the best resource to start your Go journey. A Tour of Go Setup You need have the following requirements met. You know a little about Go to write a simple program, or even a small http server. You have go installed in your machine and the environment variable $GOPATH is set. (It defaults to ~/go) The path $GOPATH/bin is exposed to your PATH. You have Visual Studio Code installed. You should have the VSCode-Go plugin installed. Once you have thi...
Sticky, Smooth, Active Nav
CSS Tricks

Sticky, Smooth, Active Nav

Just like the title says! Here's a sidebar navigation bar that... Uses sticky positioning. It stays on the screen when it can, but won't overlap the header, footer, or ever make any of it's links inaccessible. Scrolls smoothly to the sections you click to. Activates the current nav based on scroll position (it's a single page thing). See the Pen Sticky, Smooth, Active Nav by Chris Coyier (@chriscoyier) on CodePen. Sticky It's easy to toss position: sticky; top: 0; on something. But for it to work, it's gotta be within a taller parent element. So, the unordered list (<ul>) within the navigation (<nav>) works great here. Thanks to the CSS grid layout, the <nav> is as tall as the <main> content area. However, note that that we also gotta position: -webkit-sticky; for...
How to Build Client Loyalty
Web Tricks

How to Build Client Loyalty

Web designers are some of the hardest working people I know. Which is why I don’t envy them having to design websites and other content for clients while managing their freelance design business and continually being on the lookout for new clients. Something I’m reminded of when I think about this, however, is the fact that it’s 25% more expensive to find new clients than retain the ones you already have. It makes sense when you think about how much time you put into scouring the web for clients, reaching out in the hopes of pitching your portfolio, and, possibly, onboarding them as a client. it’s 25% more expensive to find new clients than retain the ones you already have Retaining clients, on the other hand, just doesn’t require as much work. You’ve already laid the foundation and esta...
CSS Tricks

Short note on the accessibility of styled form controls

Styling and accessibility are often at odds with each other. Scott O'Hara has this repo that shows how the two can work really well together in the context of form controls. The trade-offs between native and styled controls reminds me of Eric Bailey's case study on focus styles: A common misconception is that the focus style can only use the outline property. It’s worth noting that :focus is a selector like any other, meaning that it accepts the full range of CSS properties. I like to play with background color, underlining, and other techniques that don’t adjust the component’s current size, so as to not shift page layout when the selector is activated. The nice thing about Scott's repo is that it serves as a baseline that can be pulled into a project and customized from there. Sort of li...
Web Tricks

A Simple Tip to Improve Your Productivity With Monday.com

I believe we can all agree that time is an asset that we do not have. One minute you are 19 and playing video games, hanging out with friends, the next minute you are 45 and driving kids to school. It’s true we do not have enough time on our hands, doesn’t mean we can’t utilize the little time we have. One of the best skills to have in this world is time management. Proper time management leads to increased productivity, increased productivity can lead to things like more money, time relax or just have fun. There are many tools that help you manage your time: we have Trello, Basecamp, Asana and many others. Today, we’ll be talking about Monday.com. Monday is neither “Trello clone” nor a spreadsheet. In a world where many tools have come up to solve the time management needs of creatives n...
Web Tricks

Handling Authentication In Vue Using Vuex

Traditionally, many people use local storage to manage tokens generated through client-side authentication. A big concern is always a better way to manage authorization tokens to allow us to store even more information on users. This is where Vuex comes in. Vuex manages states for Vue.js applications. It serves as a centralized store for all the components in an application, with rules ensuring that the state can only be mutated in a predictable fashion. Sounds like a better alternative to always checking localStorage? Let’s explore it. Prerequisites Knowledge of JavaScript Node installed on your local system Knowledge of Vue Have Vue CLI installed Have read Vue Authentication And Route Handling Using Vue-router ― Scotch Setting up the application modules For this project, we want to creat...
Let’s make a form that puts current location to use in a map!
CSS Tricks

Let’s make a form that puts current location to use in a map!

I love shopping online. I can find what I need and get most things for a decent price. I am Nigerian currently working and studying in India, and two things I dread when shopping online are: Filling out a credit card form Filling out shipping and billing address forms Maybe I’m just lazy, but these things are not without challenges! For the first one, thanks to payment processing services like PayPal and e-wallets, I neither have to type in my 12-digit credit card number for every new e-commerce site I visit, nor have to save my credit card details with them. For the second, the only time-saving option given by most shopping websites is to save your shipping address, but you still have to fill the form (arrghh!). This is where the challenge is. I've had most of my orders returned because ...
Web Tricks

6 Awesome Ways to Take A Screenshot of your Code

Introduction At some point behind that screen, you’ll need to capture an image of code - whether it’s yours or someone else's. This could be for different reasons; reference for an article, asking for help from a forum, showing off on Twitter, or even storing valuable tidbits that you’d like to go through later. Either way, the importance of screenshot tools cannot be overemphasized right now because like it or not, we could all use one. After some digging, here are six awesome ways to take screenshots of your code. Let’s look in! Polacode Polacode is a Visual Studio Code extension that lets you create unique and sharable screenshots of your code. While using Polacode, it retains your existing theme and fonts and renders them for an awesome layout. Check this out: In the screenshot abo...
20 Best New Portfolios, August 2018
Web Tricks

20 Best New Portfolios, August 2018

Ladies, Gentlemen, and Our Secret Reptilian Overlords, I asked for more color in last month’s article, and you have delivered. It’s August, now, and to distract myself from the oppressive heat, I have gathered some 20 of these more colorful designs together for your perusal. So as you might guess, there’s a fair bit of variety this month. There’s still some good old monochromatic minimalism for those of you who like that, so never fear. There’s just a bit more balance, this time around. Note: I’m judging these sites by how good they look to me. If they’re creative and original, or classic but really well-done, it’s all good to me. Sometimes, UX and accessibility suffer. For example, many of these sites depend on JavaScript to display their content at all; this is a Bad Idea, kids. If you ...
Attracting Users To Evaluate Your Product
Web Tricks

Attracting Users To Evaluate Your Product

Attracting Users To Evaluate Your ProductAttracting Users To Evaluate Your Product Joe Leech 2018-08-05T23:30:38+01:00 2018-08-07T12:41:07+00:00 (This is a sponsored article.) The entire ecosystem in which we are designing and researching the user experience is shifting and changing constantly. Traditional UX skills need to be expanded to meet the reality of the modern digital ecosystem. Understanding the user is essential to the job, but you also need to understand the wider user context. How do they discover they have a need? How do they find and evaluate a product to meet that need? This three-part series outlines the three phases of the product life cycle,...
Complete Google Tag Manager Data Layer Tutorial
Google Tag Manager

Complete Google Tag Manager Data Layer Tutorial

Updated: August 5th, 2018. Data Layer is one of the main Google Tag Manager concepts which ensures maximum flexibility, portability, and ease of implementation. Without it, there would be no variables or triggers in GTM, therefore no tags would be fired. It is what keeps your tag management running properly. It is the key to unlocking Google Tag Manager’s potential. In this blog, I’ve already published several articles related to this topic but they are pretty much scattered. That’s why I decided to collect all the important resources, tips, and knowledge (that I’ve accumulated so far) and put it in one place. This is an extended Google Tag Manager Data Layer tutorial which explains what the Data Layer is, why is it useful, how to use it, what are best practices, etc.   table of Contents ...
Popular Design News of the Week: July 30, 2018 – August 5, 2018
Web Tricks

Popular Design News of the Week: July 30, 2018 – August 5, 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. Evolving the Firefox Brand   The Age of the Wordless Logo   How I Built my Side Project and Got 31,000 Users the First Week   Art and Copy: Bridging the Gap Between Design and Conten...
Comics of the Week #438
Web Tricks

Comics of the Week #438

Every week we feature a set of comics created exclusively for WDD. The content revolves around web design, blogging and funny situations that we encounter in our daily lives as designers. These great cartoons are created by Jerry King, an award-winning cartoonist who’s one of the most published, prolific and versatile cartoonists in the world today. So for a few moments, take a break from your daily routine, have a laugh and enjoy these funny cartoons. Feel free to leave your comments and suggestions below as well as any related stories of your own… Time is money Time machine   Designer boot camp Can you relate to these situations? Please share your funny stories and comments below… Add Realistic Chalk and Sketch Lettering Effects with Sketch’it – only $5! So...