2003 World Wrestling Championships - Women's freestyle 63 kg
About this app
Interactive exploration of the Women's freestyle 63 kg category at the 2003 World Wrestling Championships.
2003 World Wrestling Championships - Women's freestyle 63 kg 2003 Women's Freestyle 63 kg Quiz Learn More on Wikipedia
Related apps
Put this on your site
Source
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>2003 World Wrestling Championships - Women's freestyle 63 kg</title>
<meta name="description" content="Interactive exploration of the Women's freestyle 63 kg category at the 2003 World Wrestling Championships.">
<meta name="keywords" content="World Wrestling Championships, Women's Freestyle, 63kg, 2003, Wrestling, Interactive, Game">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P&display=swap" rel="stylesheet">
<script type="text/javascript">
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.
try {
document.addEventListener("DOMContentLoaded", function() {
// Quiz Logic
const quizQuestions = [
{
question: "Which country did the gold medalist represent?",
options: ["Japan", "USA", "Canada", "France"],
answer: 0,
image: "https://upload.wikimedia.org/wikipedia/commons/4/47/Gold_medal_icon.svg"
},
{
question: "What is the name of the venue where the championship took place?",
options: ["Madison Square Garden", "The O2 Arena", "Wembley Stadium", "Staples Center"],
answer: 0,
image: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Flag_of_Japan.svg/23px-Flag_of_Japan.svg.png"
},
{
question: "Who won the silver medal?",
options: ["Sara McMann", "Kaori Icho", "Lise Golliot-Legrand", "Stéphanie Groß"],
answer: 0,
image: "https://upload.wikimedia.org/wikipedia/commons/2/2e/Silver_medal_icon.svg"
}
];
let currentQuestionIndex = 0;
// Function to display a question
function displayQuestion(questionIndex) {
const questionObj = quizQuestions[questionIndex];
$("#question").text(questionObj.question);
$("#medal").attr("src", questionObj.image);
questionObj.options.forEach(function(option, index) {
$("#option-" + index).text(option);
});
}
// Function to check answer
function checkAnswer(selectedIndex) {
const correctIndex = quizQuestions[currentQuestionIndex].answer;
if (selectedIndex === correctIndex) {
$("#feedback").text("Correct! 🎉").addClass("text-success").removeClass("text-danger");
} else {
$("#feedback").text("Oops! The correct answer was " + quizQuestions[currentQuestionIndex].options[correctIndex] + ".").addClass("text-danger").removeClass("text-success");
}
}
// Event listeners for options
$(".quiz-option").click(function() {
const selectedIndex = parseInt($(this).data("index"));
checkAnswer(selectedIndex);
});
// Initialize the first question
displayQuestion(currentQuestionIndex);
});
} catch (error) {
throw error;
}
</script>
<style>
/* App CSS Goes Here */
body {
font-family: 'Press Start 2P', cursive;
background: linear-gradient(45deg, #83a4d4, #b6fbff);
color: #333;
}
#main-container {
padding-top: 30px;
}
.quiz-container {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.quiz-option {
cursor: pointer;
padding: 10px;
margin-top: 10px;
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.quiz-option:hover {
background-color: #efefef;
}
#feedback {
margin-top: 15px;
font-size: 0.8em;
}
.medal-img {
height: 50px;
}
.info-link {
text-decoration: none;
color: #fff;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<!-- App HTML Goes Here -->
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="quiz-container">
<h2>2003 Women's Freestyle 63 kg Quiz</h2>
<p id="question" class="lead"></p>
<img id="medal" class="medal-img" src="" alt="Medal">
<div id="options">
<div id="option-0" class="quiz-option" data-index="0"></div>
<div id="option-1" class="quiz-option" data-index="1"></div>
<div id="option-2" class="quiz-option" data-index="2"></div>
<div id="option-3" class="quiz-option" data-index="3"></div>
</div>
<div id="feedback"></div>
<a class="info-link" href="https://en.wikipedia.org/wiki/2003+World+Wrestling+Championships+%E2%80%93+Women%27s+freestyle+63+kg" target="_blank" rel="nofollow">
<button class="btn btn-primary mt-3">Learn More on Wikipedia</button>
</a>
</div>
</div>
</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!