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 Add Reusable Logic to Your Sass Loop Through Lists with @each

Is there something like SASS for html?

What platforms exist that allow you to iterate through maps/arrays to generate new HTML?

2 Answers

Dan Weru
Dan Weru
47,649 Points

Hey check out this quora thread. The other way you could generate html programatically is using static generators such as Jekyll, hexo, hugo.

That said, there many options that help you type lesser html. Check out templating engines such as pug (formally known as jade). Also checkout text editor plugins such as emmet.

That should be a good start. Happy coding!

I've been using HAML for a year or so, I love it. Like Sass was also created by Hampton Catlin so the syntax is quite familiar to Sass.