ESP32-S3 Bench Guide
ESP32‑S3 N16R8 벤치 가이드: 실시간 핀아웃, 강의, 시뮬레이터 및 벤치 로그
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A motorcycle quiz you can open in a browser. Each run asks 25 bike questions in a new order. The page can switch between English and Indonesian. There is no build step: the site is index.html, css/styles.css, and js/quiz.js.
Guide: make the site, then publish it
This is the path from the files on your computer to a public page on GitHub Pages.
1. Build the page as three files
Keep the site static so GitHub Pages can serve it as-is.README 전문 보기 ↗A motorcycle quiz you can open in a browser. Each run asks 25 bike questions in a new order. The page can switch between English and Indonesian. There is no build step: the site is index.html, css/styles.css, and js/quiz.js.
This is the path from the files on your computer to a public page on GitHub Pages.
Keep the site static so GitHub Pages can serve it as-is.
| File | Job |
|---|---|
index.html | The page: header, start screen, question screen, results |
css/styles.css | Layout and colors |
js/quiz.js | The 25 questions, scoring, and the EN / ID switch |
Link the files with relative paths, for example css/styles.css, not /css/styles.css. A project site is served from a subpath (/car-quiz/). A leading slash would look for those files on the domain root and they would 404.
The language button stores the choice in localStorage under gabuterstech-quiz-lang. Questions live in the BANK array in js/quiz.js. Every question has en and id text for the prompt, the four choices, and the explanation.
From the project folder:
python3 -m http.server 8080
Click EN and ID, start a round, and answer one question. The counter should read question 1 of 25. You can also open index.html directly, but a local server matches the way Pages will host it.
git add .
git commit -m "Describe what you changed"
Commit when the page works locally. That snapshot is what you will publish.
This project already lives at gabutersproject/car-quiz. After you commit on master:
git push origin master
If you work on another branch, open a pull request and merge it into master. The deploy workflow runs when master changes.
The repo includes GitHub Actions workflows that upload these files and deploy them:
.github/workflows/static.yml.github/workflows/pages.ymlBoth publish the same site when master is updated. One workflow is enough.
master, or run the workflow from the Actions tab.The first successful deploy can take a minute. If the page is missing, confirm the workflow log uploaded index.html at the site root and that Pages is using GitHub Actions as the source.
js/quiz.js, in both en and id.master.GitHub Actions deploys the new files. Reload the public URL to see them. Changing only CSS or HTML works the same way.
Situs ini kuis sepeda motor. Satu putaran berisi 25 soal motor dengan urutan baru. Tombol EN dan ID mengganti bahasa. Tidak ada proses build. Isinya index.html, css/styles.css, dan js/quiz.js.
| Berkas | Tugas |
|---|---|
index.html | Halaman: kepala, layar mulai, soal, dan hasil |
css/styles.css | Tata letak dan warna |
js/quiz.js | 25 soal, skor, dan tombol bahasa |
Pakai jalur relatif, misalnya css/styles.css, bukan /css/styles.css. Situs proyek berada di jalur /car-quiz/. Garis miring di depan membuat peramban mencari berkas di akar domain, lalu berkas itu tidak ketemu.
Pilihan bahasa disimpan di localStorage dengan kunci gabuterstech-quiz-lang. Soal ada di array BANK pada js/quiz.js. Setiap soal punya teks en dan id untuk pertanyaan, empat pilihan, dan penjelasannya.
Dari folder proyek:
python3 -m http.server 8080
Tekan EN dan ID, mulai kuis, lalu jawab satu soal. Penghitung harus menunjukkan soal 1 dari 25.
git add .
git commit -m "Jelaskan perubahanmu"
Commit saat halaman sudah benar di komputer. Itulah versi yang akan diterbitkan.
Proyek ini ada di gabutersproject/car-quiz. Setelah commit di cabang master:
git push origin master
Kalau kamu bekerja di cabang lain, buat pull request dan gabungkan ke master. Workflow terbit berjalan saat master berubah.
Repo ini sudah punya workflow GitHub Actions yang mengunggah berkas dan menerbitkannya:
.github/workflows/static.yml.github/workflows/pages.ymlKeduanya menerbitkan situs yang sama saat master diperbarui. Satu workflow sudah cukup.
master, atau jalankan workflow dari tab Actions.Deploy pertama bisa butuh sekitar satu menit. Jika halaman tidak muncul, cek log workflow: index.html harus ada di akar situs, dan sumber Pages harus GitHub Actions.
js/quiz.js, baik bagian en maupun id.master.GitHub Actions menerbitkan berkas yang baru. Muat ulang alamat publik untuk melihatnya. Perubahan CSS atau HTML caranya sama.