HTML, CSS, and JavaScript Journal

By Beaglesong | Articles for general web development and related technologies

Mixing Google Cloud Functions and Express

Google Cloud Functions are an awesome tool, which I have already described a couple of times in other posts. If you look at the functions triggered …

DevOps

Tips on Getting Started with React

I’ve been working on a new Node project. As a fairly longtime Angular 1 user, and after looking at Angular 2, I decided to try out React for the …

JavaScript

JavaScript: The Keyword ‘This’ for Beginners

Understanding the keyword this in JavaScript, and what it is referring to, can be a little complicated at times. Fortunately, there are four general …

JavaScript

JavaScript: Arrow Functions for Beginners

Last week I published this post on the keyword this for beginners. One of the topics that wasn’t covered in that article was arrow functions. The …

JavaScript

Quick Redux tips for connecting your React components

If you’re using Redux in your React app you’re likely using react-redux to connect your components to your state. The connect method is a tricky sum …

Why Facebook’s GraphQL Language Should Be on Your Radar

When Facebook launched its Graph Search functionality in 2013, it demonstrated a new way to search for nearly anything on the platform: by using …

Software Development

Electron Forge

A complete tool for building modern Electron applications.<p>Electron Forge unifies the existing (and well maintained) build tools for Electron …

Functional Programming in Javascript (Part 2)

This article is the sequel of this.<p>Trampoline and Thunk<p>In the recursion section of part 1, there was stack size problem. To solve this, I would like …

A Vue.js introduction for people who know just enough jQuery to get by

I’ve had a love-hate relationship with JavaScript for years.<p>I got to know the language by way of the design and development community’s favorite …

JavaScript

Mixing Generators Into Iterators

Let’s do a quick recap of generators <i>(read our primer on generators here)</i>. Generator functions return generator objects when invoked. A generator …

6 Reasons Why JavaScript’s Async/Await Blows Promises Away (Tutorial)

In case you missed it, Node now supports async/await out of the box since version 7.6. If you haven’t tried it yet, here are a bunch of reasons with …

Simple React Development in 2017

Hi, aspiring React developer! 👋<p>Maybe you’re a jQuery developer looking to experiment with a modern framework. Or, maybe you’re an Angular developer …

Yes, React is taking over front-end development. The question is why.

Here are a few reasons why React has become so popular so quickly:<p>Working with the DOM API is hard. React basically gives developers the ability to …

JavaScript

Refactoring to functional JavaScript: Part 1 – fundamentals

JavaScript has a quite fascinating history. <i>Brendan Eich</i> created on his own the first language prototype in just ten days. Its implementation was …

JavaScript. But less iffy.

This is part three of a series of articles on reducing complexity in JavaScript code. In previous articles, we suggested that indentation is an …

Garbage collection in V8, an illustrated guide

This guide is unlike others I’ve done so far, and has a bit of a narrative to go along with the sketches. I thought the entire concept of garbage …

8 Unique Web Browsers to Try

8 Unique Web Browsers to Try<p>If you're looking to switch things up on your PC, these alternative browsers could have you saying farewell to Chrome, …

Beyond The Browser: From Web Apps To Desktop Apps

I started out as a web developer, and that’s now one part of what I do as a full-stack developer, but never had I imagined I’d create things for the …

Web Design

46 CSS Timelines

46 HTML and CSS timelines with little JavaScript. Demo and download code (*zip).Table Of Contents• Vertical Timelines<br>• Horizontal Timelines<br>Vertical …

Web Development

Getting to know CSS Grid Layout

CSS Grid is the most critical layout feature to come to browsers since Flexbox. It allows us to escape some of the magic numbers, hacks, and …

Understanding ES6 Classes

Under the hood, es6 class are not something that is radically new: they are just syntactic sugar over the prototype-based behavior delegation …

How to Make a Card Game in JavaScript, part 1

I’ve been playing this solitaire card game for awhile now called Dungeon Solitaire - Tomb of the Four Kings by Matthew Lowes. The game simulates …

JavaScript

Building User Interfaces with Pure Functions and Function Composition in React

If you’re reading this you’re probably familiar with the idea of functions. When to use and when to not use a function probably comes pretty natural …

JavaScript

Animated Grainy Texture | CSS-Tricks

The DayTrip website uses a neat effect on its page header that distorts the background image with an animated, grainy texture. The effect is subtle …

Web Development

Improve Your UX by Dynamically Rendering Images via React `onLoad`

It’s a competitive world out there right now. As we all know, just having a good idea isn’t enough to make your company the next billion dollar IPO. …

A Conversation About Functional Programming, Monads and JavaScript

(I published this article on LinkedIn as well)<p>The following is part one of a conversation that took place recently between a friend (named Nicholay) …

Functors & Categories

Composable Software<p>Note: This is part of the “Composing Software” series on learning functional programming and compositional software techniques in …

Web Maker - A blazing fast & offline web playground

Works Offline<p>Lives completely in your browser. There is no network involved, so it opens and shows previews instantly.<p>Preprocessor Support<p>Be it …

BigPicture.js

Lightweight (just over 4 KB minified, 2 KB gzip) and framework independent JavaScript image / video viewer.<p>Supports Youtube, Vimeo, and direct video …