Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

modderboyy/ModderCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

ModderCalculator β€” Django Web Calculator

A minimal and elegant web-based calculator built using Django and styled with ModderUI.
Fast, clean, and beginner-friendly project structure.


πŸ‡¬πŸ‡§ English Version

✦ Features

  • Beautiful ModderUI glass-effect interface
  • Fully functional web calculator
  • Clean HTML + JS logic
  • Django static file support
  • Responsive, centered layout
  • Safe eval handling (try/catch)

✦ Project Structure

moddercalculator/
β”‚
β”œβ”€β”€ templates/
β”‚ └── index.html
β”‚
β”œβ”€β”€ static/
β”‚ └── styles.css
β”‚
β”œβ”€β”€ views.py
β”œβ”€β”€ urls.py
└── settings.py

✦ Installation

git clone https://github.com/modderboyy/moddercalculator.git
cd moddercalculator
pip install django
python manage.py runserver

Open in browser:

http://127.0.0.1:8000/

✦ How It Works

The calculator UI

  • Text field for input/output
  • Buttons for numbers & operations
  • Clean JS functions: add(), clearInp(), calc()

Example:

User presses: 1 + 2 =
Result: 3

πŸ‡ΊπŸ‡Ώ Oβ€˜zbekcha Versiya

✦ Xususiyatlar

  • Chiroyli ModderUI dizayni (glass, blur, border-light effect)
  • Toβ€˜liq ishlaydigan web kalkulyator
  • HTML + JS asosidagi oddiy va aniq mantiq
  • Django static file’larini qoβ€˜llaydi
  • Markazga joylashgan responsive UI
  • Xatolarni try/catch bilan ushlaydi

✦ Loyihaning Tuzilishi

moddercalculator/
β”‚
β”œβ”€β”€ templates/
β”‚ └── index.html
β”‚
β”œβ”€β”€ static/
β”‚ └── styles.css
β”‚
β”œβ”€β”€ views.py
β”œβ”€β”€ urls.py
└── settings.py

✦ Oβ€˜rnatish

git clone https://github.com/modderboyy/moddercalculator.git
cd moddercalculator
pip install django
python manage.py runserver

Brauzer orqali kirish:

http://127.0.0.1:8000/

✦ Ishlash Tartibi

Kalkulyator

  • Input oynasi natijani koβ€˜rsatadi
  • Raqamlar va amallar tugmalari
  • JS funksiyalar:
    • add() β€” qiymat qoβ€˜shish
    • clearInp() β€” tozalash
    • calc() β€” hisoblash

Misol:

1 + 2 = 3

✦ Developer

Created by Modderboy
Telegram: @modderboy


✦ License

All rights reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /