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 trial

CSS Sass Basics Write Smart and Efficient CSS with Sass Create a Function for Flexbox Layout

Saqib Ishfaq
Saqib Ishfaq
13,912 Points

i was loving this creating custom function topic until the maths calculations in this video

just made it so complicated! now, do we just need to remember this maths done in this video would serve the purpose ? i guess not :/ as we can't use the methodology in other situations! help please...........

2 Answers

Abraham Juliot
Abraham Juliot
47,353 Points

I would take away from this video that Sass can do complex math when we need it -- the sky is the limit. :)

Saqib Ishfaq
Saqib Ishfaq
13,912 Points

I understand that but do you think I should just understand what he does in this lesson and move on to next and try remember as much as I can in this calculation ! Coz it would just be so specific for this situation only !

Abraham Juliot
Abraham Juliot
47,353 Points

I wouldn't try to remember this math function. But, do take note how you can make your own functions (with and without math). The Advanced Sass course is much more mind twisting ( i hate to say ) in terms of complex use case examples. But, its fun to try and wrap my head around some of these things. When it's too much complexity for a rare case, I would just get the gist and move on.

When I want to analyze some complex use cases, I will watch and try to follow along with one of Ana Tudor's amazing tutorials: