/
Coderdev
/
web-static-labs
Обзор
Документация
Войти
/
Coderdev
/
web-static-labs
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
html/lab4/task7/password.html
34 строки
1 KB
Coderdev
1
12 май 2026, 12:37
12 май 2026, 12:37
d8ecd0f
Код
Авторство
О чём код?
<!doctype html> <html lang="ru"> <head> <meta charset="utf-8" /> <title>Задание 7. Валидатор пароля</title> <style> body { font-family: sans-serif; padding: 20px; background: #f4f4f4; } .container { max-width: 600px; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } input { width: 100%; padding: 12px; margin-bottom: 20px; box-sizing: border-box; font-size: 16px; border: 1px solid #ccc; } table { width: 100%; border-collapse: collapse; margin-top: 10px; } th, td { border: 1px solid #ddd; padding: 10px; text-align: left; } th { background: #f8f8f8; } .total { font-size: 1.5rem; font-weight: bold; margin-top: 20px; color: #222; } </style> </head> <body> <div class="container"> <h3>Валидатор сложности пароля</h3> <input type="text" id="passInput" placeholder="Введите пароль" /> <table> <thead> <tr> <th>Критерий</th> <th>Баллы</th> </tr> </thead> <tbody id="resBody"></tbody> </table> <div class="total" id="totalScore">Итого баллов: 0</div> </div> <script src="password.js"></script> </body> </html>