Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMUZ140014 Justice Gwatidzo
11,920 PointsNow that you've refactored this code into something that no one would ever actually do in real life, please make this co
what the code be like
<!DOCTYPE html>
<html>
<head>
<title>Sass Basics - Code Challenge</title>
<link rel="stylesheet" type="text/css" href="page-style.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div>
<p>
Bacon ipsum dolor sit amet biltong capicola meatball, corned beef venison tongue meatloaf ham sausage jerky short loin bacon. Shoulder pork pig, pancetta turducken flank strip steak prosciutto jerky venison.
</p>
<p>
Ground round bacon pig ribeye biltong capicola jerky prosciutto sirloin. Hamburger turducken corned beef leberkas andouille, shoulder pork shank strip steak biltong flank meatball pancetta chicken.
</p>
</div>
</body>
</html>
/* Write your SCSS code below. */
@function double($input) {
@return $input * 2; }
div {font-size: (double(5px));}
3 Answers
Seth McCombs
16,767 PointsFor the final part, they're looking for you to write the CSS as 10px, instead of double 5px. Their justification is that it's easier to write 10px, the math operations make things harder than they need to be.
Maureen O'Neal
12,930 PointsYes, elaborate on your actual question.
MUZ140014 Justice Gwatidzo
11,920 Pointswhats the code for that code challenge3......Now that you've refactored this code into something that no one would ever actually do in real life, please make this code the way you should write it. (Just because you can do something with a Sass feature, doesn't mean you should.)...please help i'm stuck
MUZ140014 Justice Gwatidzo
11,920 PointsTHANKS I FINNALY FIGURED IT OUT
Seth McCombs
16,767 PointsSeth McCombs
16,767 PointsHey Justice! Not sure I understand your question, could you try explaining it a little more? Thanks!