Zadachi Po Matematika Za 4 Klas «2024»
.new-task-btn background: #2c7da0; border: none; padding: 0.5rem 1.5rem; border-radius: 40px; font-weight: 600; font-size: 1rem; color: white; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1);
.congrats text-align: center; background: #e6f7e6; margin: 0 2rem 2rem 2rem; padding: 0.8rem; border-radius: 50px; font-weight: bold; color: #2b6e2f; </style> </head> <body> <div class="math-lab"> <div class="hero"> <h1> 📐 Задачи по математика <span>4. клас</span> </h1> <p>✏️ Умножение, деление, дроби, логика и мерни единици</p> </div> <div class="stats-bar"> <div class="score-box"> 🏆 Решени задачи: <span id="scoreValue">0</span> / <span id="totalTasksCount">0</span> </div> <div style="display: flex; gap: 12px;"> <button class="new-task-btn" id="refreshAllBtn">🔄 Нови задачи</button> <button class="new-task-btn reset-btn" id="resetProgressBtn">♻️ Нулирай резултата</button> </div> </div>
.hero h1 span background: #ffd966; color: #1e3c72; font-size: 1.8rem; border-radius: 60px; padding: 0 20px; display: inline-block; zadachi po matematika za 4 klas
/* main content grid */ .tasks-grid display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.8rem; padding: 2rem;
<div id="tasksContainer" class="tasks-grid"> <!-- dynamic tasks will be injected here --> </div> <div id="congratsMessage" style="display: none;" class="congrats">🎉 Браво! Реши всички задачи! 🎉</div> </div> 🎉</div> </div>
.feedback margin: 0.5rem 1.5rem 1.5rem; padding: 0.6rem 1rem; border-radius: 50px; font-size: 0.9rem; font-weight: 500; background: #f1f5f9; color: #334155; transition: all 0.2s;
.score-box background: #f0f4fe; border-radius: 40px; padding: 0.4rem 1.2rem; font-weight: bold; font-size: 1.2rem; color: #1e3c72; box-shadow: inset 0 1px 2px #0000, 0 2px 5px rgba(0,0,0,0.02); .feedback margin: 0.5rem 1.5rem 1.5rem
/* main card container */ .math-lab max-width: 1300px; width: 100%; background: rgba(255,255,255,0.75); backdrop-filter: blur(2px); border-radius: 3rem; box-shadow: 0 25px 45px -12px rgba(0,0,0,0.25), 0 8px 18px rgba(0,0,0,0.05); overflow: hidden; transition: all 0.2s ease;
.reset-btn background: #e2e8f0; color: #2d3e50; box-shadow: none;
button background: none; border: none; font-family: inherit;