Friday Frontend: 3.8 Billion People Online Edition
Tags: fridayfrontend, css, javascript
Published: 2018-06-01 15:26:03

---
title: Friday Frontend: 3.8 Billion People Online Edition
published: true
tags: friday-frontend, css, javascript
canonical_url: https://zendev.com/2018/06/01/3-8-billion-people-online.html
---

Happy Friday! Watch the video to hear about what got me pumped up this week (hint, it has to do with 3.8 BILLION people!), and enjoy the 15 awesome posts, resources, and tutorials down below.

{% youtube vElUEfNuWBk %}

Enjoy!  
KBall from ZenDev

#### CSS & SCSS

##### [Getting Started With CSS Layout](https://www.smashingmagazine.com/2018/05/guide-css-layout/)

An awesome guide for CSS newbies, but also for anyone who doesn’t feel like they’ve mastered CSS layout or haven’t been keeping up with all the latest developments in CSS Layout. Takes you through the fundamentals of flow on the web, layers in floats and positioning, and then goes through Flexbox and Grid. Excellent.

  

##### [Solving Life’s Problems with CSS](https://css-tricks.com/solving-lifes-problems-with-css/)

An article by the author of the [pure CSS portrait](http://diana-adrianne.com/purecss-francine/) I linked to a couple weeks back, going a little bit into the power and place of CSS in the web tech stack, but also with an introduction to HOW THE HECK SHE DID THAT! I mean really - that portrait is amazing, and you should read this post. :D

  

##### [Z-Index Explained: How to Stack Elements Using CSS](https://medium.freecodecamp.org/z-index-explained-how-to-stack-elements-using-css-7c5aa0f179b3)

Z-Index is one of the elements of CSS that seems like it should be straightforward, but there’s all sorts of complications when you start actually using it. Understanding the nuances, particularly the idea of a stacking context, is key to making z-index your friend rather than staring frustrated at your screen. This article does a great job of explaining.

  

##### [Know your ARIA: 'Hidden' vs 'None'](http://www.scottohara.me/blog/2018/05/05/hidden-vs-none.html)

Deep dive into the nuances of different ways of hiding content from screen readers. Do you know the difference between `aria-hidden` and `role="none"`? If not, you should read this! (Don’t feel bad, I didn’t know either before reading this).

  

##### [The 80-20 Approach to Sustainable SCSS](https://dev.to/kball/the-80-20-approach-to-sustainable-scss-4g74)

(Bias alert - this is my own post) I’m a huge fan of the great strides we’ve taken in css architecture over the last few years, allowing us to design really powerful systems that are far more maintainable than CSS used to be, but this has come at the cost of making CSS and SCSS sometimes seem intimidating to newcomers. The vast majority of projects don’t need anything super complicated, so this post attempts to break down 2 quick decisions you can make that will take you a long way towards sustainable SCSS without requiring deep study or crazy complex systems.

  

#### JavaScript

##### [Lazy Load Animal Memes with Intersection Observer](https://scotch.io/bar-talk/lazy-load-animal-memes-with-intersection-observer)

The Intersection Observer API is one of my favorite new browser APIs - you can use it for lazy loading of course, but also for all sorts of fun things like adding animations as something scrolls into view, or efficiently auto-updating in-page navigation based on what’s visible. This whimsical tutorial takes you through how it works and shows you want is possible.

  

##### [ES6 in Action: Enhanced Object Literals](https://www.sitepoint.com/es6-enhanced-object-literals/)

A Sitepoint tutorial of all the new power available to us for defining and manipulating objects in newer versions of JavaScript. Understanding all the new ways of defining functions within an object will help you quickly grok a lot of Vue’s single component file syntax (which leans deeply on this to export an object that defines all of your component logic), while other functionality like default values in parameters is super valuable no matter what tools you’re using.

  

##### [Vue.js — Considerations and Tricks](https://blog.webf.zone/vue-js-considerations-and-tricks-fa7e0e4bb7bb)

Vue is a lot simpler to learn than a lot of JavaScript frameworks, but there are still a number of areas that can be confusing or non-obvious. This is a a great set of takeaways and links to resources for how to do a handle many of these confusing/non-obvious cases.

  

##### [What can React Context API do for you? Multi-language text, Modals, and Theme switchers](http://www.js-craft.io/blog/15-What-can-React-Context-API-do-for-you-Multi-language-Modals-Themes/)

React’s new context API provides a simple way to share state across multiple components without needing to create deep-drilling props, or use a more complex library like Redux. Is it going to completely replace Redux or related libraries? Not at all! But for use cases where you need some shared state don’t need all the complexity that comes from a full-on flux architecture, this can be a great option. This post contains some examples of how you might use it in your applications.

  

##### [JavaScript Start-up Optimization](https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/javascript-startup-optimization/)

We all love JavaScript (ok maybe not all of us, but most of us!) but that JavaScript comes with costs. This guide by Addy Osmani talks us through the components that go into the cost of JavaScript, particularly when it comes to mobile devices (It’s not just the bandwidth!). He then goes through some approaches we can use to minimize the all-important time-to-interactive on mobile.

  

#### Other Awesomeness

##### [Mary Meeker’s Internet Trends Report 2018](http://www.kpcb.com/internet-trends)

Every year Mary Meeker of Kleiner Perkins publishes a slide deck that documents the trends happening in the internet, and it is one of the go-to resources used to divine trends in our industry. Possibly more interesting for those in product roles or startups than pure development, but it’s too good to miss, and this year’s report just went up!

  

##### [Making Legacy Sites More Performant with Modern Front-End Techniques](https://www.lullabot.com/articles/making-legacy-sites-more-performant-using-modern-frontend-techniques)

I love this case study because not only does it expose a lot of great front-end performance techniques, but it tackles a problem so many of us are stuck with: applying those techniques to a legacy codebase without the luxury of a from-scratch rewrite.

  

##### [Gatsby, the Open Source React-Based Static Site Generator, Gets Commercial Backing](https://thenewstack.io/gatsbyjs-the-open-source-react-based-ssg-creates-company-to-evolve-cloud-native-website-builds/)

I’m a huge fan of static site generators (my website is built on Jekyll, and I’ve built a number with the ZURB stack as well), so it’s exciting to see more innovation happening in this space. Gatsby is an open-source SSG based on React, and it’s seen enough interest that the core developers are forming a company around it as well to provide parallelized builds in the cloud. Very cool!

  

##### [2018 Node.js User Survey Report](https://nodejs.org/en/user-survey-report/)

The Node.js Foundation just released the results of their 3rd annual user survey. Perhaps unsurprisingly, they found that Node users like using Node! :) Seriously, over ¾ of survey respondents are planning to keep increasing their use of Node… there’s a ton of other interesting tidbits in this interactive report, or if you want just a high level summary you could check out my [writeup on InfoQ](https://www.infoq.com/news/2018/05/node-user-survey-rapid-growth).

  

##### [Dynamic Bézier Curves](https://www.joshwcomeau.com/posts/dynamic-bezier-curves)

Super cool interactive post creating dynamic bezier curves using React and SVG. It not only does a great job of teaching you how to do it, but it’s just fun to play around with his demos. Not to mention his morphing header effect is wicket cool.

  

* * *

#### Happy Friday!

That's it for this week's Friday Frontend newsletter. If you enjoyed this, be sure to sign up to get these newsletters straight to your inbox every Friday! Sign up here: [https://zendev.com/friday-frontend.html](https://zendev.com/friday-frontend.html)