Welcome to AreaCalculator, a simple web application that allows you to calculate the area of different shapes including circles, triangles, and rectangles. This project is built using Python and the Flask web framework, along with Bootstrap for styling.
- Calculate the area of circles, triangles, and rectangles.
- Interactive and user-friendly interface.
- Provides explanations and formulas for each shape.
- Stylish design using Bootstrap.
The project is organized into the following structure:
AreaCalculator/
│
├── static/
│ ├── css/
│ │ └── style.css
│ ├── images/
│ │ └── favicon.png
│
├── templates/
│ ├── layout/
│ │ └── base.html
│ ├── index.html
│ ├── circle.html
│ ├── triangle.html
│ └── rectangle.html
│
└── app.py
- Clone the repository:
git clone https://github.com/PytechAcademy/AreaCalculator.git
- Navigate to the project directory:
cd AreaCalculator
- Install required packages:
pip3 install Flask
- Run the app.py file
- Access in your browser:
http://localhost:5000
- Explore the homepage for an overview of the application.
- Navigate to "Circle," "Triangle," or "Rectangle" pages.
- Input values (radius, base, height) and click "Calculate."
- View the calculated area on the page.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch
- Make changes and commit:
git commit -am 'Add some feature'
- Push to the branch:
git push origin branchname
- Submit a pull request.
Explore, use, and contribute to this project. Feel free to report issues or suggest improvements. Happy coding!