/
Metzen
/
Calculator
Обзор
Документация
Войти
/
Metzen
/
Calculator
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
index.html
87 строк
3 KB
Metzen
Калькулятор производных
26 фев 2025, 11:04
26 фев 2025, 11:04
ba5dc0e
Код
Авторство
О чём код?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Калькулятор производных</title> <style> body { font-family: Arial, sans-serif; background-color: #f5f5f5; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; } .container { background-color: white; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); padding: 20px; max-width: 600px; width: 100%; } h1 { text-align: center; color: #333; } form { display: flex; flex-direction: column; } label { margin: 10px 0 5px; color: #555; } input, button { padding: 10px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; } button { background-color: #007bff; color: white; border: none; cursor: pointer; } button:hover { background-color: #0056b3; } .result { background-color: #e7f3fe; border-left: 5px solid #2196F3; padding: 10px; margin-top: 20px; } </style> </head> <body> <div class="container"> <h1>Калькулятор производных</h1> <form method="post"> <label for="function">Введите функцию:</label> <input type="text" id="function" name="function" required> <label for="operation">Выберите операцию:</label> <input type="text" id="operation" name="operation" required> <label for="check_function">Введите функцию для проверки первообразной (необязательно):</label> <input type="text" id="check_function" name="check_function"> <label for="fractional_order">Введите порядок для дробной производной (необязательно):</label> <input type="text" id="fractional_order" name="fractional_order"> <button type="submit">Вычислить</button> </form> {% if result %} <div class="result"> <h2>{{ result }}</h2> </div> {% endif %} </div> </body> </html>