Point, Blank, Period.
About this app
A fun and challenging game where you have to quickly identify the correct punctuation mark. Test your punctuation skills now!
Point, Blank, Period. Point, Blank, Period. A fun and challenging game where you have to quickly identify the correct punctuation mark. Period Question Mark Exclamation Mark Comma Submit Time Left: Score:
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>Point, Blank, Period.</title>
<meta name="description" content="A fun and challenging game where you have to quickly identify the correct punctuation mark. Test your punctuation skills now!">
<meta name="keywords" content="punctuation, game, challenge, fun, punctuation mark, period, question mark, exclamation mark, comma">
<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">
<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.
// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
var punctuationMarks = ['.', '?', '!', ','];
var score = 0;
var timer;
function startGame() {
score = 0;
updateScore();
showRandomPunctuationMark();
startTimer();
}
function showRandomPunctuationMark() {
var randomIndex = Math.floor(Math.random() * punctuationMarks.length);
var punctuationMark = punctuationMarks[randomIndex];
$('#punctuation-mark').text(punctuationMark);
}
function startTimer() {
var timeLeft = 10;
$('#timer').text(timeLeft);
timer = setInterval(function() {
timeLeft--;
$('#timer').text(timeLeft);
if (timeLeft === 0) {
endGame();
}
}, 1000);
}
function endGame() {
clearInterval(timer);
alert('Game Over! Your score: ' + score);
}
function updateScore() {
$('#score').text(score);
}
$('#submit').click(function() {
var selectedPunctuationMark = $('input[name="punctuation-mark"]:checked').val();
if (selectedPunctuationMark === $('#punctuation-mark').text()) {
score++;
}
showRandomPunctuationMark();
updateScore();
});
startGame();
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
body {
background-color: #f8f9fa;
font-family: 'Roboto', sans-serif;
}
.container {
max-width: 500px;
margin: 0 auto;
padding: 20px;
text-align: center;
}
h1 {
color: #343a40;
font-size: 30px;
margin-bottom: 20px;
}
p {
color: #6c757d;
font-size: 18px;
margin-bottom: 20px;
}
#punctuation-mark {
font-size: 50px;
margin-bottom: 20px;
}
.radio-label {
margin-bottom: 10px;
}
#submit {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
}
#timer {
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
}
#score {
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Point, Blank, Period.</h1>
<p>A fun and challenging game where you have to quickly identify the correct punctuation mark.</p>
<div id="punctuation-mark"></div>
<div class="form-check">
<input class="form-check-input" type="radio" name="punctuation-mark" id="period" value=".">
<label class="form-check-label radio-label" for="period">
<i class="fa fa-circle"></i> Period
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="punctuation-mark" id="question-mark" value="?">
<label class="form-check-label radio-label" for="question-mark">
<i class="fa fa-question"></i> Question Mark
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="punctuation-mark" id="exclamation-mark" value="!">
<label class="form-check-label radio-label" for="exclamation-mark">
<i class="fa fa-exclamation"></i> Exclamation Mark
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="punctuation-mark" id="comma" value=",">
<label class="form-check-label radio-label" for="comma">
<i class="fa fa-compress"></i> Comma
</label>
</div>
<button id="submit">Submit</button>
<p>Time Left: <span id="timer"></span></p>
<p>Score: <span id="score"></span></p>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!