https://github.com/soliveirarm/web-project-creator
Python script for you to create basic HTML, CSS and Javascript projects easily
https://github.com/soliveirarm/web-project-creator
automation html-projects python
Last synced: 7 months ago
JSON representation
Python script for you to create basic HTML, CSS and Javascript projects easily
- Host: GitHub
- URL: https://github.com/soliveirarm/web-project-creator
- Owner: soliveirarm
- Created: 2024-01-20T18:27:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-02T18:25:09.000Z (almost 2 years ago)
- Last Synced: 2025-03-27T06:15:17.345Z (about 1 year ago)
- Topics: automation, html-projects, python
- Language: Python
- Homepage:
- Size: 13.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic Web Project Structure Automation with Python
> Python script for you to create basic **HTML, CSS and Javascript** projects easily
## Requirements
- Have [python](https://www.python.org/downloads/) installed in your computer
- See [here](https://docs.python-guide.org/starting/install3/linux/) other ways to install it on Linux
## Walkthrough
When you click on `script.py`, your terminal/windows cmd will open and you'll be able to:
1. Choose the name of your project folder
2. Choose whether or not you want a separate `/js` folder
3. Choose whether or not you want a separate `/css` folder
4. Title of your HTML project (``)
5. 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`
## HTML
The `index.html` comes with a basic structure and it's already linked to `style.css` and `app.js`.
## CSS
The `style.css` comes with these basic resets:
```css
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
```
## Download