Great fun @Josh Rosenfeld . I couldn't resist amending it slightly to allow the user to input the number (and gave it a wee tweak!) 🤷♂️ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>Random Number Generator</title> <style> .raffle-container { max-width: 500px; margin: 0 auto; text-align: center; font-family: Arial, sans-serif; padding: 20px; } #max-input { font-size: 16px; padding: 8px; width: 200px; margin-bottom: 20px; border-radius: 4px; border: 1px solid #ccc; } .wheel-container { background: linear-gradient(to right, #3f51b5, #7e57c2); border-radius: 16px; padding: 30px 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); margin-bottom: 30px; position: relative; overflow: hidden; } .wheel { display: flex; justify-content: center; margin: 0 auto; height: 150px; position: relative; } .digit-container { width: 100px; height: 150px; margin: 0 5px; background-color: rgba(0, 0, 0, 0.2); border-radius: 10px; overflow: hidden; position: relative; box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3); } .digit { position: absolute; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 100px; font-weight: bold; color: white; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); opacity: 0; transition: opacity 0.1s ease; } .digit.visible { opacity: 1; } .marker { position: absolute; left: 0; right: 0; height: 4px; background-color: #ff9800; top: 50%; transform: translateY(-50%); z-index: 10; box-shadow: 0 0 10px #ff9800; } .button { background-color: #ff5722; color: white; border: none; border-radius: 30px; padding: 15px 30px; font-size: 18px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } .button:hover { background-color: #e64a19; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } .button:active { transform: translateY(0);