Articles

Migrating From Bootstrap to Susy

Published on:

One of the most asked questions I get about migrating from Bootstrap to Susy is this: "How do I build a Bootstrap-like grid with Susy?"

I feel that if I answer this question, I'll be leading you down a path that I don't agree with. That's why I hesitated with answering this question previously.

In this article, I want to tell show you why this is a wrong question to ask, and what to do instead.

What to add to your Gitignore File

Published on:

What files should you push up into a Git repository? What files should you ignore? These are two questions that plague most beginners when they're learning about Git.

We're going to explore these two questions in this article so you'll never have doubts on whether you should ignore a file in the future.

How to Modularize HTML Using Template Engines and Gulp

Published on:

Template Engines are tools that help us break HTML code into smaller pieces that we can reuse across multiple HTML files. They also give you the power to feed data into variables that help you simplify your code.

You can only use template engines if you had a way to compile them into HTML. This means that you can only use them if you're working with a backend language, or if you're using client-side JavaScript.

However, with Node.js, we can now harness the power of template engines easily through the use of tools like Gulp.

That's what we're going to cover today in this chapter. We're going to find out what template engines are, why we should use them, and how to set one up with Gulp.

Gulp for Beginners

Published on:

Gulp is a tool that helps you out with several tasks when it comes to web development. It's often used to do front end tasks like:

  • Spinning up a web server
  • Reloading the browser automatically whenever a file is saved
  • Using preprocessors like Sass or LESS
  • Optimizing assets like CSS, JavaScript, and images

This is not a comprehensive list of things Gulp can do. If you're crazy enough, you can even build a static site generator with Gulp (I've done it!). So yes, Gulp is extremely powerful, but you'll have to learn how to use Gulp if you want to create your own customized build processes.

So that's what this article is for. It helps you get so good with the basics of Gulp that you can begin exploring everything else for yourself.

A Gulp.js Tutorial (Part 2)

Published on:

Last week, we set up a simple gulp task to convert Sass into CSS. We also touched on how to watch the styles.scss file for changes and how to reload the browser automatically with Browser Sync.

In this article, we're going to dive further into the sass task to find out how to watch more than one file for changes, and how to customize options for the plugins that we have used.

Let's get started.

A Gulp.js Tutorial

Published on:

Gulp is a build tool that helps you automate your development workflow. In this article, we will dive deep into Gulp to show you how to use it effectively to create a simple workflow.

Let's get started.

Choosing a Build Tool

Published on:

Choosing to use one tool over another is one of the largest challenges developers face. Regardless of what you're choosing, be it a code editor, a framework, or even a build tool. It's never an easy decision.

When it comes to build tools, the two most popular options right now are Grunt and Gulp. But are these the only two you should choose from? If not, what other choices do you have?

Let's answer this question.

Overcoming your Fear of the Command Line

Published on:

Most tools that help you automate your workflow require the use of the command line. Hence, the first obstacle you have to overcome is getting comfortable with the command line.

But the command line is scary.

Playing with it feels like you're dismantling a bomb that could go off any moment. One wrong move and that'll mean the end of your life, and your computer.

I didn't dare to touch it when I first began to code. I felt that the command line was a tool that only experts could use.

However, as I got to know more about it, I began to realize that the command line isn't scary at all! It's incredibly safe, even for beginners, and anyone can use it to help improve their workflow.

In this article I'll show you why the command line isn't that scary, and how to start to get comfortable with it.

Ready to go? Let's begin!

Manage your Frontend Dependencies with Bower

Published on:

Bower is a great dependency manager that's specially created to help you manage different frontend libraries.

It reduces the time and energy you need to spend hunting around the web for libraries like Susy and jQuery by helping you install, update or delete them with a single command.

To top it off, it can help you download all the libraries you need whenever you scaffold a new project with a single command.

In this article we'll talk about how to install Bower and how to use it.

An Overview of a Development Workflow

Published on:

A good workflow is crucial for development because it saves time. We know this, and yet we constantly procrastinate this important task.

We can't blame ourselves really. New technologies pop up and we have no idea how to use them. The web industry moves too fast and sometimes causes us to be completely overwhelmed.

So for the first post in the workflow series, I wanna show you what a development workflow is, and how to automate different parts of the workflow.

Common Problems With Susy Gallery And How To Solve Them

Published on:

Susy has a gallery() mixin that helps us create galleries easily. It abstracts away a lot of complexity. Because of this abstraction, it sometimes leaves people puzzled about why something isn't working. This often boils down to two problems.

This post reveals the two problems and shows you how to solve them.

Why I stopped blogging, and what do you want to read about next?

Published on:

I have only written about Susy since the release of Learning Susy a few months ago. I've been working on the update since then and now that it's finally complete, I wanna move on to a new topic.

There are 3 themes that I'm interested to explore and I'll need your help in choosing which one to work on.

But first, let me be completely honest to you about my feelings for the past few months.

How to use Masonry with Susy

Published on:

Masonry is a popular JavaScript library that helps you create a pinterest-like gallery even if your content has irregular heights and widths.

This article is here to help you out if you're having trouble using Masonry with Susy.

Mappy Breakpoints, A Breakpoint Mixin that uses Sass Maps

Published on:

I have been using Breakpoint to handle my media queries for a long time and I have been happy with it. However, during my previous project, I discovered that I needed something more.

Since I was working on rebuilding my starter template for Learning Susy, I went about hacking my own breakpoint mixin that satisfied all my needs. I thought you'd be interested to hear what I came up with :)

Configuring Gulp to use LibSass with Susy

Published on:

I wrote about configuring Grunt to use LibSass with Susy in the last article and feedback has been amazing. There were multiple requests for me to write another article to use LibSass with Gulp instead, so here it is :)

In case you never heard of Gulp, it is another Javascript task runner that helps you automate your development workflow. It was created slightly later than Grunt and aims to resolve issues that Grunt has.

Configuring Grunt To Use LibSass With Susy

Published on:

Every developer I know has been eagerly awaiting to use LibSass in their development process. When Eric announced that Susy is now compatible with LibSass, I jumped out of my seat and began tinkering with Grunt to create a build process.

Unfortunately, it didn't work out then :(

The good news is that we can now use Grunt to compile LibSass with Susy without a hitch! I'll show you how I configured Grunt to use LibSass with Susy in this article.

Learning Susy Update Is Going To Be Delayed

Published on:

I mentioned that Learning Susy will be updated with more content by 31st January. Unfortunately, I'm afraid I have to disappoint. I'm sorry.

Letting you down sucks, but it just doesn't feel right to apologize and shrug it off. I want to be honest about my failures and learnings to make sure that I won't fail to deliver again. Hence, the reason for this blog post.

How To Write Mobile-first CSS

Published on:

Building responsive websites is a must-have skill for front-end developers today. When we speak about responsive websites, the term mobile-first pops into mind immediately.

We know the importance of designing from a mobile-first perspective. Unfortunately, much less was said about coding from a mobile-first approach.

Today, I'd like to share with you about the mobile-first approach to styling, why it is much better, and how to work its magic.

Note: This article will be immensely helpful if you are learning to build responsive layouts with Susy.

How to use susy with bootstrap

Published on:

Susy is a grid layout engine that was built to help web developers create web layouts easily. It allows us to create custom grids and it does its job extremely well.

One of the common complaints about Susy is that it is too simple, it’s only the grid layout engine. There are no UI kits that come with it, and that slows down developers who want to prototype quickly.

The good news is Susy can be integrated into almost any framework or UI kit, including the major ones, like Bootstrap and Foundation.

This is precisely what this tutorial is all about – integrating Susy with another framework, Bootstrap, to be specific. Even if you are not a fan of Bootstrap, you can still glean insights on how to integrate Susy with your UI kit of choice through this tutorial.

I'm Going To Make The Learning Susy Book Better, And What That Means For You

Published on:

It's been 3 months since Learning Susy has been released and the support from the community has been wonderful. It's heartening to see so many people start to learn about Susy, and how they have benefited as a result.

I have learned a lot more about what people are looking for since releasing the book through observations, questions and surveys, and I feel that I am now able to make Learning Susy 10x better.

In this post, I'd like to share with you my observations of issues that people often encounter, how I intend to help solve these issues in the next version of Learning Susy, and what all this means to you.