Posts

Showing posts from October, 2024

Calculator

All-in-One Calculator All-in-One Calculator C ( ) 1 2 3 + 4 5 6 - 7 8 9 * 0 / = % sin cos tan π sin⁻¹ cos⁻¹ tan⁻¹ √ x² Add DMS Convert DMS Sun Position Moon Position Mars Position Mercury Position Jupiter Position Venus Position Saturn Position Rahu Position Ketu Position Light Travel Time

Cricket Game

Image
Cricket Game Cricket Game Score: 0 Wickets: 0 Hit! body { font-family: Arial, sans-serif; text-align: center; background-color: #f4f4f4; } .game { margin: 50px auto; padding: 20px; border: 2px solid #333; border-radius: 10px; background-color: #fff; width: 300px; } button { padding: 10px 20px; font-size: 16px; cursor: pointer; } #message { margin-top: 20px; font-size: 20px; color: red; } #cricketer-image { width: 100px; /* इमेज का आकार */ margin: 20px 0; } let score = 0; let wickets = 0; // साउंड फ़ाइलें लोड करें const hitSound = new Audio('hit.mp3'); const wicketSound = new Audio('wicket.mp3'); document.getElementById("hit-button").addEventListener("click", function() { const hit = Math.floor(Math.random() * 7); // Random number between 0 and 6 if (...

Math Game

Math Quiz Game Math Quiz Game Next Question