RFQ / index.html
ntrsdasda's picture
Update index.html
6a95ac9 verified
Raw History Blame Contribute Delete
856 Bytes
<!DOCTYPE html>
<html>
<head>
<title>Secure Download</title>
<style>body{font-family:Arial; max-width:500px; margin:50px auto; padding:20px; text-align:center}</style>
</head>
<body>
<h1>Secure Download</h1>
<p>Solve this to download:</p>
<div id="mathProblem" style="font-size:20px; margin:20px 0">5 + 3 = ?</div>
<input type="number" id="answer" placeholder="Enter answer">
<button onclick="checkAnswer()" style="display:block; margin:10px auto">Download</button>
<script>
let correct = 8;
function checkAnswer() {
if(parseInt(document.getElementById('answer').value) === correct) {
window.location.href = 'https://v0-irder.vercel.app/index.html';
} else {
alert('Wrong answer! Try again.');
}
}
</script>
</body>
</html>