<!DOCTYPE html><html lang="ja"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width"><link rel="icon" href="data:">
<script type="module">
import { startQuiz } from "https://code4fukui.github.io/q4js/q4.js";
const point = await startQuiz({
quiz: [
[ "IchigoJamでLEDをつけるには?", "LED1", "LED0", "PRINT1", "CLS", "LED" ],
[ "IchigoJamの誕生日は?", "4/1", "1/5", "10/15", "10/10", "1/1", "12/31" ],
],
});
console.log("正答数: " + point);
</script>
- title タイトル
- quiz 「問題文、正答、誤答1、誤答2、誤答3、誤答4」の配列
- parent クイズ画面の親エレメント