Python script for you to create basic HTML, CSS and Javascript projects easily
When you click on script.py
, your terminal/windows cmd will open and you'll be able to:
- Choose the name of your project folder
- Choose whether or not you want a separate
/js
folder - Choose whether or not you want a separate
/css
folder - Title of your HTML project (
<title></title>
) - Choose if you want to open your project with VS Code
VoilĂ ! Your project has been created, inside the project folder there'll be 3 files:
index.html
style.css
app.js
If you choose to have separate folder for CSS and JS, it'll be like this:
index.html
css/style.css
js/app.js
The index.html
comes with a basic structure and it's already linked to style.css
and app.js
.
The style.css
comes with these basic resets:
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}