Let’s try adding some CSS to our website by adding some style to our website. To create the templates folder for all HTML templates, we also need another folder called static for all CSS files. The static folder is used to store mostly CSS, JavaScript, and image files, alongside other essential documents as well.
To store all CSS stylesheets create a CSS folder inside the static folder.
Linking our HTML file with CSS, by using a template.css file and the existing template.html as it links all other pages together we add a few more codes to the CSS folder.
The new codes added to the parent page would also be valid for all child pages. Now, let’s update the parent page with these new lines of code: