Lessons by tag «Pug»
We found 8 lessons lessons about the «Pug» in the Hexlet catalog. These lessons on «Pug» are available in the following courses: HTML: Preprocessor Pug.
Learn about the goals and structure of the course
Install the Pug preprocessor and compile the first file
Learn to add tags, attributes, and content with Pug
To learn how to connect Pug files and work with additional modules that allow you to process data in different formats
Learn to use JavaScript inside the preprocessor and use interpolation of variables and expressions. Learn how to add buffered and unbuffered code.
Learn the conditional constructs of the Pug preprocess. Learn how to use the if, else, unless constructions.
Learn how to loop through arrays and objects using Pug loops. Learn the construct of each else
Learn how to create mixins to reuse a layout within Pug. Learn about passing arguments and the block construct