<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="Content-Security-Policy" content="default-src * data: gap: content: https://ssl.gstatic.com; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'">
<script src="components/loader.js"></script>
<link rel="stylesheet" href="components/loader.css">
<link rel="stylesheet" href="css/style.css">
<script>
function correct(){
alert("すごい!正解だよ!");
location.href = "quiz3.html";
sessionStorage.score++;
}
function incorrect(){
alert("残念!はずれ!");
location.href = "quiz3.html";
}
</script>
</head>
<body>
<h1>第2問</h1>
<p>Scratchのキャラクター、ピコは?</p>
<img src="giga.png" width="90px" onclick="incorrect();">
<img src="nano.png" width="90px" onclick="incorrect();">
<img src="pico.png" width="90px" onclick="correct();">
</body>
</html>
※コード部分をダブルクリックすると全選択ができます。