Audit Man-Days Estimation Calculator
About this app
Estimate the number of audit man-days required for certification audits based on various parameters.
Interactive Emoji Quiz App Emoji Quiz Challenge
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>Interactive Emoji Quiz App</title>
<meta name="description" content="Test your emoji knowledge in a fun interactive quiz.">
<meta name="keywords" content="emoji quiz, fun quiz, interactive quiz, trivia, game">
<style>
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #ffafbd, #ffc3a0);
color: #334;
}
#main-container {
margin: auto;
max-width: 600px;
border-radius: 10px;
background: white;
padding: 30px;
box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
h1 {
color: #fe6f61;
}
button {
background-color: #6ab04c;
border: none;
color: white;
padding: 10px 20px;
border-radius: 5px;
margin-top: 15px;
cursor: pointer;
}
button:hover {
background-color: #5cbd40;
}
.question {
font-size: 24px;
margin: 20px 0;
}
.answer {
margin-top: 10px;
}
.correct {
color: green;
}
.incorrect {
color: red;
}
#result {
font-size: 20px;
margin-top: 20px;
}
</style>
<script>
const questions = [
{ emoji: '👨🍳', answer: 'Chef' },
{ emoji: '🚀', answer: 'Rocket' },
{ emoji: '🕺', answer: 'Dancer' },
{ emoji: '🍔', answer: 'Burger' }
];
let currentQuestionIndex = 0;
let score = 0;
function loadQuestion() {
const questionContainer = document.getElementById('question');
questionContainer.innerHTML = `
<div class="question">${questions[currentQuestionIndex].emoji}</div>
<input type="text" id="user-answer" placeholder="Your answer"/>
<button onclick="checkAnswer()">Submit</button>
`;
}
function checkAnswer() {
const userAnswer = document.getElementById('user-answer').value;
const resultContainer = document.getElementById('result');
if (userAnswer.toLowerCase() === questions[currentQuestionIndex].answer.toLowerCase()) {
resultContainer.innerHTML = `<span class="correct">Correct! 😊</span>`;
score++;
} else {
resultContainer.innerHTML = `<span class="incorrect">Incorrect! 😢</span>`;
}
currentQuestionIndex++;
if (currentQuestionIndex < questions.length) {
loadQuestion();
} else {
showFinalScore();
}
document.getElementById('user-answer').value = '';
}
function showFinalScore() {
const questionContainer = document.getElementById('question');
questionContainer.innerHTML = '';
document.getElementById('result').innerHTML = `Your final score is: ${score} out of ${questions.length}. 🎉`;
}
document.addEventListener("DOMContentLoaded", loadQuestion);
</script>
</head>
<body>
<div id="main-container">
<h1>Emoji Quiz Challenge</h1>
<div id="question"></div>
<div id="result"></div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!