Magic Square Generator h1 { color: #333; } input, button { padding: 8px 12px; margin: 10px; font-size: 16px; } table { margin: 20px auto; border-collapse: collapse; } td { border: 1px solid #333; width: 50px; height: 50px; text-align: center; font-weight: bold; font-size: 18px; background: #fff; }...
LCM & GCD Calculator h2 { color: #333; } input { padding: 10px; width: 80px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; font-size: 1em; } button { padding: 10px 20px; margin: 10px; font-size: 1em; cursor: pointer; border: none; border-radius: 5px; background-color: #4CAF50; color:...
Pendulum Simulator body { text-align: center; font-family: Arial, sans-serif; background: #f0f0f0; } canvas { background: #ffffff; display: block; margin: 20px auto; border: 1px solid #ccc; } input { margin: 10px; padding: 8px; } Length (m): Initial Angle (°): Start Simulation const canvas =...
List Randomizer Tool textarea { width: 100%; max-width: 600px; height: 200px; padding: 1rem; font-size: 16px; border: 1px solid #ccc; border-radius: 8px; margin-bottom: 1rem; } button { padding: 0.6rem 1.2rem; font-size: 16px; background-color: #0077cc; color: #fff; border: none; border-radius:...
Scientific Calculator .calculator { width: 320px; background: white; padding: 1rem; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); } input { width: 100%; padding: 1rem; font-size: 1.2rem; text-align: right; margin-bottom: 1rem; border: 2px solid #ccc; border-radius: 8px; }...
Triangle Calculator input, button { padding: 10px; margin: 8px 0; width: 100%; font-size: 16px; } #result { background-color: #fff; padding: 15px; border: 1px solid #ddd; margin-top: 10px; } Enter the lengths of the three sides: Calculate function calculateTriangle() { const a =...
Half-Life Calculator label, input, button { display: block; margin-top: 15px; font-size: 16px; width: 100%; padding: 10px; } #result { margin-top: 20px; background: #fff; padding: 15px; border: 1px solid #ccc; } Initial Amount (e.g. mg, g): Half-Life (same time unit as elapsed time): Time Elapsed:...
Roman Numeral Calculator input, button, select { padding: 10px; margin-top: 15px; font-size: 16px; width: 100%; } #result { margin-top: 20px; background: white; padding: 15px; border: 1px solid #ccc; } Choose Mode: Number ➜ Roman Roman ➜ Number Enter Number (1–3999): Convert const romanMap =...
Z-Score Calculator .calculator { background: white; padding: 20px 30px; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.1); width: 300px; } h2 { text-align: center; } input, button { width: 100%; margin: 10px 0; padding: 10px; font-size: 16px; } #result { margin-top: 10px; font-weight:...
Flashcard Quiz Tool h2 { margin-bottom: 1rem; } .flashcard { width: 300px; height: 200px; background-color: white; border: 2px solid #ccc; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); display: flex; justify-content: center; align-items: center; font-size: 20px; text-align: center;...