HTML Diff
0 added 0 removed
Original 2026-01-01
Modified 2026-02-21
1 <p>Page markup is one of the most arduous processes for any developer. It's not the complexity of markup itself, its implementation, opening and closing tags, unseparated templates in components, the visual issue in determining to what degree one section or another is nested, etc. To solve these problems, HTML preprocessors, interpreters that translate markup from their language to HTML, were invented.</p>
1 <p>Page markup is one of the most arduous processes for any developer. It's not the complexity of markup itself, its implementation, opening and closing tags, unseparated templates in components, the visual issue in determining to what degree one section or another is nested, etc. To solve these problems, HTML preprocessors, interpreters that translate markup from their language to HTML, were invented.</p>
2 <p>In this course, we'll study the popular Pug preprocessor, which will help us learn:</p>
2 <p>In this course, we'll study the popular Pug preprocessor, which will help us learn:</p>
3 <ul><li>How to not duplicate markup</li>
3 <ul><li>How to not duplicate markup</li>
4 <li>How to use templates</li>
4 <li>How to use templates</li>
5 <li>How to divide templates blocks and put them into separate files</li>
5 <li>How to divide templates blocks and put them into separate files</li>
6 <li>How to connect additional modules to process information in other formats</li>
6 <li>How to connect additional modules to process information in other formats</li>
7 <li>How to use JavaScript to add logic when working with templates</li>
7 <li>How to use JavaScript to add logic when working with templates</li>
8 <li>How to work with conditional constructs</li>
8 <li>How to work with conditional constructs</li>
9 </ul><p>It will allow you to write maintainable code and automatically translate it into plain HTML.</p>
9 </ul><p>It will allow you to write maintainable code and automatically translate it into plain HTML.</p>
10 <h2>Practice</h2>
10 <h2>Practice</h2>
11 <p>Many of the lessons in this course will include a practice section with a web view. It's a good idea to do more than complete the task. Once you've finished, try experimenting with the code and the features you've learned.</p>
11 <p>Many of the lessons in this course will include a practice section with a web view. It's a good idea to do more than complete the task. Once you've finished, try experimenting with the code and the features you've learned.</p>
12 <p>During the course, you'll come across independent tasks. If necessary, you can use it in the assignments to practice.</p>
12 <p>During the course, you'll come across independent tasks. If necessary, you can use it in the assignments to practice.</p>