Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 1.8 KB

README.md

File metadata and controls

63 lines (48 loc) · 1.8 KB

AreaCalculator

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.

Features

  • Calculate the area of circles, triangles, and rectangles.
  • Interactive and user-friendly interface.
  • Provides explanations and formulas for each shape.
  • Stylish design using Bootstrap.

Project Structure

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

Getting Started

  1. Clone the repository: git clone https://github.com/PytechAcademy/AreaCalculator.git
  2. Navigate to the project directory: cd AreaCalculator
  3. Install required packages: pip3 install Flask
  4. Run the app.py file
  5. Access in your browser: http://localhost:5000

Usage

  1. Explore the homepage for an overview of the application.
  2. Navigate to "Circle," "Triangle," or "Rectangle" pages.
  3. Input values (radius, base, height) and click "Calculate."
  4. View the calculated area on the page.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch
  3. Make changes and commit: git commit -am 'Add some feature'
  4. Push to the branch: git push origin branchname
  5. Submit a pull request.

Explore, use, and contribute to this project. Feel free to report issues or suggest improvements. Happy coding!