Skip to content

This project is a simple app developed using Flask framework that allows you to calculate the area of different shapes including circles, triangles, and rectangles.

Notifications You must be signed in to change notification settings

PytechAcademy/AreaCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

This project is a simple app developed using Flask framework that allows you to calculate the area of different shapes including circles, triangles, and rectangles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published