Sass Fundamentals

Challenge 3: Imports and Variables

Sass Fundamentals

Check out a free preview of the full Sass Fundamentals course

The "Challenge 3: Imports and Variables" Lesson is part of the full, Sass Fundamentals course featured in this preview video. Here's what you'd learn in this lesson:

In this challenge, students import a partial with Sass and fix styles with Sass rules.

Preview
Close

Transcript from the "Challenge 3: Imports and Variables" Lesson

[00:00:00]
>> Mike North: Let's look at our next exercise. So we're gonna extend upon these buttons that we've been building, but what I've given you in this next exercise, which is called variables. You're gonna do run-e variables. After you kill your existing server, you'll restart it with that command. You're gonna see that we have A variables SaaS partial that you will need to import and then use.

[00:00:29]
So this should be a pretty quick exercise, cuz we've been working with buttons for a while. And this is sort of building on, so you should have something that resembles your solution to the previous button exercise. And what we're gonna do is consume some variables after we input that underscore variable's partial.

[00:00:48]
And code passed the tests. So let's take another 12 minutes for this, and we will see you back here when we're done.

Learn Straight from the Experts Who Shape the Modern Web

  • In-depth Courses
  • Industry Leading Experts
  • Learning Paths
  • Live Interactive Workshops
Get Unlimited Access Now