<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>แบบทดสอบออนไลน์ Archives - ครูชัชดอทคอม</title>
	<atom:link href="https://www.kroochut.com/tag/%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%97%e0%b8%94%e0%b8%aa%e0%b8%ad%e0%b8%9a%e0%b8%ad%e0%b8%ad%e0%b8%99%e0%b9%84%e0%b8%a5%e0%b8%99%e0%b9%8c/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kroochut.com/tag/แบบทดสอบออนไลน์/</link>
	<description>เว็บไซต์เพื่อการเรียนรู้ของทุกคน</description>
	<lastBuildDate>Tue, 14 Jul 2026 12:51:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>

<image>
	<url>https://www.kroochut.com/wp-content/uploads/2024/12/cropped-5dd646cee6656-32x32.png</url>
	<title>แบบทดสอบออนไลน์ Archives - ครูชัชดอทคอม</title>
	<link>https://www.kroochut.com/tag/แบบทดสอบออนไลน์/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>บทเรียนออนไลน์ ระบบต่าง ๆ ในชีวิตประจำวัน</title>
		<link>https://www.kroochut.com/systems-in-daily-life/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 14 Jul 2026 12:51:49 +0000</pubDate>
				<category><![CDATA[การออกแบบและเทคโนโลยี]]></category>
		<category><![CDATA[e-learning]]></category>
		<category><![CDATA[Interactive Learning]]></category>
		<category><![CDATA[kroochut]]></category>
		<category><![CDATA[Online Learning]]></category>
		<category><![CDATA[STEM Education]]></category>
		<category><![CDATA[System Thinking]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[การคิดเชิงระบบ]]></category>
		<category><![CDATA[การเรียนรู้ออนไลน์]]></category>
		<category><![CDATA[ครูผู้สอน]]></category>
		<category><![CDATA[ความสัมพันธ์ของระบบ]]></category>
		<category><![CDATA[นักเรียนมัธยม]]></category>
		<category><![CDATA[บทเรียนออนไลน์]]></category>
		<category><![CDATA[มัธยมศึกษาตอนต้น]]></category>
		<category><![CDATA[ระบบการทำงาน]]></category>
		<category><![CDATA[ระบบต่าง ๆ ในชีวิตประจำวัน]]></category>
		<category><![CDATA[ระบบธรรมชาติ]]></category>
		<category><![CDATA[ระบบปิด]]></category>
		<category><![CDATA[ระบบย่อย]]></category>
		<category><![CDATA[ระบบเทคโนโลยี]]></category>
		<category><![CDATA[ระบบเปิด]]></category>
		<category><![CDATA[ระบบในชีวิตประจำวัน]]></category>
		<category><![CDATA[วิทยาการคำนวณ]]></category>
		<category><![CDATA[สื่อการสอน]]></category>
		<category><![CDATA[สื่อการเรียนรู้]]></category>
		<category><![CDATA[องค์ประกอบของระบบ]]></category>
		<category><![CDATA[เกมการศึกษา]]></category>
		<category><![CDATA[เทคโนโลยี]]></category>
		<category><![CDATA[แบบทดสอบออนไลน์]]></category>
		<guid isPermaLink="false">https://www.kroochut.com/?p=1089</guid>

					<description><![CDATA[<p>The post <a href="https://www.kroochut.com/systems-in-daily-life/">บทเรียนออนไลน์ ระบบต่าง ๆ ในชีวิตประจำวัน</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<html>
<head>
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=https://kroochut.my.canva.site/various-systems-in-daily-life"></head>
</html>



<p></p>
<p>The post <a href="https://www.kroochut.com/systems-in-daily-life/">บทเรียนออนไลน์ ระบบต่าง ๆ ในชีวิตประจำวัน</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>บทเรียนออนไลน์การออกแบบอินโฟกราฟิกเพื่อการนำเสนอข้อมูลอย่างสร้างสรรค์ 🎨</title>
		<link>https://www.kroochut.com/infographic-design/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 10 Sep 2025 04:32:02 +0000</pubDate>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Canva]]></category>
		<category><![CDATA[creative learning]]></category>
		<category><![CDATA[Data Visualization]]></category>
		<category><![CDATA[Infographic Design]]></category>
		<category><![CDATA[infographic elements]]></category>
		<category><![CDATA[infographic examples]]></category>
		<category><![CDATA[infographic tools]]></category>
		<category><![CDATA[infographic types]]></category>
		<category><![CDATA[Piktochart]]></category>
		<category><![CDATA[visual communication]]></category>
		<category><![CDATA[การนำเสนอข้อมูล]]></category>
		<category><![CDATA[การออกแบบอินโฟกราฟิก]]></category>
		<category><![CDATA[คอมพิวเตอร์ ม.3]]></category>
		<category><![CDATA[บทเรียนออนไลน์ ม.3]]></category>
		<category><![CDATA[ออกแบบกราฟิก]]></category>
		<category><![CDATA[อินโฟกราฟิก ม.3]]></category>
		<category><![CDATA[เทคโนโลยีการศึกษา]]></category>
		<category><![CDATA[แบบทดสอบออนไลน์]]></category>
		<guid isPermaLink="false">https://www.kroochut.com/?p=853</guid>

					<description><![CDATA[<p>การออกแบบอินโฟกราฟิกเพื่อการนำเสนอข้อมูลอย่างสร้างสรรค์ &#124; Creative Infographic Design 🎨 การออกแบบอินโฟกราฟิกเพื่อการนำเสนอข้อมูลอย่างสร้างสรรค์ TH EN ความคืบหน้า: 1/11 🎨 การออกแบบอินโฟกราฟิกเพื่อการนำเสนอข้อมูลอย่างสร้างสรรค์ 🎨 ข้อมูลในโลกดิจิทัลมีปริมาณมหาศาล การนำเสนอข้อมูลอย่างมีประสิทธิภาพ สวัสดีนักเรียนม.3 ทุกคน! 😊 ยินดีต้อนรับสู่บทเรียนเรื่องการออกแบบอินโฟกราฟิก ในโลกที่เต็มไปด้วยข้อมูล การนำเสนอข้อมูลให้น่าสนใจและเข้าใจง่ายเป็นทักษะสำคัญที่ทุกคนควรมี 🧠 คำถามกระตุ้นความคิด คุณเคยพบข้อมูลที่เข้าใจยากหรือน่าเบื่อบ้างไหม? ถ้ามีโอกาส คุณจะนำเสนอข้อมูลนั้นอย่างไรให้น่าสนใจขึ้น? 🎯 วัตถุประสงค์การเรียนรู้ เข้าใจความหมาย ความสำคัญ และประเภทของอินโฟกราฟิก สามารถออกแบบอินโฟกราฟิกเบื้องต้นได้อย่างสร้างสรรค์ นำความรู้ไปใช้ในการเรียนและการนำเสนอผลงานได้จริง ก่อนหน้า ต่อไป 📊 ความหมายและความสำคัญของอินโฟกราฟิก ตัวอย่างอินโฟกราฟิก การสื่อสารข้อมูลที่มีประสิทธิภาพ อินโฟกราฟิก (Infographic) คืออะไร? อินโฟกราฟิกคือการนำข้อมูลมาสรุปและเรียบเรียงใหม่ โดยใช้ภาพ กราฟิก สัญลักษณ์ และข้อความสั้นๆ เพื่อให้เข้าใจข้อมูลได้ง่ายและรวดเร็ว ความสำคัญของอินโฟกราฟิกในยุคดิจิทัล ช่วยให้เข้าใจข้อมูลที่ซับซ้อนได้ง่ายขึ้น ดึงดูดความสนใจมากกว่าข้อความล้วนๆ เหมาะกับการแบ่งปันบนโซเชียลมีเดีย ช่วยให้จดจำข้อมูลได้ดีขึ้น เหตุผลที่ควรใช้การนำเสนอข้อมูลในรูปแบบอินโฟกราฟิก สมองของมนุษย์ประมวลผลภาพได้เร็วกว่าข้อความมาก คนทั่วไปจดจำข้อมูลที่เป็นภาพได้มากกว่าข้อความ อินโฟกราฟิกช่วยเพิ่มการมีส่วนร่วมบนโซเชียลมีเดีย 🧠 คำถามกระตุ้นความคิด ข้อมูลใดบ้างที่คุณคิดว่าถ้านำเสนอเป็นอินโฟกราฟิกแล้วจะเข้าใจง่ายขึ้น? ก่อนหน้า ต่อไป 📚 ความรู้เบื้องต้นเกี่ยวกับอินโฟกราฟิก อินโฟกราฟิกประเภทต่างๆ การใช้งานอินโฟกราฟิกในชีวิตประจำวัน ประเภทของอินโฟกราฟิก 📈 สถิติ (Statistical) เน้นการนำเสนอข้อมูลตัวเลข โดยใช้กราฟและแผนภูมิ 🔄 กระบวนการ (Process) อธิบายลำดับขั้นตอนการทำงานอย่างเป็นขั้นเป็นตอน 🗺️ แผนที่ (Geographical) นำเสนอข้อมูลตามพื้นที่ทางภูมิศาสตร์ ⏰ ไทม์ไลน์ (Timeline) แสดงข้อมูลเรียงตามลำดับเวลา 📋 เปรียบเทียบ (Comparison) เปรียบเทียบความแตกต่างระหว่างหลายสิ่ง 🧠 คำถามกระตุ้นความคิด คุณเคยเห็นอินโฟกราฟิกประเภทใดบ้างในชีวิตประจำวัน? และช่วยอย่างไร? ก่อนหน้า ต่อไป 🧩 องค์ประกอบสำคัญของอินโฟกราฟิก องค์ประกอบต่างๆ ในอินโฟกราฟิก การออกแบบที่มีประสิทธิภาพ องค์ประกอบ 5 อย่างที่ทำให้อินโฟกราฟิกมีประสิทธิภาพ 📊 ข้อมูล (Data) ข้อมูลต้องถูกต้องและน่าเชื่อถือ 📝 ข้อความ (Text) ใช้ถ้อยคำกระชับ เข้าใจง่าย 🖼️ ภาพและสัญลักษณ์ (Visuals) ใช้ภาพ/ไอคอนที่สื่อความหมายชัดเจน 📐 การจัดวาง (Layout) สมดุล เน้นประเด็นสำคัญ และไหลลื่น 🎨 สีและตัวอักษร (Color &#038; Type) เลือกสี/ฟอนต์ให้เหมาะกับกลุ่มเป้าหมาย 🧠 คำถามกระตุ้นความคิด ถ้าออกแบบเรื่อง “อนุรักษ์น้ำ” คุณจะใช้สีใด และเพราะอะไร? ก่อนหน้า ต่อไป 🛠️ ขั้นตอนการออกแบบอินโฟกราฟิกอย่างสร้างสรรค์ การวางแผนและการออกแบบ กระบวนการสร้างสรรค์ผลงาน 6 ขั้นตอน กำหนดวัตถุประสงค์/กลุ่มเป้าหมาย/ข้อมูลสำคัญ เลือกประเภทอินโฟกราฟิกที่เหมาะสม ร่างโครง (Sketch/Storyboard) ออกแบบด้วยเครื่องมือดิจิทัล (เช่น Canva, Piktochart) ตรวจสอบความถูกต้อง/ปรับแก้ เผยแพร่/นำเสนอ 🧠 คำถามกระตุ้นความคิด ถ้าทำอินโฟกราฟิก “ประวัติส่วนตัว” จะเลือกประเภทใด เพราะเหตุใด? ก่อนหน้า ต่อไป ✨ เทคนิคการทำให้อินโฟกราฟิกน่าสนใจ การใช้สีที่ดึงดูดความสนใจ การเล่าเรื่องด้วยภาพ เทคนิคสำคัญ ใช้สีอย่างมีความหมาย และจำกัด 3–5 สี ใช้ไอคอนที่เข้าใจง่าย และสอดคล้องทั้งงาน เล่าเรื่องด้วยภาพ (Visual Storytelling) ข้อมูลกระชับ น่าเชื่อถือ อ้างอิงที่มา ปรับให้เหมาะกับแพลตฟอร์ม (เว็บ/โซเชียล) 🧠 คำถามกระตุ้นความคิด Visual Storytelling สำคัญอย่างไรในการออกแบบอินโฟกราฟิก? ก่อนหน้า ต่อไป 🌍 ตัวอย่างอินโฟกราฟิกสร้างสรรค์ อินโฟกราฟิกด้านการศึกษา อินโฟกราฟิกด้านสุขภาพ ตัวอย่างด้านต่างๆ 🎓 การศึกษา: แผนผังบทเรียน/Timeline 🏥 สุขภาพ: โภชนาการ/ป้องกันโรค 🌳 สิ่งแวดล้อม: วงจรผลิตภัณฑ์/รีไซเคิล 💼 ธุรกิจ: การเติบโต/แผนการตลาด/เปรียบเทียบ 🧠 คำถามกระตุ้นความคิด ถ้าคุณต้องสร้างอินโฟกราฟิกชิ้นหนึ่ง คุณจะเลือกเรื่องอะไร เพราะเหตุใด? ก่อนหน้า ต่อไป 🛠️ เครื่องมือและแหล่งเรียนรู้ออนไลน์ เครื่องมือออกแบบอินโฟกราฟิก แหล่งเรียนรู้การออกแบบ เครื่องมือสำหรับผู้เริ่มต้น Canva — ใช้ง่าย มีเทมเพลตหลากหลาย Piktochart — ถนัดงานอินโฟกราฟิกโดยเฉพาะ Venngage — เครื่องมือจัดภาพข้อมูล Adobe Express — คุณภาพสายโปร PowerPoint / Google Slides — คุ้นมืออยู่แล้ว แหล่งเรียนรู้เพิ่มเติม คอร์ส/คลิป YouTube ด้านการออกแบบ บล็อกบทความ &#038; tutorials ชุมชน Facebook/กลุ่มนักออกแบบ หนังสือ/อีบุ๊ก Data Visualization 🧠 คำถามกระตุ้นความคิด เครื่องมือไหนเหมาะกับคุณที่สุด และเพราะอะไร? ก่อนหน้า ต่อไป ✅ สรุปบทเรียน สรุปเนื้อหาการเรียนรู้ การนำความรู้ไปใช้ สิ่งที่เราเรียนรู้ อินโฟกราฟิกช่วยย่อยข้อมูลซับซ้อนให้ง่ายและน่าสนใจ เป็นทักษะสำคัญในศตวรรษที่ 21 นำไปใช้ได้จริงทั้งการเรียนและงานนำเสนอ ทักษะที่ได้พัฒนา คิดเชิงวิเคราะห์/สรุปข้อมูล ความคิดสร้างสรรค์/ออกแบบ การสื่อสารอย่างมีประสิทธิภาพ มองภาพรวมด้วยภาพแทนข้อความ 🧠 คำถามทบทวน อะไรคือสิ่งสำคัญที่สุดที่ได้เรียนรู้ และจะนำไปใช้อย่างไร? ก่อนหน้า ต่อไป 📝 แบบทดสอบหลังเรียน กรุณากรอกชื่อของคุณและทำแบบทดสอบ 20 ข้อต่อไปนี้ ก่อนหน้า ส่งคำตอบ 🎓 ผลการเรียนรู้ ชื่อ: คะแนน: /20 คำแนะนำ ก่อนหน้า เริ่มบทเรียนใหม่</p>
<p>The post <a href="https://www.kroochut.com/infographic-design/">บทเรียนออนไลน์การออกแบบอินโฟกราฟิกเพื่อการนำเสนอข้อมูลอย่างสร้างสรรค์ 🎨</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<!DOCTYPE html>
<html lang="th">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>การออกแบบอินโฟกราฟิกเพื่อการนำเสนอข้อมูลอย่างสร้างสรรค์ | Creative Infographic Design</title>
  <meta name="description" content="บทเรียนสองภาษา (ไทย/English): การออกแบบอินโฟกราฟิกสำหรับ ม.3 พร้อมตัวอย่าง เทคนิค และแบบทดสอบ 20 ข้อ | Bilingual lesson (TH/EN) on creative infographic design with examples, techniques, and a 20-item quiz."/>
  <link href="https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600&#038;display=swap" rel="stylesheet">
  <style>
    *{margin:0;padding:0;box-sizing:border-box;font-family:'Kanit',system-ui,-apple-system,Segoe UI,Helvetica,Arial,sans-serif}
    body{background:#f8f9fa;color:#333;line-height:1.65}
    .lesson-container{max-width:1000px;margin:0 auto;padding:16px 16px 28px;background:#fff;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,.08)}
    .topbar{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 8px}
    .lang-switch{display:flex;gap:8px;align-items:center}
    .lang-switch button{padding:8px 12px;border:1px solid #d0d7ff;background:#eef2ff;color:#3444d4;border-radius:8px;cursor:pointer;font-weight:600}
    .lang-switch button.active{background:#4e73df;color:#fff;border-color:#4e73df}
    .progress-text{font-weight:700;color:#4e73df;margin:6px 0 6px 0}
    .progress-container{width:100%;height:14px;background:#e9ecef;border-radius:999px;overflow:hidden}
    .progress-bar{height:100%;width:0;background:linear-gradient(90deg,#4e73df,#6f42c1)}
    h1{color:#4e73df;text-align:center;margin:14px 0 12px;font-size:2rem}
    h2{color:#6f42c1;margin:14px 0 8px;font-size:1.5rem}
    h3{color:#6c757d;margin:10px 0 6px;font-size:1.2rem}
    p{margin:0 0 12px}
    ul,ol{margin:0 0 14px 26px}
    .image-container{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:14px 0}
    .image-box{flex:1 1 220px;max-width:300px;border-radius:10px;overflow:hidden;box-shadow:0 4px 10px rgba(0,0,0,.08)}
    .image-box img{width:100%;height:160px;object-fit:cover;transition:transform .25s}
    .image-box img:hover{transform:scale(1.04)}
    .image-caption{padding:8px;background:#f1f3f9;text-align:center;font-size:.95rem}
    .nav-buttons{display:flex;justify-content:space-between;gap:10px;margin-top:18px}
    .btn{padding:12px 18px;border:none;border-radius:8px;background:#4e73df;color:#fff;font-size:1rem;cursor:pointer;transition:.2s}
    .btn:hover{background:#2e59d9;transform:translateY(-1px)}
    .btn:disabled{background:#b0b7d1;cursor:not-allowed;transform:none}
    .page{display:none;padding:10px 8px;animation:fade .35s}
    .page.active{display:block}
    @keyframes fade{from{opacity:0}to{opacity:1}}
    .quiz-container{background:#f8f9fa;padding:16px;border-radius:10px;margin:14px 0}
    .question{margin-bottom:16px;padding:12px;background:#fff;border-radius:10px;box-shadow:0 2px 6px rgba(0,0,0,.05)}
    .options label{display:block;padding:10px;margin:6px 0;background:#eef1f4;border-radius:8px;cursor:pointer}
    .options label:hover{background:#e5e9ee}
    input[type="radio"]{margin-right:10px}
    input[type="text"]{width:100%;padding:12px;margin:10px 0 14px;border:1px solid #ced4da;border-radius:8px}
    .result-container{text-align:center;padding:20px}
    .score-display{font-size:2.2rem;font-weight:800;color:#4e73df;margin:12px 0}
    .grade-info{background:#f8f9fa;padding:16px;border-radius:10px;margin:14px 0}
    .thinking-question{background:#e8f4fd;border-left:6px solid #4e73df;padding:12px;margin:14px 0;border-radius:0 10px 10px 0}
    .emoji{font-size:1.25rem;margin-right:6px}
    .en-summary{margin:8px 0 4px;padding:10px 12px;border:1px dashed #cfd8ff;background:#f7f9ff;border-radius:10px}
    .muted{opacity:.9}
    @media (max-width:768px){
      .lesson-container{padding:12px}
      h1{font-size:1.7rem}
      h2{font-size:1.35rem}
    }
  </style>
</head>
<body data-lang="th">
  <div class="lesson-container">
    <div class="topbar">
      <div class="muted" id="courseTitle">🎨 การออกแบบอินโฟกราฟิกเพื่อการนำเสนอข้อมูลอย่างสร้างสรรค์</div>
      <div class="lang-switch" role="group" aria-label="Language switch">
        <button class="active" id="btnTH" onclick="setLang('th')">TH</button>
        <button id="btnEN" onclick="setLang('en')">EN</button>
      </div>
    </div>

    <div class="progress-text" id="progressText">ความคืบหน้า: <span id="current-page">1</span>/11</div>
    <div class="progress-container"><div class="progress-bar" id="progress-bar"></div></div>

    <!-- Page 1 -->
    <div class="page active" id="page1">
      <h1 data-i18n="p1_title">🎨 การออกแบบอินโฟกราฟิกเพื่อการนำเสนอข้อมูลอย่างสร้างสรรค์ 🎨</h1>
      <div class="image-container">
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/57690/pexels-photo-57690.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="ข้อมูลดิจิทัล / Digital data">
          <div class="image-caption" data-i18n="p1_cap1">ข้อมูลในโลกดิจิทัลมีปริมาณมหาศาล</div>
        </div>
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/590022/pexels-photo-590022.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="การนำเสนอข้อมูล / Data presentation">
          <div class="image-caption" data-i18n="p1_cap2">การนำเสนอข้อมูลอย่างมีประสิทธิภาพ</div>
        </div>
      </div>

      <p data-i18n="p1_intro">สวัสดีนักเรียนม.3 ทุกคน! 😊 ยินดีต้อนรับสู่บทเรียนเรื่องการออกแบบอินโฟกราฟิก ในโลกที่เต็มไปด้วยข้อมูล การนำเสนอข้อมูลให้น่าสนใจและเข้าใจง่ายเป็นทักษะสำคัญที่ทุกคนควรมี</p>
      <div class="en-summary" data-i18n="p1_intro_en"></div>

      <div class="thinking-question">
        <h3 data-i18n="think_title">🧠 คำถามกระตุ้นความคิด</h3>
        <p data-i18n="p1_q">คุณเคยพบข้อมูลที่เข้าใจยากหรือน่าเบื่อบ้างไหม? ถ้ามีโอกาส คุณจะนำเสนอข้อมูลนั้นอย่างไรให้น่าสนใจขึ้น?</p>
      </div>

      <h2 data-i18n="obj_title">🎯 วัตถุประสงค์การเรียนรู้</h2>
      <ol>
        <li data-i18n="obj_1">เข้าใจความหมาย ความสำคัญ และประเภทของอินโฟกราฟิก</li>
        <li data-i18n="obj_2">สามารถออกแบบอินโฟกราฟิกเบื้องต้นได้อย่างสร้างสรรค์</li>
        <li data-i18n="obj_3">นำความรู้ไปใช้ในการเรียนและการนำเสนอผลงานได้จริง</li>
      </ol>

      <div class="nav-buttons">
        <button class="btn" disabled id="btnPrev1" data-i18n="prev">ก่อนหน้า</button>
        <button class="btn" onclick="navigate(1,2)" data-i18n="next">ต่อไป</button>
      </div>
    </div>

    <!-- Page 2 -->
    <div class="page" id="page2">
      <h1 data-i18n="p2_title">📊 ความหมายและความสำคัญของอินโฟกราฟิก</h1>
      <div class="image-container">
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/356043/pexels-photo-356043.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Infographic example">
          <div class="image-caption" data-i18n="p2_cap1">ตัวอย่างอินโฟกราฟิก</div>
        </div>
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Effective communication">
          <div class="image-caption" data-i18n="p2_cap2">การสื่อสารข้อมูลที่มีประสิทธิภาพ</div>
        </div>
      </div>

      <h2 data-i18n="p2_h2_1">อินโฟกราฟิก (Infographic) คืออะไร?</h2>
      <p data-i18n="p2_p1">อินโฟกราฟิกคือการนำข้อมูลมาสรุปและเรียบเรียงใหม่ โดยใช้ภาพ กราฟิก สัญลักษณ์ และข้อความสั้นๆ เพื่อให้เข้าใจข้อมูลได้ง่ายและรวดเร็ว</p>
      <div class="en-summary" data-i18n="p2_p1_en"></div>

      <h2 data-i18n="p2_h2_2">ความสำคัญของอินโฟกราฟิกในยุคดิจิทัล</h2>
      <ul>
        <li data-i18n="p2_l1">ช่วยให้เข้าใจข้อมูลที่ซับซ้อนได้ง่ายขึ้น</li>
        <li data-i18n="p2_l2">ดึงดูดความสนใจมากกว่าข้อความล้วนๆ</li>
        <li data-i18n="p2_l3">เหมาะกับการแบ่งปันบนโซเชียลมีเดีย</li>
        <li data-i18n="p2_l4">ช่วยให้จดจำข้อมูลได้ดีขึ้น</li>
      </ul>

      <h2 data-i18n="p2_h2_3">เหตุผลที่ควรใช้การนำเสนอข้อมูลในรูปแบบอินโฟกราฟิก</h2>
      <ul>
        <li data-i18n="p2_l5">สมองของมนุษย์ประมวลผลภาพได้เร็วกว่าข้อความมาก</li>
        <li data-i18n="p2_l6">คนทั่วไปจดจำข้อมูลที่เป็นภาพได้มากกว่าข้อความ</li>
        <li data-i18n="p2_l7">อินโฟกราฟิกช่วยเพิ่มการมีส่วนร่วมบนโซเชียลมีเดีย</li>
      </ul>

      <div class="thinking-question">
        <h3 data-i18n="think_title">🧠 คำถามกระตุ้นความคิด</h3>
        <p data-i18n="p2_q">ข้อมูลใดบ้างที่คุณคิดว่าถ้านำเสนอเป็นอินโฟกราฟิกแล้วจะเข้าใจง่ายขึ้น?</p>
      </div>

      <div class="nav-buttons">
        <button class="btn" onclick="navigate(2,1)" data-i18n="prev">ก่อนหน้า</button>
        <button class="btn" onclick="navigate(2,3)" data-i18n="next">ต่อไป</button>
      </div>
    </div>

    <!-- Page 3 -->
    <div class="page" id="page3">
      <h1 data-i18n="p3_title">📚 ความรู้เบื้องต้นเกี่ยวกับอินโฟกราฟิก</h1>
      <div class="image-container">
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/267350/pexels-photo-267350.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Types of infographics">
          <div class="image-caption" data-i18n="p3_cap1">อินโฟกราฟิกประเภทต่างๆ</div>
        </div>
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/1591061/pexels-photo-1591061.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Infographic in daily life">
          <div class="image-caption" data-i18n="p3_cap2">การใช้งานอินโฟกราฟิกในชีวิตประจำวัน</div>
        </div>
      </div>

      <h2 data-i18n="p3_h2_types">ประเภทของอินโฟกราฟิก</h2>
      <h3 data-i18n="p3_t1">📈 สถิติ (Statistical)</h3>
      <p data-i18n="p3_t1p">เน้นการนำเสนอข้อมูลตัวเลข โดยใช้กราฟและแผนภูมิ</p>

      <h3 data-i18n="p3_t2">🔄 กระบวนการ (Process)</h3>
      <p data-i18n="p3_t2p">อธิบายลำดับขั้นตอนการทำงานอย่างเป็นขั้นเป็นตอน</p>

      <h3 data-i18n="p3_t3">🗺️ แผนที่ (Geographical)</h3>
      <p data-i18n="p3_t3p">นำเสนอข้อมูลตามพื้นที่ทางภูมิศาสตร์</p>

      <h3 data-i18n="p3_t4">⏰ ไทม์ไลน์ (Timeline)</h3>
      <p data-i18n="p3_t4p">แสดงข้อมูลเรียงตามลำดับเวลา</p>

      <h3 data-i18n="p3_t5">📋 เปรียบเทียบ (Comparison)</h3>
      <p data-i18n="p3_t5p">เปรียบเทียบความแตกต่างระหว่างหลายสิ่ง</p>

      <div class="thinking-question">
        <h3 data-i18n="think_title">🧠 คำถามกระตุ้นความคิด</h3>
        <p data-i18n="p3_q">คุณเคยเห็นอินโฟกราฟิกประเภทใดบ้างในชีวิตประจำวัน? และช่วยอย่างไร?</p>
      </div>

      <div class="nav-buttons">
        <button class="btn" onclick="navigate(3,2)" data-i18n="prev">ก่อนหน้า</button>
        <button class="btn" onclick="navigate(3,4)" data-i18n="next">ต่อไป</button>
      </div>
    </div>

    <!-- Page 4 -->
    <div class="page" id="page4">
      <h1 data-i18n="p4_title">🧩 องค์ประกอบสำคัญของอินโฟกราฟิก</h1>
      <div class="image-container">
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/356043/pexels-photo-356043.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Infographic elements">
          <div class="image-caption" data-i18n="p4_cap1">องค์ประกอบต่างๆ ในอินโฟกราฟิก</div>
        </div>
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/147413/twitter-facebook-together-exchange-of-information-147413.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Design efficiency">
          <div class="image-caption" data-i18n="p4_cap2">การออกแบบที่มีประสิทธิภาพ</div>
        </div>
      </div>

      <h2 data-i18n="p4_h2">องค์ประกอบ 5 อย่างที่ทำให้อินโฟกราฟิกมีประสิทธิภาพ</h2>
      <h3 data-i18n="p4_e1">📊 ข้อมูล (Data)</h3><p data-i18n="p4_e1p">ข้อมูลต้องถูกต้องและน่าเชื่อถือ</p>
      <h3 data-i18n="p4_e2">📝 ข้อความ (Text)</h3><p data-i18n="p4_e2p">ใช้ถ้อยคำกระชับ เข้าใจง่าย</p>
      <h3 data-i18n="p4_e3">🖼️ ภาพและสัญลักษณ์ (Visuals)</h3><p data-i18n="p4_e3p">ใช้ภาพ/ไอคอนที่สื่อความหมายชัดเจน</p>
      <h3 data-i18n="p4_e4">📐 การจัดวาง (Layout)</h3><p data-i18n="p4_e4p">สมดุล เน้นประเด็นสำคัญ และไหลลื่น</p>
      <h3 data-i18n="p4_e5">🎨 สีและตัวอักษร (Color &#038; Type)</h3><p data-i18n="p4_e5p">เลือกสี/ฟอนต์ให้เหมาะกับกลุ่มเป้าหมาย</p>

      <div class="thinking-question">
        <h3 data-i18n="think_title">🧠 คำถามกระตุ้นความคิด</h3>
        <p data-i18n="p4_q">ถ้าออกแบบเรื่อง “อนุรักษ์น้ำ” คุณจะใช้สีใด และเพราะอะไร?</p>
      </div>

      <div class="nav-buttons">
        <button class="btn" onclick="navigate(4,3)" data-i18n="prev">ก่อนหน้า</button>
        <button class="btn" onclick="navigate(4,5)" data-i18n="next">ต่อไป</button>
      </div>
    </div>

    <!-- Page 5 -->
    <div class="page" id="page5">
      <h1 data-i18n="p5_title">🛠️ ขั้นตอนการออกแบบอินโฟกราฟิกอย่างสร้างสรรค์</h1>
      <div class="image-container">
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/7376/startup-photos.jpg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Planning">
          <div class="image-caption" data-i18n="p5_cap1">การวางแผนและการออกแบบ</div>
        </div>
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/1109543/pexels-photo-1109543.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Creation">
          <div class="image-caption" data-i18n="p5_cap2">กระบวนการสร้างสรรค์ผลงาน</div>
        </div>
      </div>

      <h2 data-i18n="p5_h2">6 ขั้นตอน</h2>
      <ol>
        <li data-i18n="p5_s1">กำหนดวัตถุประสงค์/กลุ่มเป้าหมาย/ข้อมูลสำคัญ</li>
        <li data-i18n="p5_s2">เลือกประเภทอินโฟกราฟิกที่เหมาะสม</li>
        <li data-i18n="p5_s3">ร่างโครง (Sketch/Storyboard)</li>
        <li data-i18n="p5_s4">ออกแบบด้วยเครื่องมือดิจิทัล (เช่น Canva, Piktochart)</li>
        <li data-i18n="p5_s5">ตรวจสอบความถูกต้อง/ปรับแก้</li>
        <li data-i18n="p5_s6">เผยแพร่/นำเสนอ</li>
      </ol>

      <div class="thinking-question">
        <h3 data-i18n="think_title">🧠 คำถามกระตุ้นความคิด</h3>
        <p data-i18n="p5_q">ถ้าทำอินโฟกราฟิก “ประวัติส่วนตัว” จะเลือกประเภทใด เพราะเหตุใด?</p>
      </div>

      <div class="nav-buttons">
        <button class="btn" onclick="navigate(5,4)" data-i18n="prev">ก่อนหน้า</button>
        <button class="btn" onclick="navigate(5,6)" data-i18n="next">ต่อไป</button>
      </div>
    </div>

    <!-- Page 6 -->
    <div class="page" id="page6">
      <h1 data-i18n="p6_title">✨ เทคนิคการทำให้อินโฟกราฟิกน่าสนใจ</h1>
      <div class="image-container">
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/1261728/pexels-photo-1261728.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Color usage">
          <div class="image-caption" data-i18n="p6_cap1">การใช้สีที่ดึงดูดความสนใจ</div>
        </div>
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/1370296/pexels-photo-1370296.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Storytelling">
          <div class="image-caption" data-i18n="p6_cap2">การเล่าเรื่องด้วยภาพ</div>
        </div>
      </div>

      <h2 data-i18n="p6_h2">เทคนิคสำคัญ</h2>
      <ul>
        <li data-i18n="p6_l1">ใช้สีอย่างมีความหมาย และจำกัด 3–5 สี</li>
        <li data-i18n="p6_l2">ใช้ไอคอนที่เข้าใจง่าย และสอดคล้องทั้งงาน</li>
        <li data-i18n="p6_l3">เล่าเรื่องด้วยภาพ (Visual Storytelling)</li>
        <li data-i18n="p6_l4">ข้อมูลกระชับ น่าเชื่อถือ อ้างอิงที่มา</li>
        <li data-i18n="p6_l5">ปรับให้เหมาะกับแพลตฟอร์ม (เว็บ/โซเชียล)</li>
      </ul>

      <div class="thinking-question">
        <h3 data-i18n="think_title">🧠 คำถามกระตุ้นความคิด</h3>
        <p data-i18n="p6_q">Visual Storytelling สำคัญอย่างไรในการออกแบบอินโฟกราฟิก?</p>
      </div>

      <div class="nav-buttons">
        <button class="btn" onclick="navigate(6,5)" data-i18n="prev">ก่อนหน้า</button>
        <button class="btn" onclick="navigate(6,7)" data-i18n="next">ต่อไป</button>
      </div>
    </div>

    <!-- Page 7 -->
    <div class="page" id="page7">
      <h1 data-i18n="p7_title">🌍 ตัวอย่างอินโฟกราฟิกสร้างสรรค์</h1>
      <div class="image-container">
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/267350/pexels-photo-267350.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Education">
          <div class="image-caption" data-i18n="p7_cap1">อินโฟกราฟิกด้านการศึกษา</div>
        </div>
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/40568/medical-appointment-doctor-healthcare-40568.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Health">
          <div class="image-caption" data-i18n="p7_cap2">อินโฟกราฟิกด้านสุขภาพ</div>
        </div>
      </div>

      <h2 data-i18n="p7_h2">ตัวอย่างด้านต่างๆ</h2>
      <h3>🎓 <span data-i18n="p7_edu">การศึกษา: แผนผังบทเรียน/Timeline</span></h3>
      <h3>🏥 <span data-i18n="p7_health">สุขภาพ: โภชนาการ/ป้องกันโรค</span></h3>
      <h3>🌳 <span data-i18n="p7_env">สิ่งแวดล้อม: วงจรผลิตภัณฑ์/รีไซเคิล</span></h3>
      <h3>💼 <span data-i18n="p7_biz">ธุรกิจ: การเติบโต/แผนการตลาด/เปรียบเทียบ</span></h3>

      <div class="thinking-question">
        <h3 data-i18n="think_title">🧠 คำถามกระตุ้นความคิด</h3>
        <p data-i18n="p7_q">ถ้าคุณต้องสร้างอินโฟกราฟิกชิ้นหนึ่ง คุณจะเลือกเรื่องอะไร เพราะเหตุใด?</p>
      </div>

      <div class="nav-buttons">
        <button class="btn" onclick="navigate(7,6)" data-i18n="prev">ก่อนหน้า</button>
        <button class="btn" onclick="navigate(7,8)" data-i18n="next">ต่อไป</button>
      </div>
    </div>

    <!-- Page 8 -->
    <div class="page" id="page8">
      <h1 data-i18n="p8_title">🛠️ เครื่องมือและแหล่งเรียนรู้ออนไลน์</h1>
      <div class="image-container">
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/267350/pexels-photo-267350.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Design tools">
          <div class="image-caption" data-i18n="p8_cap1">เครื่องมือออกแบบอินโฟกราฟิก</div>
        </div>
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/147413/twitter-facebook-together-exchange-of-information-147413.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Learning sources">
          <div class="image-caption" data-i18n="p8_cap2">แหล่งเรียนรู้การออกแบบ</div>
        </div>
      </div>

      <h2 data-i18n="p8_h2_tools">เครื่องมือสำหรับผู้เริ่มต้น</h2>
      <ul>
        <li data-i18n="p8_t1">Canva — ใช้ง่าย มีเทมเพลตหลากหลาย</li>
        <li data-i18n="p8_t2">Piktochart — ถนัดงานอินโฟกราฟิกโดยเฉพาะ</li>
        <li data-i18n="p8_t3">Venngage — เครื่องมือจัดภาพข้อมูล</li>
        <li data-i18n="p8_t4">Adobe Express — คุณภาพสายโปร</li>
        <li data-i18n="p8_t5">PowerPoint / Google Slides — คุ้นมืออยู่แล้ว</li>
      </ul>

      <h2 data-i18n="p8_h2_more">แหล่งเรียนรู้เพิ่มเติม</h2>
      <ul>
        <li data-i18n="p8_m1">คอร์ส/คลิป YouTube ด้านการออกแบบ</li>
        <li data-i18n="p8_m2">บล็อกบทความ &#038; tutorials</li>
        <li data-i18n="p8_m3">ชุมชน Facebook/กลุ่มนักออกแบบ</li>
        <li data-i18n="p8_m4">หนังสือ/อีบุ๊ก Data Visualization</li>
      </ul>

      <div class="thinking-question">
        <h3 data-i18n="think_title">🧠 คำถามกระตุ้นความคิด</h3>
        <p data-i18n="p8_q">เครื่องมือไหนเหมาะกับคุณที่สุด และเพราะอะไร?</p>
      </div>

      <div class="nav-buttons">
        <button class="btn" onclick="navigate(8,7)" data-i18n="prev">ก่อนหน้า</button>
        <button class="btn" onclick="navigate(8,9)" data-i18n="next">ต่อไป</button>
      </div>
    </div>

    <!-- Page 9 -->
    <div class="page" id="page9">
      <h1 data-i18n="p9_title">✅ สรุปบทเรียน</h1>
      <div class="image-container">
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/267350/pexels-photo-267350.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Recap">
          <div class="image-caption" data-i18n="p9_cap1">สรุปเนื้อหาการเรียนรู้</div>
        </div>
        <div class="image-box">
          <img decoding="async" src="https://images.pexels.com/photos/1370296/pexels-photo-1370296.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=1260&#038;h=750&#038;dpr=1" alt="Apply">
          <div class="image-caption" data-i18n="p9_cap2">การนำความรู้ไปใช้</div>
        </div>
      </div>

      <h2 data-i18n="p9_h2_1">สิ่งที่เราเรียนรู้</h2>
      <ul>
        <li data-i18n="p9_l1">อินโฟกราฟิกช่วยย่อยข้อมูลซับซ้อนให้ง่ายและน่าสนใจ</li>
        <li data-i18n="p9_l2">เป็นทักษะสำคัญในศตวรรษที่ 21</li>
        <li data-i18n="p9_l3">นำไปใช้ได้จริงทั้งการเรียนและงานนำเสนอ</li>
      </ul>

      <h2 data-i18n="p9_h2_2">ทักษะที่ได้พัฒนา</h2>
      <ul>
        <li data-i18n="p9_s1">คิดเชิงวิเคราะห์/สรุปข้อมูล</li>
        <li data-i18n="p9_s2">ความคิดสร้างสรรค์/ออกแบบ</li>
        <li data-i18n="p9_s3">การสื่อสารอย่างมีประสิทธิภาพ</li>
        <li data-i18n="p9_s4">มองภาพรวมด้วยภาพแทนข้อความ</li>
      </ul>

      <div class="thinking-question">
        <h3 data-i18n="think_title">🧠 คำถามทบทวน</h3>
        <p data-i18n="p9_q">อะไรคือสิ่งสำคัญที่สุดที่ได้เรียนรู้ และจะนำไปใช้อย่างไร?</p>
      </div>

      <div class="nav-buttons">
        <button class="btn" onclick="navigate(9,8)" data-i18n="prev">ก่อนหน้า</button>
        <button class="btn" onclick="navigate(9,10)" data-i18n="next">ต่อไป</button>
      </div>
    </div>

    <!-- Page 10 (Quiz) -->
    <div class="page" id="page10">
      <h1 data-i18n="quiz_title">📝 แบบทดสอบหลังเรียน</h1>
      <p data-i18n="quiz_intro">กรุณากรอกชื่อของคุณและทำแบบทดสอบ 20 ข้อต่อไปนี้</p>
      <input type="text" id="student-name" placeholder="กรุณากรอกชื่อของคุณ / Your name">
      <div class="quiz-container" id="quiz-container"></div>
      <div class="nav-buttons">
        <button class="btn" onclick="navigate(10,9)" data-i18n="prev">ก่อนหน้า</button>
        <button class="btn" onclick="submitQuiz()" data-i18n="submit">ส่งคำตอบ</button>
      </div>
    </div>

    <!-- Page 11 (Result) -->
    <div class="page" id="page11">
      <div class="result-container">
        <h1 data-i18n="result_title">🎓 ผลการเรียนรู้</h1>
        <p><span data-i18n="name_label">ชื่อ</span>: <span id="result-name"></span></p>
        <div class="score-display"><span data-i18n="score_label">คะแนน</span>: <span id="score"></span>/20</div>
        <div class="grade-info" id="grade-info"></div>
        <h2 data-i18n="advice_title">คำแนะนำ</h2>
        <p id="recommendation"></p>
        <div class="nav-buttons">
          <button class="btn" onclick="navigate(11,10)" data-i18n="prev">ก่อนหน้า</button>
          <button class="btn" onclick="restartLesson()" data-i18n="restart">เริ่มบทเรียนใหม่</button>
        </div>
      </div>
    </div>
  </div>

  <audio id="click-sound" src="https://assets.mixkit.co/sfx/preview/mixkit-select-click-1109.mp3" preload="auto"></audio>

  <script>
    // ===== State =====
    let currentPage = 1;
    const totalPages = 11;
    const clickSound = document.getElementById('click-sound');

    // ===== i18n dictionary (TH → EN) =====
    const dict = {
      // Top / common
      prev:{th:"ก่อนหน้า",en:"Previous"},
      next:{th:"ต่อไป",en:"Next"},
      submit:{th:"ส่งคำตอบ",en:"Submit"},
      restart:{th:"เริ่มบทเรียนใหม่",en:"Restart Lesson"},
      name_label:{th:"ชื่อ",en:"Name"},
      score_label:{th:"คะแนน",en:"Score"},
      advice_title:{th:"คำแนะนำ",en:"Suggestions"},
      result_title:{th:"🎓 ผลการเรียนรู้",en:"🎓 Learning Result"},
      quiz_title:{th:"📝 แบบทดสอบหลังเรียน",en:"📝 Post-lesson Quiz"},
      quiz_intro:{th:"กรุณากรอกชื่อของคุณและทำแบบทดสอบ 20 ข้อต่อไปนี้",en:"Please enter your name and complete the following 20-item quiz."},
      think_title:{th:"🧠 คำถามกระตุ้นความคิด",en:"🧠 Thinking Question"},
      obj_title:{th:"🎯 วัตถุประสงค์การเรียนรู้",en:"🎯 Learning Objectives"},

      // Page 1
      p1_title:{th:"🎨 การออกแบบอินโฟกราฟิกเพื่อการนำเสนอข้อมูลอย่างสร้างสรรค์ 🎨",en:"🎨 Creative Infographic Design for Clear Communication 🎨"},
      p1_cap1:{th:"ข้อมูลในโลกดิจิทัลมีปริมาณมหาศาล",en:"Digital information is massive in volume."},
      p1_cap2:{th:"การนำเสนอข้อมูลอย่างมีประสิทธิภาพ",en:"Present data effectively to be understood."},
      p1_intro:{th:"สวัสดีนักเรียนม.3 ทุกคน! 😊 ยินดีต้อนรับสู่บทเรียนเรื่องการออกแบบอินโฟกราฟิก ในโลกที่เต็มไปด้วยข้อมูล การนำเสนอข้อมูลให้น่าสนใจและเข้าใจง่ายเป็นทักษะสำคัญที่ทุกคนควรมี",en:"Welcome! In a data-rich world, presenting information clearly and engagingly is an essential skill."},
      p1_intro_en:{th:"",en:"Quick English summary: This lesson introduces why infographics matter and how they help audiences understand complex ideas quickly."},
      p1_q:{th:"คุณเคยพบข้อมูลที่เข้าใจยากหรือน่าเบื่อบ้างไหม? ถ้ามีโอกาส คุณจะนำเสนอข้อมูลนั้นอย่างไรให้น่าสนใจขึ้น?",en:"Have you seen confusing or boring information? How would you redesign it to be engaging?"},

      // Objectives
      obj_1:{th:"เข้าใจความหมาย ความสำคัญ และประเภทของอินโฟกราฟิก",en:"Understand meaning, importance, and types of infographics."},
      obj_2:{th:"สามารถออกแบบอินโฟกราฟิกเบื้องต้นได้อย่างสร้างสรรค์",en:"Be able to design simple, creative infographics."},
      obj_3:{th:"นำความรู้ไปใช้ในการเรียนและการนำเสนอผลงานได้จริง",en:"Apply the knowledge in classwork and presentations."},

      // Page 2
      p2_title:{th:"📊 ความหมายและความสำคัญของอินโฟกราฟิก",en:"📊 Meaning & Importance of Infographics"},
      p2_cap1:{th:"ตัวอย่างอินโฟกราฟิก",en:"Infographic example"},
      p2_cap2:{th:"การสื่อสารข้อมูลที่มีประสิทธิภาพ",en:"Effective information communication"},
      p2_h2_1:{th:"อินโฟกราฟิก (Infographic) คืออะไร?",en:"What is an infographic?"},
      p2_p1:{th:"อินโฟกราฟิกคือการนำข้อมูลมาสรุปและเรียบเรียงใหม่ โดยใช้ภาพ กราฟิก สัญลักษณ์ และข้อความสั้นๆ เพื่อให้เข้าใจข้อมูลได้ง่ายและรวดเร็ว",en:"An infographic summarizes and reorganizes information using visuals and concise text so audiences grasp it quickly."},
      p2_p1_en:{th:"",en:"English summary: Infographics combine visuals and short texts to speed up comprehension."},
      p2_h2_2:{th:"ความสำคัญของอินโฟกราฟิกในยุคดิจิทัล",en:"Why infographics matter today"},
      p2_l1:{th:"ช่วยให้เข้าใจข้อมูลที่ซับซ้อนได้ง่ายขึ้น",en:"Clarify complex information."},
      p2_l2:{th:"ดึงดูดความสนใจมากกว่าข้อความล้วนๆ",en:"Attract attention better than plain text."},
      p2_l3:{th:"เหมาะกับการแบ่งปันบนโซเชียลมีเดีย",en:"Great for social sharing."},
      p2_l4:{th:"ช่วยให้จดจำข้อมูลได้ดีขึ้น",en:"Improve recall."},
      p2_h2_3:{th:"เหตุผลที่ควรใช้การนำเสนอข้อมูลในรูปแบบอินโฟกราฟิก",en:"Why choose infographics"},
      p2_l5:{th:"สมองของมนุษย์ประมวลผลภาพได้เร็วกว่าข้อความมาก",en:"Humans process visuals much faster than text."},
      p2_l6:{th:"คนทั่วไปจดจำข้อมูลที่เป็นภาพได้มากกว่าข้อความ",en:"People remember visuals better than text."},
      p2_l7:{th:"อินโฟกราฟิกช่วยเพิ่มการมีส่วนร่วมบนโซเชียลมีเดีย",en:"Infographics boost engagement."},
      p2_q:{th:"ข้อมูลใดบ้างที่คุณคิดว่าถ้านำเสนอเป็นอินโฟกราฟิกแล้วจะเข้าใจง่ายขึ้น?",en:"Which data would be clearer as an infographic?"},

      // Page 3
      p3_title:{th:"📚 ความรู้เบื้องต้นเกี่ยวกับอินโฟกราฟิก",en:"📚 Infographic Basics"},
      p3_cap1:{th:"อินโฟกราฟิกประเภทต่างๆ",en:"Different types of infographics"},
      p3_cap2:{th:"การใช้งานอินโฟกราฟิกในชีวิตประจำวัน",en:"Infographics in daily life"},
      p3_h2_types:{th:"ประเภทของอินโฟกราฟิก",en:"Types of infographics"},
      p3_t1:{th:"📈 สถิติ (Statistical)",en:"📈 Statistical"},
      p3_t1p:{th:"เน้นการนำเสนอข้อมูลตัวเลข โดยใช้กราฟและแผนภูมิ",en:"Emphasizes numbers with charts and graphs."},
      p3_t2:{th:"🔄 กระบวนการ (Process)",en:"🔄 Process"},
      p3_t2p:{th:"อธิบายลำดับขั้นตอนการทำงานอย่างเป็นขั้นเป็นตอน",en:"Shows step-by-step procedures."},
      p3_t3:{th:"🗺️ แผนที่ (Geographical)",en:"🗺️ Geographical"},
      p3_t3p:{th:"นำเสนอข้อมูลตามพื้นที่ทางภูมิศาสตร์",en:"Visualizes data by location."},
      p3_t4:{th:"⏰ ไทม์ไลน์ (Timeline)",en:"⏰ Timeline"},
      p3_t4p:{th:"แสดงข้อมูลเรียงตามลำดับเวลา",en:"Orders events along time."},
      p3_t5:{th:"📋 เปรียบเทียบ (Comparison)",en:"📋 Comparison"},
      p3_t5p:{th:"เปรียบเทียบความแตกต่างระหว่างหลายสิ่ง",en:"Highlights differences."},
      p3_q:{th:"คุณเคยเห็นอินโฟกราฟิกประเภทใดบ้างในชีวิตประจำวัน? และช่วยอย่างไร?",en:"Which types have you seen? How did they help?"},

      // Page 4
      p4_title:{th:"🧩 องค์ประกอบสำคัญของอินโฟกราฟิก",en:"🧩 Key Components of Infographics"},
      p4_cap1:{th:"องค์ประกอบต่างๆ ในอินโฟกราฟิก",en:"Core elements in an infographic"},
      p4_cap2:{th:"การออกแบบที่มีประสิทธิภาพ",en:"Efficient design"},
      p4_h2:{th:"องค์ประกอบ 5 อย่างที่ทำให้อินโฟกราฟิกมีประสิทธิภาพ",en:"Five elements for effective infographics"},
      p4_e1:{th:"📊 ข้อมูล (Data)",en:"📊 Data"},
      p4_e1p:{th:"ข้อมูลต้องถูกต้องและน่าเชื่อถือ",en:"Accurate, trustworthy data."},
      p4_e2:{th:"📝 ข้อความ (Text)",en:"📝 Text"},
      p4_e2p:{th:"ใช้ถ้อยคำกระชับ เข้าใจง่าย",en:"Concise, readable copy."},
      p4_e3:{th:"🖼️ ภาพและสัญลักษณ์ (Visuals)",en:"🖼️ Visuals & Icons"},
      p4_e3p:{th:"ใช้ภาพ/ไอคอนที่สื่อความหมายชัดเจน",en:"Clear, meaningful visuals."},
      p4_e4:{th:"📐 การจัดวาง (Layout)",en:"📐 Layout"},
      p4_e4p:{th:"สมดุล เน้นประเด็นสำคัญ และไหลลื่น",en:"Balance, emphasis, and flow."},
      p4_e5:{th:"🎨 สีและตัวอักษร (Color & Type)",en:"🎨 Color & Typography"},
      p4_e5p:{th:"เลือกสี/ฟอนต์ให้เหมาะกับกลุ่มเป้าหมาย",en:"Appropriate colors and type."},
      p4_q:{th:"ถ้าออกแบบเรื่อง “อนุรักษ์น้ำ” คุณจะใช้สีใด และเพราะอะไร?",en:"Designing about water conservation—what colors and why?"},

      // Page 5
      p5_title:{th:"🛠️ ขั้นตอนการออกแบบอินโฟกราฟิกอย่างสร้างสรรค์",en:"🛠️ Creative Infographic Workflow"},
      p5_cap1:{th:"การวางแผนและการออกแบบ",en:"Planning & design"},
      p5_cap2:{th:"กระบวนการสร้างสรรค์ผลงาน",en:"Creation process"},
      p5_h2:{th:"6 ขั้นตอน",en:"6 Steps"},
      p5_s1:{th:"กำหนดวัตถุประสงค์/กลุ่มเป้าหมาย/ข้อมูลสำคัญ",en:"Define goals, audience, and key data."},
      p5_s2:{th:"เลือกประเภทอินโฟกราฟิกที่เหมาะสม",en:"Choose an appropriate type."},
      p5_s3:{th:"ร่างโครง (Sketch/Storyboard)",en:"Sketch a structure/storyboard."},
      p5_s4:{th:"ออกแบบด้วยเครื่องมือดิจิทัล (เช่น Canva, Piktochart)",en:"Design with digital tools."},
      p5_s5:{th:"ตรวจสอบความถูกต้อง/ปรับแก้",en:"Validate and refine."},
      p5_s6:{th:"เผยแพร่/นำเสนอ",en:"Publish and present."},
      p5_q:{th:"ถ้าทำอินโฟกราฟิก “ประวัติส่วนตัว” จะเลือกประเภทใด เพราะเหตุใด?",en:"For a “personal profile” infographic, which type and why?"},

      // Page 6
      p6_title:{th:"✨ เทคนิคการทำให้อินโฟกราฟิกน่าสนใจ",en:"✨ Techniques to Make Infographics Engaging"},
      p6_cap1:{th:"การใช้สีที่ดึงดูดความสนใจ",en:"Color usage that attracts attention"},
      p6_cap2:{th:"การเล่าเรื่องด้วยภาพ",en:"Visual storytelling"},
      p6_h2:{th:"เทคนิคสำคัญ",en:"Key techniques"},
      p6_l1:{th:"ใช้สีอย่างมีความหมาย และจำกัด 3–5 สี",en:"Use meaningful palettes; limit to 3–5 colors."},
      p6_l2:{th:"ใช้ไอคอนที่เข้าใจง่าย และสอดคล้องทั้งงาน",en:"Use clear, consistent icons."},
      p6_l3:{th:"เล่าเรื่องด้วยภาพ (Visual Storytelling)",en:"Tell a story visually."},
      p6_l4:{th:"ข้อมูลกระชับ น่าเชื่อถือ อ้างอิงที่มา",en:"Concise, credible, with sources."},
      p6_l5:{th:"ปรับให้เหมาะกับแพลตฟอร์ม (เว็บ/โซเชียล)",en:"Optimize for the platform."},
      p6_q:{th:"Visual Storytelling สำคัญอย่างไรในการออกแบบอินโฟกราฟิก?",en:"Why is visual storytelling important?"},

      // Page 7
      p7_title:{th:"🌍 ตัวอย่างอินโฟกราฟิกสร้างสรรค์",en:"🌍 Creative Infographic Examples"},
      p7_cap1:{th:"อินโฟกราฟิกด้านการศึกษา",en:"Education"},
      p7_cap2:{th:"อินโฟกราฟิกด้านสุขภาพ",en:"Health"},
      p7_h2:{th:"ตัวอย่างด้านต่างๆ",en:"Examples across domains"},
      p7_edu:{th:"การศึกษา: แผนผังบทเรียน/Timeline",en:"Education: lesson maps & timelines"},
      p7_health:{th:"สุขภาพ: โภชนาการ/ป้องกันโรค",en:"Health: nutrition & prevention"},
      p7_env:{th:"สิ่งแวดล้อม: วงจรผลิตภัณฑ์/รีไซเคิล",en:"Environment: product cycles & recycling"},
      p7_biz:{th:"ธุรกิจ: การเติบโต/แผนการตลาด/เปรียบเทียบ",en:"Business: growth, marketing, comparisons"},
      p7_q:{th:"ถ้าคุณต้องสร้างอินโฟกราฟิกชิ้นหนึ่ง คุณจะเลือกเรื่องอะไร เพราะเหตุใด?",en:"If you create one infographic, what topic and why?"},

      // Page 8
      p8_title:{th:"🛠️ เครื่องมือและแหล่งเรียนรู้ออนไลน์",en:"🛠️ Tools & Learning Resources"},
      p8_cap1:{th:"เครื่องมือออกแบบอินโฟกราฟิก",en:"Infographic tools"},
      p8_cap2:{th:"แหล่งเรียนรู้การออกแบบ",en:"Design learning resources"},
      p8_h2_tools:{th:"เครื่องมือสำหรับผู้เริ่มต้น",en:"Tools for beginners"},
      p8_t1:{th:"Canva — ใช้ง่าย มีเทมเพลตหลากหลาย",en:"Canva — easy, many templates"},
      p8_t2:{th:"Piktochart — ถนัดงานอินโฟกราฟิกโดยเฉพาะ",en:"Piktochart — infographic-focused"},
      p8_t3:{th:"Venngage — เครื่องมือจัดภาพข้อมูล",en:"Venngage — data visuals"},
      p8_t4:{th:"Adobe Express — คุณภาพสายโปร",en:"Adobe Express — pro quality"},
      p8_t5:{th:"PowerPoint / Google Slides — คุ้นมืออยู่แล้ว",en:"PowerPoint/Google Slides — familiar"},
      p8_h2_more:{th:"แหล่งเรียนรู้เพิ่มเติม",en:"More learning"},
      p8_m1:{th:"คอร์ส/คลิป YouTube ด้านการออกแบบ",en:"Design courses on YouTube"},
      p8_m2:{th:"บล็อกบทความ & tutorials",en:"Blogs & tutorials"},
      p8_m3:{th:"ชุมชน Facebook/กลุ่มนักออกแบบ",en:"Communities & groups"},
      p8_m4:{th:"หนังสือ/อีบุ๊ก Data Visualization",en:"Books & eBooks on data viz"},
      p8_q:{th:"เครื่องมือไหนเหมาะกับคุณที่สุด และเพราะอะไร?",en:"Which tool fits you best and why?"},

      // Page 9
      p9_title:{th:"✅ สรุปบทเรียน",en:"✅ Lesson Summary"},
      p9_cap1:{th:"สรุปเนื้อหาการเรียนรู้",en:"Recap"},
      p9_cap2:{th:"การนำความรู้ไปใช้",en:"Applying knowledge"},
      p9_h2_1:{th:"สิ่งที่เราเรียนรู้",en:"What we learned"},
      p9_l1:{th:"อินโฟกราฟิกช่วยย่อยข้อมูลซับซ้อนให้ง่ายและน่าสนใจ",en:"Infographics simplify complex information."},
      p9_l2:{th:"เป็นทักษะสำคัญในศตวรรษที่ 21",en:"A key 21st-century skill."},
      p9_l3:{th:"นำไปใช้ได้จริงทั้งการเรียนและงานนำเสนอ",en:"Practical for class and presentations."},
      p9_h2_2:{th:"ทักษะที่ได้พัฒนา",en:"Skills developed"},
      p9_s1:{th:"คิดเชิงวิเคราะห์/สรุปข้อมูล",en:"Analytical thinking & summarizing"},
      p9_s2:{th:"ความคิดสร้างสรรค์/ออกแบบ",en:"Creativity & design"},
      p9_s3:{th:"การสื่อสารอย่างมีประสิทธิภาพ",en:"Effective communication"},
      p9_s4:{th:"มองภาพรวมด้วยภาพแทนข้อความ",en:"Visual perspective"},
      p9_q:{th:"อะไรคือสิ่งสำคัญที่สุดที่ได้เรียนรู้ และจะนำไปใช้อย่างไร?",en:"What’s most important you learned, and how will you apply it?"}
    };

    // ===== Quiz (TH + EN options) =====
    const quizQuestions = [
      { thQ:"อินโฟกราฟิกคืออะไร?", enQ:"What is an infographic?",
        thO:["การนำเสนอข้อมูลด้วยข้อความล้วนๆ","การสรุปข้อมูลด้วยภาพและกราฟิก","การวาดภาพศิลปะ","การเขียนโปรแกรม"],
        enO:["Presenting information only with text","Summarizing info with visuals/graphics","Making art freely","Computer programming"], a:1 },
      { thQ:"แบบใดเหมาะแสดงการเปลี่ยนแปลงตามเวลา?", enQ:"Which suits change over time?",
        thO:["แผนที่","กระบวนการ","ไทม์ไลน์","เปรียบเทียบ"],
        enO:["Map","Process","Timeline","Comparison"], a:2 },
      { thQ:"ข้อใด ‘ไม่ใช่’ องค์ประกอบสำคัญของอินโฟกราฟิก?", enQ:"Which is NOT a key component?",
        thO:["ข้อมูล","ภาพและสัญลักษณ์","เสียงเพลง","การจัดวาง"],
        enO:["Data","Visuals & icons","Music","Layout"], a:2 },
      { thQ:"เครื่องมือเริ่มต้นที่เหมาะคือข้อใด", enQ:"Which is a beginner-friendly tool?",
        thO:["Canva","Visual Studio Code","Microsoft Excel","Adobe Premiere Pro"],
        enO:["Canva","Visual Studio Code","Microsoft Excel","Adobe Premiere Pro"], a:0 },
      { thQ:"เทคนิคที่ทำให้น่าสนใจคือข้อใด", enQ:"Which technique boosts engagement?",
        thO:["ใช้ข้อความยาวๆ","ใช้สีเดียวทั้งแผ่น","เล่าเรื่องด้วยภาพ","ไม่ต้องอ้างอิงที่มา"],
        enO:["Very long text","Single color only","Visual storytelling","No sources"], a:2 },
      { thQ:"ขั้นตอนแรกของงานออกแบบ", enQ:"First step of designing?",
        thO:["เลือกสี","วิเคราะห์ข้อมูลที่จะสื่อ","เผยแพร่ผลงาน","วาดภาพประกอบ"],
        enO:["Pick colors","Analyze information to present","Publish","Draw illustrations"], a:1 },
      { thQ:"เหมาะสำหรับแสดง ‘ขั้นตอน’", enQ:"Best for showing steps?",
        thO:["สถิติ","กระบวนการ","แผนที่","ไทม์ไลน์"],
        enO:["Statistical","Process","Map","Timeline"], a:1 },
      { thQ:"เลือกสีควรคำนึงถึง", enQ:"Choosing colors should consider…",
        thO:["ตามชอบส่วนตัว","ใช้ให้มากที่สุด","เหมาะกับเนื้อหา/กลุ่มเป้าหมาย","ขาวดำเท่านั้น"],
        enO:["Personal taste only","As many as possible","Fit content/audience","Only B&W"], a:2 },
      { thQ:"ข้อมูลการเติบโตของบริษัทเหมาะด้านใด", enQ:"Company growth fits which domain?",
        thO:["การศึกษา","สุขภาพ","สิ่งแวดล้อม","ธุรกิจ/การตลาด"],
        enO:["Education","Health","Environment","Business/Marketing"], a:3 },
      { thQ:"เหตุผลสำคัญของอินโฟกราฟิก", enQ:"Key reason infographics matter?",
        thO:["ช่วยเข้าใจข้อมูลซับซ้อนได้ง่ายขึ้น","เพราะเป็นเทรนด์","เพราะยาก","เพราะแพง"],
        enO:["Clarify complex info","Because it’s trendy","Because it’s hard","Because it’s expensive"], a:0 },
      { thQ:"การจัดวางควรเป็นอย่างไร", enQ:"Good layout should be…",
        thO:["สมดุลและเน้นประเด็น","สุ่มสี่สุ่มห้า","วางทุกอย่างกลางภาพ","ไม่สนใจการไหล"],
        enO:["Balanced with emphasis","Random","Everything centered","Ignore flow"], a:0 },
      { thQ:"Visual Storytelling คือ", enQ:"Visual Storytelling is…",
        thO:["เขียนยาวๆ","ถ่ายวิดีโอ","เล่าเรื่องผ่านภาพ","บันทึกเสียง"],
        enO:["Long writing","Filming videos","Telling stories via visuals","Voiceover"], a:2 },
      { thQ:"ข้อมูลภูมิศาสตร์เหมาะกับ", enQ:"Geographical data suits…",
        thO:["แผนที่","กระบวนการ","สถิติ","เปรียบเทียบ"],
        enO:["Map","Process","Statistical","Comparison"], a:0 },
      { thQ:"เลือกฟอนต์ควร", enQ:"Choosing typefaces should…",
        thO:["หลากหลายมากที่สุด","อ่านง่ายเหมาะเนื้อหา","อังกฤษเท่านั้น","เล็กเพื่อประหยัดพื้นที่"],
        enO:["Use many fonts","Be readable/appropriate","English only","Tiny to save space"], a:1 },
      { thQ:"ทำไมต้องอ้างอิงที่มา", enQ:"Why cite sources?",
        thO:["เพิ่มความน่าเชื่อถือ","ทำให้งานยาว","โชว์ความรู้","เอาคะแนน"],
        enO:["Increase credibility","Make it longer","Show off knowledge","For points"], a:0 },
      { thQ:"กรณีเปรียบเทียบผลิตภัณฑ์", enQ:"Comparing products fits…",
        thO:["แผนที่","กระบวนการ","เปรียบเทียบ","ไทม์ไลน์"],
        enO:["Map","Process","Comparison","Timeline"], a:2 },
      { thQ:"สำหรับโซเชียลควร", enQ:"For social media, design should be…",
        thO:["ข้อมูลเยอะ","ใหญ่และละเอียด","กระชับ ดึงดูด แชร์ง่าย","สีมืดเท่านั้น"],
        enO:["Very dense","Very large & detailed","Concise, eye-catching, shareable","Only dark colors"], a:2 },
      { thQ:"ไอคอนที่ดีควร", enQ:"Good icons should be…",
        thO:["ซับซ้อน","เข้าใจง่าย","abstract","ใหญ่มาก"],
        enO:["Complex","Easy to understand","Abstract art","Very large"], a:1 },
      { thQ:"ตรวจความถูกต้องอยู่ในขั้นตอนใด", enQ:"Check data accuracy in which step?",
        thO:["วิเคราะห์ข้อมูล","เลือกประเภท","ตรวจสอบ/ปรับแก้","เผยแพร่"],
        enO:["Analyze","Choose type","Validate/Refine","Publish"], a:2 },
      { thQ:"ทักษะที่พัฒนาได้คือ", enQ:"A skill developed here is…",
        thO:["คิดเชิงวิเคราะห์และสรุปข้อมูล","เล่นกีฬา","ร้องเพลง","ทำอาหาร"],
        enO:["Analytical & summarizing","Sports","Singing","Cooking"], a:0 }
    ];

    // ===== Language handling =====
    function setLang(lang){
      document.body.setAttribute('data-lang', lang);
      document.getElementById('btnTH').classList.toggle('active', lang==='th');
      document.getElementById('btnEN').classList.toggle('active', lang==='en');
      // Update static texts
      document.querySelectorAll('[data-i18n]').forEach(el=>{
        const key = el.getAttribute('data-i18n');
        if(dict[key]){
          el.textContent = dict[key][lang] || dict[key]['th'] || el.textContent;
        }
      });
      // Progress label
      document.getElementById('progressText').innerHTML = (lang==='th' ? "ความคืบหน้า: " : "Progress: ") + `<span id="current-page">${currentPage}</span>/`+ totalPages;
      // Course title small
      document.getElementById('courseTitle').textContent = (lang==='th'
         ? "🎨 การออกแบบอินโฟกราฟิกเพื่อการนำเสนอข้อมูลอย่างสร้างสรรค์"
         : "🎨 Creative Infographic Design for Clear Communication");

      // Re-render quiz if on page 10
      if(currentPage===10){ renderQuiz(); }
      // Rebuild grade box if exists
      rebuildGradeTexts();
      // Update placeholders
      const nameInput = document.getElementById('student-name');
      if(nameInput){
        nameInput.placeholder = (lang==='th' ? "กรุณากรอกชื่อของคุณ" : "Please enter your name");
      }
    }

    function navigate(from,to){
      try{ clickSound.currentTime=0; clickSound.play().catch(()=>{});}catch(e){}
      document.getElementById(`page${from}`).classList.remove('active');
      document.getElementById(`page${to}`).classList.add('active');
      currentPage = to;
      updateProgressBar();
      if(to===10){ renderQuiz(); }
    }

    function updateProgressBar(){
      const pct = (currentPage/totalPages)*100;
      document.getElementById('progress-bar').style.width = `${pct}%`;
      const lang = document.body.getAttribute('data-lang')||'th';
      document.getElementById('current-page').textContent = currentPage;
      // (label handled by setLang)
    }

    function renderQuiz(){
      const lang = document.body.getAttribute('data-lang')||'th';
      const cont = document.getElementById('quiz-container');
      cont.innerHTML='';
      quizQuestions.forEach((q,idx)=>{
        const qDiv = document.createElement('div');
        qDiv.className='question';
        const questionText = (lang==='th'? q.thQ : q.enQ);
        const opts = (lang==='th'? q.thO : q.enO);
        qDiv.innerHTML = `<h3>${idx+1}. ${questionText}</h3>
          <div class="options">
            ${opts.map((opt,i)=>`<label><input type="radio" name="q${idx}" value="${i}"> ${opt}</label>`).join('')}
          </div>`;
        cont.appendChild(qDiv);
      });
    }

    function submitQuiz(){
      const lang = document.body.getAttribute('data-lang')||'th';
      const name = (document.getElementById('student-name')||{}).value || '';
      if(!name){
        alert(lang==='th' ? 'กรุณากรอกชื่อของคุณก่อนส่งคำตอบ' : 'Please enter your name before submitting.');
        return;
      }
      let score=0;
      quizQuestions.forEach((q,i)=>{
        const sel = document.querySelector(`input[name="q${i}"]:checked`);
        if(sel && parseInt(sel.value)===q.a) score++;
      });
      document.getElementById('result-name').textContent = name;
      document.getElementById('score').textContent = score;
      showGradeAndRecommendation(score);
      navigate(10,11);
    }

    function showGradeAndRecommendation(score){
      const lang = document.body.getAttribute('data-lang')||'th';
      const g = document.getElementById('grade-info');
      const r = document.getElementById('recommendation');

      if(score>=18){
        g.innerHTML = (lang==='th'
          ? `<h3>ระดับ: ดีเยี่ยม! 🎉</h3><p>คุณเข้าใจเรื่องอินโฟกราฟิกเป็นอย่างดี</p>`
          : `<h3>Level: Excellent! 🎉</h3><p>You have a solid understanding of infographics.</p>`);
        r.textContent = (lang==='th'
          ? 'พร้อมออกแบบอินโฟกราฟิกของตนเอง ลองใช้ในงานจริงดูเลย!'
          : 'You are ready to design your own infographic—try it in a real task!');
      }else if(score>=15){
        g.innerHTML = (lang==='th'
          ? `<h3>ระดับ: ดี 👍</h3><p>ความเข้าใจอยู่ในเกณฑ์ดี</p>`
          : `<h3>Level: Good 👍</h3><p>Your understanding is good.</p>`);
        r.textContent = (lang==='th'
          ? 'ทบทวนส่วนที่ผิดอีกเล็กน้อย แล้วลองทำแบบทดสอบใหม่'
          : 'Review missed items and try the quiz again.');
      }else if(score>=12){
        g.innerHTML = (lang==='th'
          ? `<h3>ระดับ: พอใช้ 👌</h3><p>ความเข้าใจปานกลาง</p>`
          : `<h3>Level: Fair 👌</h3><p>Moderate understanding.</p>`);
        r.textContent = (lang==='th'
          ? 'ทบทวนหัวข้อพื้นฐานเพิ่ม โดยเฉพาะประเภท/องค์ประกอบ'
          : 'Revise basics—especially types and components.');
      }else{
        g.innerHTML = (lang==='th'
          ? `<h3>ระดับ: ปรับปรุง 🔄</h3><p>ควรทบทวนบทเรียนอีกครั้ง</p>`
          : `<h3>Level: Needs Improvement 🔄</h3><p>Please review the lesson again.</p>`);
        r.textContent = (lang==='th'
          ? 'ย้อนกลับไปอ่านบทนำ ความหมาย และองค์ประกอบสำคัญ'
          : 'Go back to intro, definitions, and key components.');
      }
    }

    function rebuildGradeTexts(){
      // re-run grade block to match language after switching (if already on result page)
      if(currentPage===11){
        const score = parseInt(document.getElementById('score').textContent||'0',10);
        if(!isNaN(score)) showGradeAndRecommendation(score);
      }
    }

    function restartLesson(){
      document.querySelectorAll('input[type="radio"]').forEach(i=>i.checked=false);
      const name = document.getElementById('student-name'); if(name) name.value='';
      navigate(11,1);
    }

    // Init
    window.onload = function(){
      updateProgressBar();
      setLang('th'); // default Thai
    }
  </script>
</body>
</html>

<p>The post <a href="https://www.kroochut.com/infographic-design/">บทเรียนออนไลน์การออกแบบอินโฟกราฟิกเพื่อการนำเสนอข้อมูลอย่างสร้างสรรค์ 🎨</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></content:encoded>
					
		
		<enclosure url="https://assets.mixkit.co/sfx/preview/mixkit-select-click-1109.mp3" length="0" type="audio/mpeg" />

			</item>
		<item>
		<title>🛒บทเรียนออนไลน์การเป็นผู้บริโภคออนไลน์ที่ชาญฉลาด 🏪</title>
		<link>https://www.kroochut.com/smart-shopping/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 25 Jun 2025 13:03:39 +0000</pubDate>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Constructivism]]></category>
		<category><![CDATA[e-learning]]></category>
		<category><![CDATA[gamification]]></category>
		<category><![CDATA[Inquiry-based learning]]></category>
		<category><![CDATA[Project-based learning]]></category>
		<category><![CDATA[กิจกรรมลากวาง]]></category>
		<category><![CDATA[คะแนน XP]]></category>
		<category><![CDATA[นักเรียนมัธยม]]></category>
		<category><![CDATA[บทเรียนออนไลน์]]></category>
		<category><![CDATA[ม.1]]></category>
		<category><![CDATA[ม.2]]></category>
		<category><![CDATA[ม.3]]></category>
		<category><![CDATA[แบบทดสอบออนไลน์]]></category>
		<category><![CDATA[โรงเรียนหนองจอกพิทยานุสรณ์]]></category>
		<guid isPermaLink="false">https://www.kroochut.com/?p=774</guid>

					<description><![CDATA[<p>การเป็นผู้บริโภคออนไลน์ที่ชาญฉลาด &#124; โรงเรียนหนองจอกพิทยานุสรณ์ การเป็นผู้บริโภคออนไลน์ที่ชาญฉลาด สำหรับนักเรียนมัธยมศึกษาปีที่ 1-3 โรงเรียนหนองจอกพิทยานุสรณ์ XP: 0 ข้อมูลนักเรียน ชั้นเรียน เลือกชั้นมัธยมศึกษาปีที่ 1มัธยมศึกษาปีที่ 2มัธยมศึกษาปีที่ 3 ห้อง เลือกห้องห้อง 1ห้อง 2ห้อง 3ห้อง 4ห้อง 5ห้อง 6ห้อง 7ห้อง 8 เลขที่ ชื่อ-สกุล เริ่มเรียนรู้ การค้นหาและเปรียบเทียบสินค้า เทคนิคการค้นหาสินค้าออนไลน์ การค้นหาสินค้าออนไลน์อย่างมีประสิทธิภาพ ควรใช้คำค้นหาที่เฉพาะเจาะจง ใช้ตัวกรองประเภทสินค้า ราคา และแบรนด์ รวมถึงเปรียบเทียบสินค้าจากร้านค้าต่างๆ เพื่อให้ได้สินค้าที่ตรงกับความต้องการมากที่สุด การอ่านรีวิวและเรตติ้ง รีวิวและเรตติ้งเป็นข้อมูลสำคัญที่ช่วยในการตัดสินใจซื้อ ควรอ่านรีวิวทั้งที่ดีและไม่ดี ดูจำนวนรีวิวทั้งหมด และสังเกตว่ารีวิวนั้นเป็นรีวิวจริงหรือไม่ เพื่อประเมินคุณภาพสินค้าได้อย่างถูกต้อง ข้อคิดเกี่ยวกับอาชีพ การเป็นผู้บริโภคที่ชาญฉลาดจะช่วยพัฒนาทักษะการวิเคราะห์และการตัดสินใจ ซึ่งเป็นทักษะสำคัญในหลายอาชีพ เช่น นักการตลาดดิจิทัล นักวิเคราะห์ข้อมูล ผู้จัดการซัพพลายเชน และผู้ประกอบการออนไลน์ คำถามกระตุ้นความคิด ถ้านักเรียนต้องการซื้อสมาร์ทโฟนใหม่ นักเรียนจะใช้วิธีใดในการค้นหาข้อมูลและเปรียบเทียบสินค้า? และจะพิจารณาจากปัจจัยใดบ้าง? กิจกรรมลากและวาง: เรียงลำดับขั้นตอนการค้นหาสินค้า ลากขั้นตอนต่าง ๆ ไปวางในช่องให้ถูกต้องตามลำดับ อ่านรีวิวและเรตติ้ง เปรียบเทียบราคาและคุณสมบัติ เลือกแพลตฟอร์มการซื้อ กำหนดความต้องการและงบประมาณ 1. 2. 3. 4. ตรวจสอบคำตอบ ย้อนกลับ บทเรียนถัดไป การซื้อสินค้าออนไลน์อย่างปลอดภัย การตรวจสอบความน่าเชื่อถือของร้านค้า ก่อนซื้อสินค้า ควรตรวจสอบประวัติร้านค้า ดูรีวิวจากผู้ซื้อจริง ดูวันเปิดร้าน และจำนวนผู้ติดตาม รวมถึงสังเกตเครื่องหมายรับรองความปลอดภัยต่าง ๆ เพื่อให้แน่ใจว่าร้านค้ามีความน่าเชื่อถือ การชำระเงินที่ปลอดภัย ควรเลือกช่องทางการชำระเงินที่มีความปลอดภัย เช่น บัตรเครดิตพร้อมระบบป้องกัน หรือบริการเก็บเงินปลายทาง หลีกเลี่ยงการโอนเงินล่วงหน้าโดยไม่ได้รับสินค้า และตรวจสอบให้แน่ใจว่ามีการเข้ารหัสข้อมูลในการชำระเงิน ข้อคิดเกี่ยวกับอาชีพ ความรู้เรื่องความปลอดภัยในการซื้อขายออนไลน์เป็นพื้นฐานสำคัญสำหรับอาชีพด้านความปลอดภัยทางไซเบอร์ นักพัฒนาระบบชำระเงินดิจิทัล และที่ปรึกษาด้านการค้าอิเล็กทรอนิกส์ คำถามกระตุ้นความคิด นักเรียนคิดว่ามีสัญญาณอะไรบ้างที่บ่งบอกว่าร้านค้าออนไลน์แห่งหนึ่งมีความน่าเชื่อถือ? และนักเรียนจะทำอย่างไรหากพบว่าร้านค้าไม่น่าเชื่อถือ? ย้อนกลับ บทเรียนถัดไป การหลีกเลี่ยงการถูกหลอกลวง รูปแบบการหลอกลวงออนไลน์ การหลอกลวงออนไลน์มีหลายรูปแบบ เช่น การขายสินค้าไม่มีอยู่จริง การหลอกให้โอนเงินล่วงหน้า การส่งลิงก์ปลอมเพื่อขโมยข้อมูล การแจ้งถูกรางวัลหลอกลวง และการโทรศัพท์แอบอ้างเป็นพนักงานบริษัท สัญญาณเตือนภัย (Red Flags) สัญญาณเตือนภัยที่ควรระวัง ได้แก่ ราคาต่ำกว่าท้องตลาดมาก ถูกเร่งให้ตัดสินใจซื้อ ต้องโอนเงินล่วงหน้า ร้านค้าไม่มีประวัติการขาย รีวิวไม่น่าเชื่อถือ ไม่มีช่องทางติดต่อที่ชัดเจน และเว็บไซต์ไม่มี https ข้อคิดเกี่ยวกับอาชีพ การเข้าใจรูปแบบการหลอกลวงทางออนไลน์เป็นพื้นฐานสำคัญสำหรับอาชีพด้านความมั่นคงปลอดภัยไซเบอร์ นักสืบสวนอาชญากรรมออนไลน์ และผู้เชี่ยวชาญด้านการป้องกันการฉ้อโกง คำถามกระตุ้นความคิด ถ้านักเรียนได้รับอีเมลแจ้งว่าถูกรางวัลรถยนต์ แต่ต้องโอนเงินค่าธรรมเนียมก่อน นักเรียนจะทำอย่างไร? และนักเรียนคิดว่าสิ่งนี้เป็นการหลอกลวงหรือไม่ เพราะเหตุใด? ย้อนกลับ บทเรียนถัดไป สิทธิผู้บริโภคและการคืนสินค้า กฎหมายคุ้มครองผู้บริโภคออนไลน์ ผู้บริโภคออนไลน์มีสิทธิได้รับข้อมูลที่ถูกต้องครบถ้วน มีสิทธิในการคืนสินค้าหรือเปลี่ยนสินค้าภายใน 7 วันหากสินค้าไม่ตรงตามคำโฆษณา และมีสิทธิได้รับความคุ้มครองตามกฎหมายว่าด้วยการคุ้มครองผู้บริโภค ขั้นตอนการร้องเรียนและคืนสินค้า เมื่อต้องการคืนสินค้า ควรติดต่อร้านค้าทันที ถ่ายรูปหลักฐานเก็บไว้ ทำหนังสือแจ้งความประสงค์คืนสินค้า ส่งสินค้าคืนตามวิธีการที่ร้านค้ากำหนด และหากร้านค้าไม่รับคืนสินค้า สามารถร้องเรียนที่สำนักงานคุ้มครองผู้บริโภค ข้อคิดเกี่ยวกับอาชีพ ความรู้เรื่องสิทธิผู้บริโภคเป็นพื้นฐานสำคัญสำหรับอาชีพนักกฎหมายเฉพาะทางด้านคุ้มครองผู้บริโภค ที่ปรึกษาด้านการค้าปลีกออนไลน์ และเจ้าหน้าที่ดูแลความสัมพันธ์ลูกค้า คำถามกระตุ้นความคิด ถ้านักเรียนซื้อเสื้อผ้าออนไลน์แล้วได้รับสินค้าไม่ตรงตามรูปภาพที่แสดง นักเรียนจะใช้สิทธิผู้บริโภคอย่างไรบ้าง? และนักเรียนคิดว่าการคืนสินค้าควรมีขั้นตอนอย่างไร? ย้อนกลับ ทำแบบทดสอบ แบบทดสอบหลังเรียน (10 ข้อ) 1 การอ่านรีวิวสินค้าอย่างมีประสิทธิภาพควรทำอย่างไร? อ่านเฉพาะรีวิวที่ดีที่สุด อ่านรีวิวทั้งที่ดีและไม่ดี และดูจำนวนรีวิวทั้งหมด เชื่อรีวิวที่มีรูปภาพประกอบเท่านั้น เลือกอ่านเฉพาะรีวิวล่าสุด 2 สัญญาณเตือนภัย (Red Flag) ใดต่อไปนี้บ่งบอกว่าร้านค้าอาจไม่น่าเชื่อถือ? มีรีวิวมากกว่า 100 รีวิว ราคาสินค้าต่ำกว่าท้องตลาดมาก มีที่อยู่ร้านค้าชัดเจน มีหลายช่องทางการชำระเงิน 3 วิธีการชำระเงินแบบใดที่ปลอดภัยที่สุดในการซื้อสินค้าออนไลน์? โอนเงินผ่านธนาคารล่วงหน้า เก็บเงินปลายทาง (COD) ส่งเงินสดทางไปรษณีย์ ให้เพื่อนโอนเงินให้ 4 หากซื้อสินค้าออนไลน์แล้วได้สินค้าไม่ตรงตามที่โฆษณา ผู้บริโภคมีสิทธิคืนสินค้าภายในกี่วัน? 3 วัน 7 วัน 15 วัน 30 วัน 5 หน่วยงานใดที่รับผิดชอบเกี่ยวกับการคุ้มครองผู้บริโภคในประเทศไทย? สำนักงานคณะกรรมการคุ้มครองผู้บริโภค (สคบ.) กระทรวงดิจิทัลเพื่อเศรษฐกิจและสังคม สำนักงานตำรวจแห่งชาติ กรมการค้าภายใน 6 ข้อใดไม่ใช่สัญญาณเตือนภัย (Red Flag) ในการซื้อสินค้าออนไลน์? ราคาสินค้าถูกมากเกินไป ร้านค้ามีรีวิวที่ดีทั้งหมดโดยไม่มีรีวิวแย่เลย มีที่อยู่ร้านค้าชัดเจน ต้องโอนเงินล่วงหน้า 100% 7 การชำระเงินแบบใดที่เสี่ยงต่อการถูกหลอกลวงมากที่สุด? บัตรเครดิต เก็บเงินปลายทาง (COD) โอนเงินผ่านธนาคารล่วงหน้า ผ่อนผ่านบัตรเครดิต 8 หากต้องการร้องเรียนร้านค้าออนไลน์ นักเรียนควรติดต่อหน่วยงานใดเป็นลำดับแรก? ตำรวจ สำนักงานคณะกรรมการคุ้มครองผู้บริโภค (สคบ.) กรมการค้าภายใน ธนาคารแห่งประเทศไทย 9 การเปรียบเทียบสินค้าออนไลน์ควรพิจารณาปัจจัยใดบ้าง? ราคา คุณสมบัติสินค้า การรับประกัน ถูกทุกข้อ 10 ข้อใดคือพฤติกรรมของผู้บริโภคออนไลน์ที่ชาญฉลาด? ซื้อสินค้าทันทีเมื่อเห็นโฆษณา เปรียบเทียบสินค้าจากหลายร้านค้าก่อนตัดสินใจ เชื่อรีวิวจากเพื่อนเท่านั้น ไม่สนใจนโยบายการคืนสินค้า ย้อนกลับ ส่งคำตอบ 0 คะแนน XP ยินดีด้วย! คุณได้สำเร็จบทเรียน การเป็นผู้บริโภคออนไลน์ที่ชาญฉลาดเป็นทักษะสำคัญในยุคดิจิทัล ข้อมูลนักเรียน ชั้นเรียน &#8211; ห้อง &#8211; เลขที่ &#8211; ชื่อ-สกุล &#8211; คะแนนแบบทดสอบ 0/10 เนื้อหาก่อนหน้า เริ่มบทเรียนใหม่ ออกแบบและพัฒนาโดย นายณรงค์ชัช กันสุข ครูวิทยฐานะครูชำนาญการ โรงเรียนหนองจอกพิทยานุสรณ์ สำนักงานเขตหนองจอก กรุงเทพมหานคร © 2025 สงวนลิขสิทธิ์</p>
<p>The post <a href="https://www.kroochut.com/smart-shopping/">🛒บทเรียนออนไลน์การเป็นผู้บริโภคออนไลน์ที่ชาญฉลาด 🏪</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<!DOCTYPE html>
<html lang="th">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>การเป็นผู้บริโภคออนไลน์ที่ชาญฉลาด | โรงเรียนหนองจอกพิทยานุสรณ์</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;700&#038;display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Kanit', sans-serif;
        }
        
        :root {
            --primary: #4361ee;
            --secondary: #3f37c9;
            --accent: #4cc9f0;
            --success: #4ade80;
            --warning: #facc15;
            --danger: #f87171;
            --light: #f8f9fa;
            --dark: #212529;
            --text: #333333;
            --card-bg: #ffffff;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }
        
        body {
            background: linear-gradient(135deg, #f0f4ff 0%, #e6f7ff 100%);
            color: var(--text);
            min-height: 100vh;
            padding: 20px;
            background-attachment: fixed;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .header {
            text-align: center;
            padding: 20px;
            margin-bottom: 30px;
            background: linear-gradient(120deg, var(--primary), var(--secondary));
            color: white;
            border-radius: 15px;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: "";
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(45deg, #4cc9f0, #4361ee, #3f37c9);
            z-index: -1;
            filter: blur(20px);
            opacity: 0.3;
        }
        
        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .header p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
        }
        
        .page {
            background: var(--card-bg);
            border-radius: 15px;
            box-shadow: var(--shadow);
            padding: 30px;
            margin-bottom: 30px;
            display: none;
            animation: fadeIn 0.6s ease forwards;
        }
        
        .page.active {
            display: block;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .page-title {
            color: var(--primary);
            border-bottom: 3px solid var(--accent);
            padding-bottom: 15px;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .page-title i {
            background: var(--accent);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
        }
        
        .content-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }
        
        .content-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
        }
        
        .content-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        
        .card-img {
            height: 180px;
            overflow: hidden;
        }
        
        .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .content-card:hover .card-img img {
            transform: scale(1.05);
        }
        
        .card-content {
            padding: 20px;
        }
        
        .card-title {
            color: var(--secondary);
            margin-bottom: 12px;
            font-size: 1.3rem;
        }
        
        .card-text {
            line-height: 1.7;
            margin-bottom: 15px;
            color: #555;
        }
        
        .career-tip {
            background: #e3f2fd;
            border-left: 4px solid var(--primary);
            padding: 20px;
            border-radius: 0 8px 8px 0;
            margin: 25px 0;
        }
        
        .career-tip h3 {
            color: var(--primary);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .inquiry-question {
            background: #fff8e1;
            border-radius: 10px;
            padding: 20px;
            margin: 25px 0;
            border: 1px dashed var(--warning);
        }
        
        .inquiry-question h3 {
            color: #e65100;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .drag-drop-game {
            background: #e8f5e9;
            border-radius: 12px;
            padding: 25px;
            margin: 30px 0;
            text-align: center;
        }
        
        .drag-area, .drop-area {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            margin: 20px 0;
            min-height: 100px;
        }
        
        .drag-item {
            background: var(--primary);
            color: white;
            padding: 12px 20px;
            border-radius: 30px;
            cursor: grab;
            transition: var(--transition);
            user-select: none;
        }
        
        .drag-item:hover {
            background: var(--secondary);
            transform: translateY(-3px);
        }
        
        .drop-box {
            background: white;
            border: 2px dashed var(--success);
            border-radius: 10px;
            min-width: 150px;
            min-height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
            transition: var(--transition);
        }
        
        .drop-box.hover {
            background: #f0fff4;
            border-color: var(--primary);
        }
        
        .quiz-container {
            display: grid;
            gap: 20px;
        }
        
        .quiz-question {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            position: relative;
        }
        
        .question-number {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--accent);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        
        .quiz-options {
            display: grid;
            gap: 12px;
            margin-top: 15px;
        }
        
        .quiz-option {
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
            padding-left: 50px;
            position: relative;
        }
        
        .quiz-option:hover {
            background: #f5f5f5;
            border-color: var(--accent);
        }
        
        .quiz-option.selected {
            background: #e3f2fd;
            border-color: var(--primary);
        }
        
        .quiz-option::before {
            content: "";
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            border: 2px solid #ccc;
            border-radius: 50%;
        }
        
        .quiz-option.selected::before {
            border-color: var(--primary);
            background: var(--primary);
        }
        
        .navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }
        
        .btn {
            padding: 12px 30px;
            border-radius: 30px;
            border: none;
            font-size: 1.1rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        
        .btn-primary {
            background: var(--primary);
            color: white;
        }
        
        .btn-primary:hover {
            background: var(--secondary);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
        }
        
        .btn-secondary {
            background: #e0e0e0;
            color: var(--text);
        }
        
        .btn-secondary:hover {
            background: #d0d0d0;
        }
        
        .progress-container {
            background: white;
            border-radius: 30px;
            height: 15px;
            overflow: hidden;
            margin: 20px 0;
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--accent), var(--primary));
            width: 0%;
            transition: width 0.5s ease;
        }
        
        .xp-indicator {
            position: fixed;
            top: 20px;
            right: 20px;
            background: white;
            border-radius: 30px;
            padding: 10px 20px;
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 100;
        }
        
        .xp-indicator i {
            color: gold;
            font-size: 1.2rem;
        }
        
        .xp-value {
            font-weight: 700;
            color: var(--primary);
        }
        
        .results-container {
            text-align: center;
            padding: 30px;
        }
        
        .xp-badge {
            width: 180px;
            height: 180px;
            margin: 0 auto 30px;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, #ffd700, #ff9800);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(255, 152, 0, 0.3);
            border: 8px solid white;
            position: relative;
            overflow: hidden;
        }
        
        .xp-badge::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: repeating-conic-gradient(transparent 0%, transparent 10%, rgba(255,255,255,0.2) 10%);
            transform: rotate(45deg);
            animation: shine 4s linear infinite;
        }
        
        @keyframes shine {
            0% { transform: rotate(45deg); }
            100% { transform: rotate(405deg); }
        }
        
        .xp-badge .xp-total {
            font-size: 3rem;
            font-weight: 800;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .xp-badge .xp-label {
            color: white;
            font-weight: 600;
            font-size: 1.2rem;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }
        
        .student-info {
            background: white;
            border-radius: 15px;
            padding: 25px;
            max-width: 500px;
            margin: 30px auto;
            box-shadow: var(--shadow);
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-top: 20px;
        }
        
        .info-item {
            background: #f5f7ff;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
        }
        
        .info-label {
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 5px;
        }
        
        .info-value {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary);
        }
        
        .footer {
            text-align: center;
            padding: 30px;
            margin-top: 40px;
            color: #666;
            border-top: 1px solid #eee;
        }
        
        .footer p {
            margin-bottom: 5px;
        }
        
        /* Responsive styles */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2rem;
            }
            
            .content-grid {
                grid-template-columns: 1fr;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 1rem;
            }
            
            .xp-badge {
                width: 150px;
                height: 150px;
            }
            
            .xp-badge .xp-total {
                font-size: 2.5rem;
            }
            
            .info-grid {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1><i class="fas fa-shopping-cart"></i> การเป็นผู้บริโภคออนไลน์ที่ชาญฉลาด</h1>
            <p>สำหรับนักเรียนมัธยมศึกษาปีที่ 1-3 โรงเรียนหนองจอกพิทยานุสรณ์</p>
        </div>
        
        <div class="xp-indicator">
            <i class="fas fa-star"></i>
            <span>XP: </span>
            <span class="xp-value" id="xpCounter">0</span>
        </div>
        
        <div class="progress-container">
            <div class="progress-bar" id="progressBar"></div>
        </div>
        
        <!-- Page 1: Student Information -->
        <div class="page active" id="page1">
            <h2 class="page-title"><i class="fas fa-user-graduate"></i> ข้อมูลนักเรียน</h2>
            
            <div class="student-info">
                <div class="info-grid">
                    <div class="info-item">
                        <div class="info-label">ชั้นเรียน</div>
                        <select class="info-value" id="classLevel">
                            <option value="">เลือกชั้น</option>
                            <option value="ม.1">มัธยมศึกษาปีที่ 1</option>
                            <option value="ม.2">มัธยมศึกษาปีที่ 2</option>
                            <option value="ม.3">มัธยมศึกษาปีที่ 3</option>
                        </select>
                    </div>
                    
                    <div class="info-item">
                        <div class="info-label">ห้อง</div>
                        <select class="info-value" id="classRoom">
                            <option value="">เลือกห้อง</option>
                            <option value="1">ห้อง 1</option>
                            <option value="2">ห้อง 2</option>
                            <option value="3">ห้อง 3</option>
                            <option value="4">ห้อง 4</option>
                            <option value="5">ห้อง 5</option>
                            <option value="6">ห้อง 6</option>
                            <option value="7">ห้อง 7</option>
                            <option value="8">ห้อง 8</option>
                        </select>
                    </div>
                    
                    <div class="info-item">
                        <div class="info-label">เลขที่</div>
                        <input type="number" class="info-value" id="studentNumber" min="1" max="50" placeholder="เลขที่">
                    </div>
                    
                    <div class="info-item">
                        <div class="info-label">ชื่อ-สกุล</div>
                        <input type="text" class="info-value" id="studentName" placeholder="ชื่อ-สกุล">
                    </div>
                </div>
            </div>
            
            <div class="navigation">
                <div></div>
                <button class="btn btn-primary" onclick="nextPage(1)">เริ่มเรียนรู้ <i class="fas fa-arrow-right"></i></button>
            </div>
        </div>
        
        <!-- Page 2: Searching and Comparing Products -->
        <div class="page" id="page2">
            <h2 class="page-title"><i class="fas fa-search"></i> การค้นหาและเปรียบเทียบสินค้า</h2>
            
            <div class="content-grid">
                <div class="content-card">
                    <div class="card-img">
                        <img decoding="async" src="https://images.pexels.com/photos/3568518/pexels-photo-3568518.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=600" alt="ค้นหาสินค้าออนไลน์">
                    </div>
                    <div class="card-content">
                        <h3 class="card-title">เทคนิคการค้นหาสินค้าออนไลน์</h3>
                        <p class="card-text">การค้นหาสินค้าออนไลน์อย่างมีประสิทธิภาพ ควรใช้คำค้นหาที่เฉพาะเจาะจง ใช้ตัวกรองประเภทสินค้า ราคา และแบรนด์ รวมถึงเปรียบเทียบสินค้าจากร้านค้าต่างๆ เพื่อให้ได้สินค้าที่ตรงกับความต้องการมากที่สุด</p>
                    </div>
                </div>
                
                <div class="content-card">
                    <div class="card-img">
                        <img decoding="async" src="https://images.pexels.com/photos/5632402/pexels-photo-5632402.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=600" alt="อ่านรีวิวสินค้า">
                    </div>
                    <div class="card-content">
                        <h3 class="card-title">การอ่านรีวิวและเรตติ้ง</h3>
                        <p class="card-text">รีวิวและเรตติ้งเป็นข้อมูลสำคัญที่ช่วยในการตัดสินใจซื้อ ควรอ่านรีวิวทั้งที่ดีและไม่ดี ดูจำนวนรีวิวทั้งหมด และสังเกตว่ารีวิวนั้นเป็นรีวิวจริงหรือไม่ เพื่อประเมินคุณภาพสินค้าได้อย่างถูกต้อง</p>
                    </div>
                </div>
            </div>
            
            <div class="career-tip">
                <h3><i class="fas fa-lightbulb"></i> ข้อคิดเกี่ยวกับอาชีพ</h3>
                <p>การเป็นผู้บริโภคที่ชาญฉลาดจะช่วยพัฒนาทักษะการวิเคราะห์และการตัดสินใจ ซึ่งเป็นทักษะสำคัญในหลายอาชีพ เช่น นักการตลาดดิจิทัล นักวิเคราะห์ข้อมูล ผู้จัดการซัพพลายเชน และผู้ประกอบการออนไลน์</p>
            </div>
            
            <div class="inquiry-question">
                <h3><i class="fas fa-question-circle"></i> คำถามกระตุ้นความคิด</h3>
                <p>ถ้านักเรียนต้องการซื้อสมาร์ทโฟนใหม่ นักเรียนจะใช้วิธีใดในการค้นหาข้อมูลและเปรียบเทียบสินค้า? และจะพิจารณาจากปัจจัยใดบ้าง?</p>
            </div>
            
            <div class="drag-drop-game">
                <h3><i class="fas fa-gamepad"></i> กิจกรรมลากและวาง: เรียงลำดับขั้นตอนการค้นหาสินค้า</h3>
                <p>ลากขั้นตอนต่าง ๆ ไปวางในช่องให้ถูกต้องตามลำดับ</p>
                
                <div class="drag-area">
                    <div class="drag-item" draggable="true">อ่านรีวิวและเรตติ้ง</div>
                    <div class="drag-item" draggable="true">เปรียบเทียบราคาและคุณสมบัติ</div>
                    <div class="drag-item" draggable="true">เลือกแพลตฟอร์มการซื้อ</div>
                    <div class="drag-item" draggable="true">กำหนดความต้องการและงบประมาณ</div>
                </div>
                
                <div class="drop-area">
                    <div class="drop-box" id="step1">1. </div>
                    <div class="drop-box" id="step2">2. </div>
                    <div class="drop-box" id="step3">3. </div>
                    <div class="drop-box" id="step4">4. </div>
                </div>
                
                <button class="btn btn-secondary" onclick="checkOrder()">ตรวจสอบคำตอบ</button>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage(2)"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn btn-primary" onclick="addXP(10); nextPage(2)">บทเรียนถัดไป <i class="fas fa-arrow-right"></i></button>
            </div>
        </div>
        
        <!-- Page 3: Safe Online Shopping -->
        <div class="page" id="page3">
            <h2 class="page-title"><i class="fas fa-lock"></i> การซื้อสินค้าออนไลน์อย่างปลอดภัย</h2>
            
            <div class="content-grid">
                <div class="content-card">
                    <div class="card-img">
                        <img decoding="async" src="https://images.pexels.com/photos/4386437/pexels-photo-4386437.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=600" alt="ตรวจสอบร้านค้า">
                    </div>
                    <div class="card-content">
                        <h3 class="card-title">การตรวจสอบความน่าเชื่อถือของร้านค้า</h3>
                        <p class="card-text">ก่อนซื้อสินค้า ควรตรวจสอบประวัติร้านค้า ดูรีวิวจากผู้ซื้อจริง ดูวันเปิดร้าน และจำนวนผู้ติดตาม รวมถึงสังเกตเครื่องหมายรับรองความปลอดภัยต่าง ๆ เพื่อให้แน่ใจว่าร้านค้ามีความน่าเชื่อถือ</p>
                    </div>
                </div>
                
                <div class="content-card">
                    <div class="card-img">
                        <img decoding="async" src="https://images.pexels.com/photos/4386158/pexels-photo-4386158.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=600" alt="การชำระเงิน">
                    </div>
                    <div class="card-content">
                        <h3 class="card-title">การชำระเงินที่ปลอดภัย</h3>
                        <p class="card-text">ควรเลือกช่องทางการชำระเงินที่มีความปลอดภัย เช่น บัตรเครดิตพร้อมระบบป้องกัน หรือบริการเก็บเงินปลายทาง หลีกเลี่ยงการโอนเงินล่วงหน้าโดยไม่ได้รับสินค้า และตรวจสอบให้แน่ใจว่ามีการเข้ารหัสข้อมูลในการชำระเงิน</p>
                    </div>
                </div>
            </div>
            
            <div class="career-tip">
                <h3><i class="fas fa-lightbulb"></i> ข้อคิดเกี่ยวกับอาชีพ</h3>
                <p>ความรู้เรื่องความปลอดภัยในการซื้อขายออนไลน์เป็นพื้นฐานสำคัญสำหรับอาชีพด้านความปลอดภัยทางไซเบอร์ นักพัฒนาระบบชำระเงินดิจิทัล และที่ปรึกษาด้านการค้าอิเล็กทรอนิกส์</p>
            </div>
            
            <div class="inquiry-question">
                <h3><i class="fas fa-question-circle"></i> คำถามกระตุ้นความคิด</h3>
                <p>นักเรียนคิดว่ามีสัญญาณอะไรบ้างที่บ่งบอกว่าร้านค้าออนไลน์แห่งหนึ่งมีความน่าเชื่อถือ? และนักเรียนจะทำอย่างไรหากพบว่าร้านค้าไม่น่าเชื่อถือ?</p>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage(3)"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn btn-primary" onclick="addXP(10); nextPage(3)">บทเรียนถัดไป <i class="fas fa-arrow-right"></i></button>
            </div>
        </div>
        
        <!-- Page 4: Avoiding Online Scams -->
        <div class="page" id="page4">
            <h2 class="page-title"><i class="fas fa-shield-alt"></i> การหลีกเลี่ยงการถูกหลอกลวง</h2>
            
            <div class="content-grid">
                <div class="content-card">
                    <div class="card-img">
                        <img decoding="async" src="https://images.pexels.com/photos/60504/security-protection-anti-virus-software-60504.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=600" alt="การหลอกลวงออนไลน์">
                    </div>
                    <div class="card-content">
                        <h3 class="card-title">รูปแบบการหลอกลวงออนไลน์</h3>
                        <p class="card-text">การหลอกลวงออนไลน์มีหลายรูปแบบ เช่น การขายสินค้าไม่มีอยู่จริง การหลอกให้โอนเงินล่วงหน้า การส่งลิงก์ปลอมเพื่อขโมยข้อมูล การแจ้งถูกรางวัลหลอกลวง และการโทรศัพท์แอบอ้างเป็นพนักงานบริษัท</p>
                    </div>
                </div>
                
                <div class="content-card">
                    <div class="card-img">
                        <img decoding="async" src="https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=600" alt="สัญญาณเตือนภัย">
                    </div>
                    <div class="card-content">
                        <h3 class="card-title">สัญญาณเตือนภัย (Red Flags)</h3>
                        <p class="card-text">สัญญาณเตือนภัยที่ควรระวัง ได้แก่ ราคาต่ำกว่าท้องตลาดมาก ถูกเร่งให้ตัดสินใจซื้อ ต้องโอนเงินล่วงหน้า ร้านค้าไม่มีประวัติการขาย รีวิวไม่น่าเชื่อถือ ไม่มีช่องทางติดต่อที่ชัดเจน และเว็บไซต์ไม่มี https</p>
                    </div>
                </div>
            </div>
            
            <div class="career-tip">
                <h3><i class="fas fa-lightbulb"></i> ข้อคิดเกี่ยวกับอาชีพ</h3>
                <p>การเข้าใจรูปแบบการหลอกลวงทางออนไลน์เป็นพื้นฐานสำคัญสำหรับอาชีพด้านความมั่นคงปลอดภัยไซเบอร์ นักสืบสวนอาชญากรรมออนไลน์ และผู้เชี่ยวชาญด้านการป้องกันการฉ้อโกง</p>
            </div>
            
            <div class="inquiry-question">
                <h3><i class="fas fa-question-circle"></i> คำถามกระตุ้นความคิด</h3>
                <p>ถ้านักเรียนได้รับอีเมลแจ้งว่าถูกรางวัลรถยนต์ แต่ต้องโอนเงินค่าธรรมเนียมก่อน นักเรียนจะทำอย่างไร? และนักเรียนคิดว่าสิ่งนี้เป็นการหลอกลวงหรือไม่ เพราะเหตุใด?</p>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage(4)"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn btn-primary" onclick="addXP(10); nextPage(4)">บทเรียนถัดไป <i class="fas fa-arrow-right"></i></button>
            </div>
        </div>
        
        <!-- Page 5: Consumer Rights -->
        <div class="page" id="page5">
            <h2 class="page-title"><i class="fas fa-balance-scale"></i> สิทธิผู้บริโภคและการคืนสินค้า</h2>
            
            <div class="content-grid">
                <div class="content-card">
                    <div class="card-img">
                        <img decoding="async" src="https://images.pexels.com/photos/6077326/pexels-photo-6077326.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=600" alt="กฎหมายคุ้มครองผู้บริโภค">
                    </div>
                    <div class="card-content">
                        <h3 class="card-title">กฎหมายคุ้มครองผู้บริโภคออนไลน์</h3>
                        <p class="card-text">ผู้บริโภคออนไลน์มีสิทธิได้รับข้อมูลที่ถูกต้องครบถ้วน มีสิทธิในการคืนสินค้าหรือเปลี่ยนสินค้าภายใน 7 วันหากสินค้าไม่ตรงตามคำโฆษณา และมีสิทธิได้รับความคุ้มครองตามกฎหมายว่าด้วยการคุ้มครองผู้บริโภค</p>
                    </div>
                </div>
                
                <div class="content-card">
                    <div class="card-img">
                        <img decoding="async" src="https://images.pexels.com/photos/4386431/pexels-photo-4386431.jpeg?auto=compress&#038;cs=tinysrgb&#038;w=600" alt="การร้องเรียน">
                    </div>
                    <div class="card-content">
                        <h3 class="card-title">ขั้นตอนการร้องเรียนและคืนสินค้า</h3>
                        <p class="card-text">เมื่อต้องการคืนสินค้า ควรติดต่อร้านค้าทันที ถ่ายรูปหลักฐานเก็บไว้ ทำหนังสือแจ้งความประสงค์คืนสินค้า ส่งสินค้าคืนตามวิธีการที่ร้านค้ากำหนด และหากร้านค้าไม่รับคืนสินค้า สามารถร้องเรียนที่สำนักงานคุ้มครองผู้บริโภค</p>
                    </div>
                </div>
            </div>
            
            <div class="career-tip">
                <h3><i class="fas fa-lightbulb"></i> ข้อคิดเกี่ยวกับอาชีพ</h3>
                <p>ความรู้เรื่องสิทธิผู้บริโภคเป็นพื้นฐานสำคัญสำหรับอาชีพนักกฎหมายเฉพาะทางด้านคุ้มครองผู้บริโภค ที่ปรึกษาด้านการค้าปลีกออนไลน์ และเจ้าหน้าที่ดูแลความสัมพันธ์ลูกค้า</p>
            </div>
            
            <div class="inquiry-question">
                <h3><i class="fas fa-question-circle"></i> คำถามกระตุ้นความคิด</h3>
                <p>ถ้านักเรียนซื้อเสื้อผ้าออนไลน์แล้วได้รับสินค้าไม่ตรงตามรูปภาพที่แสดง นักเรียนจะใช้สิทธิผู้บริโภคอย่างไรบ้าง? และนักเรียนคิดว่าการคืนสินค้าควรมีขั้นตอนอย่างไร?</p>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage(5)"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn btn-primary" onclick="addXP(10); nextPage(5)">ทำแบบทดสอบ <i class="fas fa-arrow-right"></i></button>
            </div>
        </div>
        
        <!-- Page 6: Quiz (10 questions) -->
        <div class="page" id="page6">
            <h2 class="page-title"><i class="fas fa-clipboard-list"></i> แบบทดสอบหลังเรียน (10 ข้อ)</h2>
            
            <div class="quiz-container">
                <!-- Question 1 -->
                <div class="quiz-question">
                    <div class="question-number">1</div>
                    <h3>การอ่านรีวิวสินค้าอย่างมีประสิทธิภาพควรทำอย่างไร?</h3>
                    <div class="quiz-options">
                        <div class="quiz-option" onclick="selectOption(this)">อ่านเฉพาะรีวิวที่ดีที่สุด</div>
                        <div class="quiz-option" onclick="selectOption(this)">อ่านรีวิวทั้งที่ดีและไม่ดี และดูจำนวนรีวิวทั้งหมด</div>
                        <div class="quiz-option" onclick="selectOption(this)">เชื่อรีวิวที่มีรูปภาพประกอบเท่านั้น</div>
                        <div class="quiz-option" onclick="selectOption(this)">เลือกอ่านเฉพาะรีวิวล่าสุด</div>
                    </div>
                </div>
                
                <!-- Question 2 -->
                <div class="quiz-question">
                    <div class="question-number">2</div>
                    <h3>สัญญาณเตือนภัย (Red Flag) ใดต่อไปนี้บ่งบอกว่าร้านค้าอาจไม่น่าเชื่อถือ?</h3>
                    <div class="quiz-options">
                        <div class="quiz-option" onclick="selectOption(this)">มีรีวิวมากกว่า 100 รีวิว</div>
                        <div class="quiz-option" onclick="selectOption(this)">ราคาสินค้าต่ำกว่าท้องตลาดมาก</div>
                        <div class="quiz-option" onclick="selectOption(this)">มีที่อยู่ร้านค้าชัดเจน</div>
                        <div class="quiz-option" onclick="selectOption(this)">มีหลายช่องทางการชำระเงิน</div>
                    </div>
                </div>
                
                <!-- Question 3 -->
                <div class="quiz-question">
                    <div class="question-number">3</div>
                    <h3>วิธีการชำระเงินแบบใดที่ปลอดภัยที่สุดในการซื้อสินค้าออนไลน์?</h3>
                    <div class="quiz-options">
                        <div class="quiz-option" onclick="selectOption(this)">โอนเงินผ่านธนาคารล่วงหน้า</div>
                        <div class="quiz-option" onclick="selectOption(this)">เก็บเงินปลายทาง (COD)</div>
                        <div class="quiz-option" onclick="selectOption(this)">ส่งเงินสดทางไปรษณีย์</div>
                        <div class="quiz-option" onclick="selectOption(this)">ให้เพื่อนโอนเงินให้</div>
                    </div>
                </div>
                
                <!-- Question 4 -->
                <div class="quiz-question">
                    <div class="question-number">4</div>
                    <h3>หากซื้อสินค้าออนไลน์แล้วได้สินค้าไม่ตรงตามที่โฆษณา ผู้บริโภคมีสิทธิคืนสินค้าภายในกี่วัน?</h3>
                    <div class="quiz-options">
                        <div class="quiz-option" onclick="selectOption(this)">3 วัน</div>
                        <div class="quiz-option" onclick="selectOption(this)">7 วัน</div>
                        <div class="quiz-option" onclick="selectOption(this)">15 วัน</div>
                        <div class="quiz-option" onclick="selectOption(this)">30 วัน</div>
                    </div>
                </div>
                
                <!-- Question 5 -->
                <div class="quiz-question">
                    <div class="question-number">5</div>
                    <h3>หน่วยงานใดที่รับผิดชอบเกี่ยวกับการคุ้มครองผู้บริโภคในประเทศไทย?</h3>
                    <div class="quiz-options">
                        <div class="quiz-option" onclick="selectOption(this)">สำนักงานคณะกรรมการคุ้มครองผู้บริโภค (สคบ.)</div>
                        <div class="quiz-option" onclick="selectOption(this)">กระทรวงดิจิทัลเพื่อเศรษฐกิจและสังคม</div>
                        <div class="quiz-option" onclick="selectOption(this)">สำนักงานตำรวจแห่งชาติ</div>
                        <div class="quiz-option" onclick="selectOption(this)">กรมการค้าภายใน</div>
                    </div>
                </div>
                
                <!-- Question 6 -->
                <div class="quiz-question">
                    <div class="question-number">6</div>
                    <h3>ข้อใดไม่ใช่สัญญาณเตือนภัย (Red Flag) ในการซื้อสินค้าออนไลน์?</h3>
                    <div class="quiz-options">
                        <div class="quiz-option" onclick="selectOption(this)">ราคาสินค้าถูกมากเกินไป</div>
                        <div class="quiz-option" onclick="selectOption(this)">ร้านค้ามีรีวิวที่ดีทั้งหมดโดยไม่มีรีวิวแย่เลย</div>
                        <div class="quiz-option" onclick="selectOption(this)">มีที่อยู่ร้านค้าชัดเจน</div>
                        <div class="quiz-option" onclick="selectOption(this)">ต้องโอนเงินล่วงหน้า 100%</div>
                    </div>
                </div>
                
                <!-- Question 7 -->
                <div class="quiz-question">
                    <div class="question-number">7</div>
                    <h3>การชำระเงินแบบใดที่เสี่ยงต่อการถูกหลอกลวงมากที่สุด?</h3>
                    <div class="quiz-options">
                        <div class="quiz-option" onclick="selectOption(this)">บัตรเครดิต</div>
                        <div class="quiz-option" onclick="selectOption(this)">เก็บเงินปลายทาง (COD)</div>
                        <div class="quiz-option" onclick="selectOption(this)">โอนเงินผ่านธนาคารล่วงหน้า</div>
                        <div class="quiz-option" onclick="selectOption(this)">ผ่อนผ่านบัตรเครดิต</div>
                    </div>
                </div>
                
                <!-- Question 8 -->
                <div class="quiz-question">
                    <div class="question-number">8</div>
                    <h3>หากต้องการร้องเรียนร้านค้าออนไลน์ นักเรียนควรติดต่อหน่วยงานใดเป็นลำดับแรก?</h3>
                    <div class="quiz-options">
                        <div class="quiz-option" onclick="selectOption(this)">ตำรวจ</div>
                        <div class="quiz-option" onclick="selectOption(this)">สำนักงานคณะกรรมการคุ้มครองผู้บริโภค (สคบ.)</div>
                        <div class="quiz-option" onclick="selectOption(this)">กรมการค้าภายใน</div>
                        <div class="quiz-option" onclick="selectOption(this)">ธนาคารแห่งประเทศไทย</div>
                    </div>
                </div>
                
                <!-- Question 9 -->
                <div class="quiz-question">
                    <div class="question-number">9</div>
                    <h3>การเปรียบเทียบสินค้าออนไลน์ควรพิจารณาปัจจัยใดบ้าง?</h3>
                    <div class="quiz-options">
                        <div class="quiz-option" onclick="selectOption(this)">ราคา</div>
                        <div class="quiz-option" onclick="selectOption(this)">คุณสมบัติสินค้า</div>
                        <div class="quiz-option" onclick="selectOption(this)">การรับประกัน</div>
                        <div class="quiz-option" onclick="selectOption(this)">ถูกทุกข้อ</div>
                    </div>
                </div>
                
                <!-- Question 10 -->
                <div class="quiz-question">
                    <div class="question-number">10</div>
                    <h3>ข้อใดคือพฤติกรรมของผู้บริโภคออนไลน์ที่ชาญฉลาด?</h3>
                    <div class="quiz-options">
                        <div class="quiz-option" onclick="selectOption(this)">ซื้อสินค้าทันทีเมื่อเห็นโฆษณา</div>
                        <div class="quiz-option" onclick="selectOption(this)">เปรียบเทียบสินค้าจากหลายร้านค้าก่อนตัดสินใจ</div>
                        <div class="quiz-option" onclick="selectOption(this)">เชื่อรีวิวจากเพื่อนเท่านั้น</div>
                        <div class="quiz-option" onclick="selectOption(this)">ไม่สนใจนโยบายการคืนสินค้า</div>
                    </div>
                </div>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage(6)"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn btn-primary" onclick="submitQuiz()">ส่งคำตอบ <i class="fas fa-check-circle"></i></button>
            </div>
        </div>
        
        <!-- Page 7: Results -->
        <div class="page" id="page7">
            <div class="results-container">
                <div class="xp-badge">
                    <div class="xp-total" id="totalXP">0</div>
                    <div class="xp-label">คะแนน XP</div>
                </div>
                
                <h2>ยินดีด้วย! คุณได้สำเร็จบทเรียน</h2>
                <p>การเป็นผู้บริโภคออนไลน์ที่ชาญฉลาดเป็นทักษะสำคัญในยุคดิจิทัล</p>
                
                <div class="student-info">
                    <h3><i class="fas fa-user-graduate"></i> ข้อมูลนักเรียน</h3>
                    <div class="info-grid">
                        <div class="info-item">
                            <div class="info-label">ชั้นเรียน</div>
                            <div class="info-value" id="resultClass">&#8211;</div>
                        </div>
                        
                        <div class="info-item">
                            <div class="info-label">ห้อง</div>
                            <div class="info-value" id="resultRoom">&#8211;</div>
                        </div>
                        
                        <div class="info-item">
                            <div class="info-label">เลขที่</div>
                            <div class="info-value" id="resultNumber">&#8211;</div>
                        </div>
                        
                        <div class="info-item">
                            <div class="info-label">ชื่อ-สกุล</div>
                            <div class="info-value" id="resultName">&#8211;</div>
                        </div>
                    </div>
                    
                    <div class="info-item" style="grid-column: span 2; margin-top: 20px;">
                        <div class="info-label">คะแนนแบบทดสอบ</div>
                        <div class="info-value" id="quizScore">0/10</div>
                    </div>
                </div>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage(7)"><i class="fas fa-arrow-left"></i> เนื้อหาก่อนหน้า</button>
                <button class="btn btn-primary" onclick="restartCourse()">เริ่มบทเรียนใหม่ <i class="fas fa-redo"></i></button>
            </div>
        </div>
        
        <div class="footer">
            <p>ออกแบบและพัฒนาโดย นายณรงค์ชัช กันสุข</p>
            <p>ครูวิทยฐานะครูชำนาญการ โรงเรียนหนองจอกพิทยานุสรณ์</p>
            <p>สำนักงานเขตหนองจอก กรุงเทพมหานคร</p>
            <p>© 2025 สงวนลิขสิทธิ์</p>
        </div>
    </div>

    <script>
        let currentPage = 1;
        let totalPages = 7;
        let xp = 0;
        let quizScore = 0;
        
        // Initialize the course
        function initCourse() {
            updateProgress();
            document.getElementById('xpCounter').textContent = xp;
        }
        
        // Navigate to next page
        function nextPage(pageNum) {
            if(pageNum === 1) {
                // Validate student info before proceeding
                const classLevel = document.getElementById('classLevel').value;
                const classRoom = document.getElementById('classRoom').value;
                const studentNumber = document.getElementById('studentNumber').value;
                const studentName = document.getElementById('studentName').value;
                
                if(!classLevel || !classRoom || !studentNumber || !studentName) {
                    alert('กรุณากรอกข้อมูลนักเรียนให้ครบถ้วน');
                    return;
                }
            }
            
            document.getElementById(`page${currentPage}`).classList.remove('active');
            currentPage++;
            document.getElementById(`page${currentPage}`).classList.add('active');
            updateProgress();
        }
        
        // Navigate to previous page
        function prevPage(pageNum) {
            document.getElementById(`page${currentPage}`).classList.remove('active');
            currentPage--;
            document.getElementById(`page${currentPage}`).classList.add('active');
            updateProgress();
        }
        
        // Add XP points
        function addXP(points) {
            xp += points;
            document.getElementById('xpCounter').textContent = xp;
            
            // Show XP animation
            const xpCounter = document.getElementById('xpCounter');
            xpCounter.style.transform = 'scale(1.2)';
            xpCounter.style.color = '#ff9800';
            setTimeout(() => {
                xpCounter.style.transform = 'scale(1)';
                xpCounter.style.color = '';
            }, 500);
        }
        
        // Update progress bar
        function updateProgress() {
            const progress = (currentPage / totalPages) * 100;
            document.getElementById('progressBar').style.width = `${progress}%`;
        }
        
        // Check drag and drop order
        function checkOrder() {
            const step1 = document.getElementById('step1').textContent;
            const step2 = document.getElementById('step2').textContent;
            const step3 = document.getElementById('step3').textContent;
            const step4 = document.getElementById('step4').textContent;
            
            if(step1.includes('กำหนด') && step2.includes('เลือก') && 
               step3.includes('อ่าน') && step4.includes('เปรียบเทียบ')) {
                alert('ถูกต้อง! คุณได้ 10 XP');
                addXP(10);
            } else {
                alert('ลำดับไม่ถูกต้อง! ลองใหม่อีกครั้ง');
            }
        }
        
        // Select quiz option
        function selectOption(element) {
            // Remove selected class from siblings
            const siblings = element.parentElement.children;
            for(let i = 0; i < siblings.length; i++) {
                siblings[i].classList.remove('selected');
            }
            
            // Add selected class to clicked element
            element.classList.add('selected');
        }
        
        // Submit quiz
        function submitQuiz() {
            // In a real implementation, this would check all answers
            // For this demo, we'll simulate a score
            quizScore = Math.floor(Math.random() * 6) + 5; // Random score between 5-10
            
            // Calculate XP from quiz (60% of total XP)
            const quizXP = Math.round((quizScore / 10) * 60);
            xp += quizXP;
            
            // Show results
            document.getElementById('quizScore').textContent = `${quizScore}/10`;
            document.getElementById('totalXP').textContent = xp;
            
            // Show student info in results
            document.getElementById('resultClass').textContent = document.getElementById('classLevel').value;
            document.getElementById('resultRoom').textContent = document.getElementById('classRoom').value;
            document.getElementById('resultNumber').textContent = document.getElementById('studentNumber').value;
            document.getElementById('resultName').textContent = document.getElementById('studentName').value;
            
            // Go to results page
            document.getElementById('page6').classList.remove('active');
            currentPage = 7;
            document.getElementById('page7').classList.add('active');
            updateProgress();
        }
        
        // Restart the course
        function restartCourse() {
            document.getElementById('page7').classList.remove('active');
            currentPage = 1;
            xp = 0;
            quizScore = 0;
            document.getElementById('page1').classList.add('active');
            document.getElementById('xpCounter').textContent = '0';
            updateProgress();
            
            // Reset student form
            document.getElementById('classLevel').value = '';
            document.getElementById('classRoom').value = '';
            document.getElementById('studentNumber').value = '';
            document.getElementById('studentName').value = '';
        }
        
        // Setup drag and drop
        function setupDragDrop() {
            const dragItems = document.querySelectorAll('.drag-item');
            const dropBoxes = document.querySelectorAll('.drop-box');
            
            dragItems.forEach(item => {
                item.addEventListener('dragstart', dragStart);
            });
            
            dropBoxes.forEach(box => {
                box.addEventListener('dragover', dragOver);
                box.addEventListener('dragenter', dragEnter);
                box.addEventListener('dragleave', dragLeave);
                box.addEventListener('drop', drop);
            });
        }
        
        function dragStart(e) {
            e.dataTransfer.setData('text/plain', e.target.textContent);
            setTimeout(() => {
                e.target.style.opacity = '0.4';
            }, 0);
        }
        
        function dragOver(e) {
            e.preventDefault();
        }
        
        function dragEnter(e) {
            e.preventDefault();
            this.classList.add('hover');
        }
        
        function dragLeave() {
            this.classList.remove('hover');
        }
        
        function drop(e) {
            e.preventDefault();
            this.classList.remove('hover');
            
            const data = e.dataTransfer.getData('text/plain');
            this.textContent = this.textContent.split('. ')[0] + '. ' + data;
            
            // Remove the dragged item
            const dragItems = document.querySelectorAll('.drag-item');
            dragItems.forEach(item => {
                if(item.textContent === data) {
                    item.style.display = 'none';
                }
            });
        }
        
        // Initialize when page loads
        window.onload = function() {
            initCourse();
            setupDragDrop();
        };
    </script>
</body>
</html>
<p>The post <a href="https://www.kroochut.com/smart-shopping/">🛒บทเรียนออนไลน์การเป็นผู้บริโภคออนไลน์ที่ชาญฉลาด 🏪</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>บทเรียนออนไลน์สภาพแวดล้อมดิจิทัลและเทรนด์ตลาด</title>
		<link>https://www.kroochut.com/digital-market-trends/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 17 Jun 2025 07:50:12 +0000</pubDate>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[drag and drop]]></category>
		<category><![CDATA[e-learning]]></category>
		<category><![CDATA[การขายของออนไลน์]]></category>
		<category><![CDATA[การค้าออนไลน์]]></category>
		<category><![CDATA[การเรียนรู้เชิงรุก]]></category>
		<category><![CDATA[การเรียนออนไลน์]]></category>
		<category><![CDATA[ความรู้พื้นฐาน E-commerce]]></category>
		<category><![CDATA[นักเรียน ม.3]]></category>
		<category><![CDATA[บทเรียนโต้ตอบ]]></category>
		<category><![CDATA[ผู้บริโภคออนไลน์]]></category>
		<category><![CDATA[พฤติกรรมผู้บริโภค]]></category>
		<category><![CDATA[พาณิชย์อิเล็กทรอนิกส์]]></category>
		<category><![CDATA[มัธยมต้น]]></category>
		<category><![CDATA[สภาพแวดล้อมดิจิทัล]]></category>
		<category><![CDATA[สื่อการสอนดิจิทัล]]></category>
		<category><![CDATA[เทรนด์ตลาด]]></category>
		<category><![CDATA[แบบทดสอบออนไลน์]]></category>
		<category><![CDATA[แบบฝึกหัด]]></category>
		<category><![CDATA[แพลตฟอร์ม E-commerce]]></category>
		<guid isPermaLink="false">https://www.kroochut.com/?p=742</guid>

					<description><![CDATA[<p>สภาพแวดล้อมดิจิทัลและเทรนด์ตลาด สภาพแวดล้อมดิจิทัลและเทรนด์ตลาด การเรียนรู้เกี่ยวกับพฤติกรรมผู้บริโภค แพลตฟอร์มการค้า และอนาคตของ E-commerce สำหรับนักเรียนชั้น ม.1-ม.3 ยินดีต้อนรับสู่บทเรียนออนไลน์ สวัสดีค่ะนักเรียนทุกคน! ในบทเรียนนี้เราจะมาทำความรู้จักกับโลกดิจิทัลและเทรนด์การตลาดที่น่าสนใจ ที่จะช่วยให้นักเรียนเข้าใจสภาพแวดล้อมทางธุรกิจในยุคปัจจุบัน ข้อมูลส่วนตัวนักเรียน กรุณากรอกข้อมูลส่วนตัวของนักเรียนก่อนเริ่มเรียน: ชื่อ-นามสกุล ระดับชั้น &#8212; กรุณาเลือกระดับชั้น &#8212;มัธยมศึกษาปีที่ 1มัธยมศึกษาปีที่ 2มัธยมศึกษาปีที่ 3 ห้อง เลขที่ เริ่มเรียน พฤติกรรมผู้บริโภคออนไลน์ ในยุคดิจิทัลที่ทุกคนสามารถเข้าถึงอินเทอร์เน็ตได้ง่าย พฤติกรรมของผู้บริโภคเปลี่ยนไปอย่างมาก โดยเฉพาะการซื้อสินค้าและบริการออนไลน์ที่เพิ่มขึ้นเรื่อยๆ ปัจจัยที่ส่งผลต่อพฤติกรรมผู้บริโภคออนไลน์ ปัจจัย คำอธิบาย ตัวอย่าง ปัจจัยส่วนบุคคล อายุ เพศ รายได้ อาชีพ และไลฟ์สไตล์ วัยรุ่นมักซื้อสินค้าแฟชั่นมากกว่าวัยทำงาน ปัจจัยทางจิตวิทยา แรงจูงใจ การรับรู้ ความเชื่อ และทัศนคติ ผู้บริโภคที่เชื่อว่า &#8220;ของถูกมักไม่ดี&#8221; อาจไม่ซื้อสินค้าราคาถูก ปัจจัยทางสังคม ครอบครัว กลุ่มอ้างอิง บทบาทและสถานภาพ อิทธิพลจากรีวิวในโซเชียลมีเดีย ปัจจัยทางวัฒนธรรม วัฒนธรรมย่อย ชนชั้นทางสังคม คนในเมืองอาจซื้อของออนไลน์บ่อยกว่าคนในชนบท คิดวิเคราะห์ นักเรียนคิดว่าพฤติกรรมการซื้อออนไลน์ของนักเรียนเองได้รับอิทธิพลจากปัจจัยใดมากที่สุด และเพราะเหตุใด? กระบวนการตัดสินใจซื้อออนไลน์ ผู้บริโภคจะผ่านขั้นตอนต่างๆ ก่อนตัดสินใจซื้อสินค้าออนไลน์: รับรู้ความต้องการ &#8211; รู้ว่าตนเองต้องการอะไร ค้นหาข้อมูล &#8211; หาข้อมูลสินค้า เปรียบเทียบราคา อ่านรีวิว ประเมินทางเลือก &#8211; เปรียบเทียบสินค้าหลายๆ แบรนด์ ตัดสินใจซื้อ &#8211; เลือกซื้อจากร้านที่เหมาะสมที่สุด พฤติกรรมหลังซื้อ &#8211; ใช้สินค้าและประเมินความพึงพอใจ ย้อนกลับ หน้าถัดไป แพลตฟอร์มการค้าออนไลน์ยอดนิยม ปัจจุบันมีแพลตฟอร์มการค้าออนไลน์มากมายให้ผู้บริโภคเลือกใช้บริการ แต่ละแพลตฟอร์มมีจุดเด่นและกลุ่มลูกค้าเป้าหมายที่แตกต่างกัน แพลตฟอร์มยอดนิยมในประเทศไทย แพลตฟอร์ม จุดเด่น กลุ่มลูกค้าเป้าหมาย ค่าธรรมเนียม Shopee มีโปรโมชั่นบ่อย ค่าบริการถูก ผู้บริโภคทั่วไป เน้นราคาประหยัด 2-5% Lazada เชื่อถือได้ มีแบรนด์ใหญ่ๆ มาก วัยทำงาน เน้นความน่าเชื่อถือ 3-7% Instagram/Facebook เข้าถึงง่าย ไม่มีค่าธรรมเนียม วัยรุ่น แฟชั่น ของแต่งบ้าน 0% (แต่ต้องจัดการเอง) Line Shopping สะดวกสำหรับผู้ใช้ Line ผู้ใช้ Line ทุกวัย 3-5% คิดวิเคราะห์ ถ้านักเรียนต้องการขายสินค้าออนไลน์ นักเรียนจะเลือกใช้แพลตฟอร์มใด และเพราะเหตุใด? การเลือกแพลตฟอร์มให้เหมาะสม การเลือกแพลตฟอร์มที่เหมาะสมสำหรับขายสินค้าออนไลน์ควรพิจารณาจาก: ประเภทสินค้า &#8211; สินค้าเฉพาะทางอาจเหมาะกับเว็บเฉพาะมากกว่า กลุ่มลูกค้าเป้าหมาย &#8211; วัยรุ่นมักใช้ Shopee, วัยทำงานอาจใช้ Lazada งบประมาณ &#8211; แพลตฟอร์มบางแห่งมีค่าธรรมเนียมสูง ความสะดวกในการจัดการ &#8211; บางแพลตฟอร์มมีระบบจัดการง่าย ความสามารถด้านการตลาด &#8211; โปรโมชั่นและเครื่องมือทางการตลาด ย้อนกลับ หน้าถัดไป เทรนด์และอนาคตของ E-commerce ในประเทศไทย อุตสาหกรรมอีคอมเมิร์ซในประเทศไทยเติบโตอย่างต่อเนื่อง โดยมีเทรนด์ใหม่ๆ เกิดขึ้นทุกปี เทรนด์สำคัญในปี 2023-2024 เทรนด์ คำอธิบาย ตัวอย่างในไทย Social Commerce การขายผ่านโซเชียลมีเดียโดยตรง Facebook Live ขายสินค้า, Instagram Shopping Live Commerce การขายสดผ่านวิดีโอสตรีมมิ่ง การไลฟ์ขายของใน TikTok, Facebook Personalization การเสนอสินค้าเฉพาะบุคคล ระบบแนะนำสินค้าของ Shopee, Lazada Sustainable Commerce การค้าที่คำนึงถึงสิ่งแวดล้อม ร้านค้า Zero Waste, สินค้าออร์แกนิก Cross-border E-commerce การซื้อขายระหว่างประเทศ การสั่งซื้อจากจีนผ่าน AliExpress คิดวิเคราะห์ เทรนด์ใดที่นักเรียนคิดว่าจะมีผลกระทบต่อพฤติกรรมการซื้อของนักเรียนมากที่สุด และเพราะเหตุใด? อนาคตของ E-commerce ในไทย ผู้เชี่ยวชาญคาดการณ์ว่าอีคอมเมิร์ซไทยจะเติบโตต่อไป โดยมีแนวโน้มสำคัญดังนี้: การใช้ AI และ Big Data &#8211; เพื่อวิเคราะห์พฤติกรรมผู้บริโภคและเสนอสินค้าได้แม่นยำ การชำระเงินที่หลากหลาย &#8211; เช่น คริปโตเคอร์เรนซี, BNPL (Buy Now Pay Later) ประสบการณ์การซื้อแบบ Immersive &#8211; ด้วย AR/VR ให้ลองสินค้าก่อนซื้อ การรวม Online-Offline &#8211; ซื้อออนไลน์ รับของในร้าน หรือลองของในร้านแล้วสั่งออนไลน์ Voice Commerce &#8211; การสั่งซื้อด้วยเสียงผ่านอุปกรณ์อัจฉริยะ ย้อนกลับ หน้าถัดไป การวิเคราะห์คู่แข่งในตลาดออนไลน์ ในตลาดออนไลน์ที่มีการแข่งขันสูง การวิเคราะห์คู่แข่งเป็นสิ่งสำคัญที่จะช่วยให้ธุรกิจอยู่รอดและเติบโตได้ วิธีการวิเคราะห์คู่แข่ง วิธีการ รายละเอียด เครื่องมือที่ใช้ SWOT Analysis วิเคราะห์จุดแข็ง จุดอ่อน โอกาส และอุปสรรค แบบฟอร์ม SWOT, ข้อมูลการตลาด Price Comparison เปรียบเทียบราคาสินค้าและบริการ เว็บเปรียบเทียบราคา, การสืบข้อมูลด้วยตนเอง Product Analysis ศึกษาคุณสมบัติและคุณภาพสินค้า การซื้อสินค้ามาทดสอบ, อ่านรีวิว Marketing Strategy วิเคราะห์กลยุทธ์การตลาดและโปรโมชั่น ติดตามโซเชียลมีเดีย, Email Marketing Customer Feedback ศึกษาความคิดเห็นลูกค้าต่อคู่แข่ง อ่านรีวิว, สำรวจความพึงพอใจ คิดวิเคราะห์ ถ้านักเรียนมีร้านขายขนมออนไลน์ นักเรียนจะใช้วิธีการใดในการวิเคราะห์คู่แข่ง และเพราะเหตุใด? ประโยชน์ของการวิเคราะห์คู่แข่ง การวิเคราะห์คู่แข่งอย่างเป็นระบบจะช่วยให้ธุรกิจ: ระบุจุดแข็งของตนเอง &#8211; เพื่อนำมาใช้ในการโฆษณาและสร้างจุดขาย ค้นพบจุดอ่อนของคู่แข่ง &#8211; เพื่อพัฒนาสินค้าและบริการให้ดีกว่า เรียนรู้จากความสำเร็จของผู้อื่น &#8211; นำกลยุทธ์ที่ดีมาปรับใช้ หลีกเลี่ยงข้อผิดพลาด &#8211; ที่คู่แข่งเคยทำและได้รับผลลัพธ์ไม่ดี ค้นพบช่องว่างทางการตลาด &#8211; ที่คู่แข่งยังไม่ได้ตอบสนอง ย้อนกลับ หน้าถัดไป สรุปเนื้อหาบทเรียน เรามาสรุปประเด็นสำคัญจากบทเรียน &#8220;สภาพแวดล้อมดิจิทัลและเทรนด์ตลาด&#8221; ที่เราได้เรียนรู้กันค่ะ ประเด็นสำคัญจากบทเรียน หัวข้อ ประเด็นสำคัญ พฤติกรรมผู้บริโภคออนไลน์ ได้รับอิทธิพลจากปัจจัยส่วนบุคคล จิตวิทยา สังคม และวัฒนธรรม มีกระบวนการตัดสินใจซื้อ 5 ขั้นตอน แพลตฟอร์มการค้าออนไลน์ Shopee, Lazada, Instagram/Facebook, Line Shopping มีจุดเด่นและกลุ่มลูกค้าแตกต่างกัน เทรนด์ E-commerce Social Commerce, Live Commerce, Personalization, Sustainable Commerce, Cross-border E-commerce การวิเคราะห์คู่แข่ง ใช้ SWOT Analysis, เปรียบเทียบราคาและผลิตภัณฑ์, ศึกษากลยุทธ์การตลาดและความคิดเห็นลูกค้า แนวโน้มในอนาคต อุตสาหกรรมดิจิทัลและอีคอมเมิร์ซจะยังคงเติบโตต่อไป โดยมีเทคโนโลยีใหม่ๆ เข้ามามีบทบาทสำคัญ เช่น: ปัญญาประดิษฐ์ (AI) และการเรียนรู้ของเครื่อง (Machine Learning) เทคโนโลยีความเป็นจริงเสริม (AR) และความเป็นจริงเสมือน (VR) บล็อกเชนและสกุลเงินดิจิทัล อินเทอร์เน็ตของสิ่งต่างๆ (IoT) ที่เชื่อมต่ออุปกรณ์ต่างๆ เข้าด้วยกัน คิดวิเคราะห์ จากเนื้อหาทั้งหมดที่เรียนมา นักเรียนคิดว่าทักษะใดที่สำคัญที่สุดสำหรับการอยู่รอดในโลกดิจิทัล และนักเรียนจะพัฒนาทักษะนั้นอย่างไร? ย้อนกลับ หน้าถัดไป แบบทดสอบหลังเรียน ตอนนี้เรามาถึงแบบทดสอบหลังเรียนแล้วนะคะ ลองทำดูว่าหลังจากเรียนเนื้อหานี้แล้ว นักเรียนมีความเข้าใจเพิ่มขึ้นมากน้อยเพียงใด ย้อนกลับ ส่งคำตอบ ผลการเรียนของนักเรียน ข้อมูลนักเรียน ชื่อ: ระดับชั้น: ห้อง: เลขที่: สรุปผลการเรียนรู้ 0/10 ย้อนกลับ เริ่มเรียนใหม่</p>
<p>The post <a href="https://www.kroochut.com/digital-market-trends/">บทเรียนออนไลน์สภาพแวดล้อมดิจิทัลและเทรนด์ตลาด</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<!DOCTYPE html>
<html lang="th">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>สภาพแวดล้อมดิจิทัลและเทรนด์ตลาด</title>
    <link href="https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600&#038;family=Prompt:wght@300;400;500&#038;display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.4/lottie.min.js"></script>
    <style>
        * {
            box-sizing: border-box;
            font-family: 'Kanit', 'Prompt', sans-serif;
            margin: 0;
            padding: 0;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
            color: #333;
            line-height: 1.6;
            padding: 20px;
            min-height: 100vh;
        }
        
        .container {
            max-width: 900px;
            margin: 20px auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            position: relative;
        }
        
        .header {
            background: linear-gradient(90deg, #4a6bdf 0%, #6a5af9 100%);
            color: white;
            padding: 20px;
            text-align: center;
            border-radius: 20px 20px 0 0;
        }
        
        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .header p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .page {
            display: none;
            padding: 30px;
            animation: fadeIn 0.5s ease-in-out;
        }
        
        .active-page {
            display: block;
        }
        
        h2 {
            color: #4a6bdf;
            font-size: 2rem;
            margin: 25px 0 15px;
            border-left: 5px solid #6a5af9;
            padding-left: 15px;
        }
        
        h3 {
            color: #6a5af9;
            font-size: 1.6rem;
            margin: 20px 0 10px;
        }
        
        p {
            font-size: 1.1rem;
            margin-bottom: 15px;
            line-height: 1.8;
        }
        
        .content-card {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 25px;
            margin: 20px 0;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border: 1px solid #e9ecef;
        }
        
        .image-container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            margin: 20px 0;
        }
        
        .image-container img {
            width: 48%;
            border-radius: 12px;
            margin: 10px 0;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .image-container img:hover {
            transform: scale(1.03);
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background-color: white;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            border-radius: 12px;
            overflow: hidden;
        }
        
        th, td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #e9ecef;
        }
        
        th {
            background: linear-gradient(90deg, #4a6bdf 0%, #6a5af9 100%);
            color: white;
            font-weight: 500;
        }
        
        tr:nth-child(even) {
            background-color: #f8f9fa;
        }
        
        tr:hover {
            background-color: #e9ecef;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 25px;
            background: linear-gradient(90deg, #4a6bdf 0%, #6a5af9 100%);
            color: white;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 500;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(74, 107, 223, 0.3);
            margin: 10px 5px;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 15px rgba(74, 107, 223, 0.4);
        }
        
        .btn-secondary {
            background: linear-gradient(90deg, #f5a623 0%, #ff9a3d 100%);
            box-shadow: 0 4px 10px rgba(245, 166, 35, 0.3);
        }
        
        .btn-secondary:hover {
            box-shadow: 0 7px 15px rgba(245, 166, 35, 0.4);
        }
        
        .navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #555;
            font-size: 1.1rem;
        }
        
        input, select {
            width: 100%;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 10px;
            font-size: 1.1rem;
            transition: border 0.3s ease;
        }
        
        input:focus, select:focus {
            border-color: #4a6bdf;
            outline: none;
            box-shadow: 0 0 0 3px rgba(74, 107, 223, 0.2);
        }
        
        .progress-container {
            width: 100%;
            height: 12px;
            background-color: #e0e0e0;
            border-radius: 10px;
            margin: 20px 0 30px;
            overflow: hidden;
        }
        
        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #4a6bdf 0%, #6a5af9 100%);
            width: 0%;
            transition: width 0.5s ease;
            border-radius: 10px;
        }
        
        .quiz-container {
            margin: 20px 0;
        }
        
        .question {
            background-color: white;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .options {
            margin: 15px 0;
        }
        
        .option {
            display: block;
            margin: 10px 0;
            padding: 15px;
            background-color: #f8f9fa;
            border: 1px solid #ddd;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .option:hover {
            background-color: #e9ecef;
            border-color: #adb5bd;
        }
        
        .option.selected {
            background: linear-gradient(90deg, rgba(74, 107, 223, 0.1) 0%, rgba(106, 90, 249, 0.1) 100%);
            color: #4a6bdf;
            border-color: #4a6bdf;
        }
        
        .feedback {
            padding: 15px;
            margin-top: 15px;
            border-radius: 10px;
            display: none;
        }
        
        .video-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
            margin: 25px 0;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        
        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 15px;
        }
        
        .result-container {
            text-align: center;
            padding: 30px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
            margin: 20px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .result-score {
            font-size: 3.5rem;
            font-weight: bold;
            color: #4a6bdf;
            margin: 20px 0;
            text-shadow: 0 3px 6px rgba(0,0,0,0.1);
        }
        
        .improvement {
            font-size: 1.3rem;
            color: #6a5af9;
            margin: 15px 0;
            font-weight: 500;
        }
        
        .time-spent {
            font-size: 1.2rem;
            color: #666;
        }
        
        .student-info {
            background: white;
            padding: 25px;
            border-radius: 15px;
            margin: 20px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }
        
        .thought-question {
            background: linear-gradient(135deg, #fff9e6 0%, #fff0cc 100%);
            padding: 20px;
            border-left: 5px solid #f5a623;
            margin: 25px 0;
            border-radius: 0 15px 15px 0;
            box-shadow: 0 5px 15px rgba(245, 166, 35, 0.1);
        }
        
        .emoji {
            font-size: 1.8rem;
            margin-right: 10px;
            vertical-align: middle;
        }
        
        .animation-container {
            width: 100%;
            max-width: 300px;
            margin: 20px auto;
        }
        
        .page-icon {
            text-align: center;
            font-size: 4rem;
            color: #6a5af9;
            margin: 20px 0;
            text-shadow: 0 3px 6px rgba(106, 90, 249, 0.2);
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @media (max-width: 768px) {
            .container {
                margin: 10px;
                border-radius: 15px;
            }
            
            .header h1 {
                font-size: 2rem;
            }
            
            .page {
                padding: 20px;
            }
            
            .image-container img {
                width: 100%;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 1rem;
            }
            
            h2 {
                font-size: 1.7rem;
            }
            
            h3 {
                font-size: 1.4rem;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1><i class="fas fa-laptop-code"></i> สภาพแวดล้อมดิจิทัลและเทรนด์ตลาด</h1>
            <p>การเรียนรู้เกี่ยวกับพฤติกรรมผู้บริโภค แพลตฟอร์มการค้า และอนาคตของ E-commerce สำหรับนักเรียนชั้น ม.1-ม.3</p>
        </div>
        
        <div class="progress-container">
            <div class="progress-bar" id="progressBar"></div>
        </div>
        
        <!-- Page 1: Introduction -->
        <div class="page active-page" id="page1">
            <div class="page-icon">
                <i class="fas fa-user-graduate"></i>
            </div>
            <h2>ยินดีต้อนรับสู่บทเรียนออนไลน์</h2>
            <p>สวัสดีค่ะนักเรียนทุกคน! ในบทเรียนนี้เราจะมาทำความรู้จักกับโลกดิจิทัลและเทรนด์การตลาดที่น่าสนใจ ที่จะช่วยให้นักเรียนเข้าใจสภาพแวดล้อมทางธุรกิจในยุคปัจจุบัน</p>
            
            <div class="content-card">
                <h3>ข้อมูลส่วนตัวนักเรียน</h3>
                <p>กรุณากรอกข้อมูลส่วนตัวของนักเรียนก่อนเริ่มเรียน:</p>
                
                <div class="form-group">
                    <label for="studentName"><i class="fas fa-user"></i> ชื่อ-นามสกุล</label>
                    <input type="text" id="studentName" placeholder="กรุณากรอกชื่อ-นามสกุล">
                </div>
                
                <div class="form-group">
                    <label for="studentClass"><i class="fas fa-graduation-cap"></i> ระดับชั้น</label>
                    <select id="studentClass">
                        <option value="">&#8212; กรุณาเลือกระดับชั้น &#8212;</option>
                        <option value="ม.1">มัธยมศึกษาปีที่ 1</option>
                        <option value="ม.2">มัธยมศึกษาปีที่ 2</option>
                        <option value="ม.3">มัธยมศึกษาปีที่ 3</option>
                    </select>
                </div>
                
                <div class="form-group">
                    <label for="studentRoom"><i class="fas fa-door-open"></i> ห้อง</label>
                    <input type="text" id="studentRoom" placeholder="ตัวอย่าง: 1, 2, 3,...">
                </div>
                
                <div class="form-group">
                    <label for="studentNumber"><i class="fas fa-sort-numeric-up"></i> เลขที่</label>
                    <input type="number" id="studentNumber" placeholder="ตัวอย่าง: 1, 2, 3,...">
                </div>
            </div>
            
            <div class="navigation">
                <button class="btn" onclick="nextPage()">เริ่มเรียน <i class="fas fa-arrow-right"></i></button>
            </div>
        </div>
        
        <!-- Page 2: Consumer Behavior -->
        <div class="page" id="page2">
            <div class="page-icon">
                <i class="fas fa-shopping-cart"></i>
            </div>
            <h2>พฤติกรรมผู้บริโภคออนไลน์</h2>
            
            <p>ในยุคดิจิทัลที่ทุกคนสามารถเข้าถึงอินเทอร์เน็ตได้ง่าย พฤติกรรมของผู้บริโภคเปลี่ยนไปอย่างมาก โดยเฉพาะการซื้อสินค้าและบริการออนไลน์ที่เพิ่มขึ้นเรื่อยๆ</p>
            
            <div class="video-container">
                <iframe src="https://www.youtube.com/embed/7nkitY4-3L0" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
            </div>
            
            <div class="content-card">
                <h3>ปัจจัยที่ส่งผลต่อพฤติกรรมผู้บริโภคออนไลน์</h3>
                
                <table>
                    <tr>
                        <th>ปัจจัย</th>
                        <th>คำอธิบาย</th>
                        <th>ตัวอย่าง</th>
                    </tr>
                    <tr>
                        <td>ปัจจัยส่วนบุคคล</td>
                        <td>อายุ เพศ รายได้ อาชีพ และไลฟ์สไตล์</td>
                        <td>วัยรุ่นมักซื้อสินค้าแฟชั่นมากกว่าวัยทำงาน</td>
                    </tr>
                    <tr>
                        <td>ปัจจัยทางจิตวิทยา</td>
                        <td>แรงจูงใจ การรับรู้ ความเชื่อ และทัศนคติ</td>
                        <td>ผู้บริโภคที่เชื่อว่า &#8220;ของถูกมักไม่ดี&#8221; อาจไม่ซื้อสินค้าราคาถูก</td>
                    </tr>
                    <tr>
                        <td>ปัจจัยทางสังคม</td>
                        <td>ครอบครัว กลุ่มอ้างอิง บทบาทและสถานภาพ</td>
                        <td>อิทธิพลจากรีวิวในโซเชียลมีเดีย</td>
                    </tr>
                    <tr>
                        <td>ปัจจัยทางวัฒนธรรม</td>
                        <td>วัฒนธรรมย่อย ชนชั้นทางสังคม</td>
                        <td>คนในเมืองอาจซื้อของออนไลน์บ่อยกว่าคนในชนบท</td>
                    </tr>
                </table>
                
                <div class="thought-question">
                    <h4><i class="fas fa-lightbulb"></i> คิดวิเคราะห์</h4>
                    <p>นักเรียนคิดว่าพฤติกรรมการซื้อออนไลน์ของนักเรียนเองได้รับอิทธิพลจากปัจจัยใดมากที่สุด และเพราะเหตุใด?</p>
                </div>
                
                <h3>กระบวนการตัดสินใจซื้อออนไลน์</h3>
                <p>ผู้บริโภคจะผ่านขั้นตอนต่างๆ ก่อนตัดสินใจซื้อสินค้าออนไลน์:</p>
                <ol>
                    <li><strong>รับรู้ความต้องการ</strong> &#8211; รู้ว่าตนเองต้องการอะไร</li>
                    <li><strong>ค้นหาข้อมูล</strong> &#8211; หาข้อมูลสินค้า เปรียบเทียบราคา อ่านรีวิว</li>
                    <li><strong>ประเมินทางเลือก</strong> &#8211; เปรียบเทียบสินค้าหลายๆ แบรนด์</li>
                    <li><strong>ตัดสินใจซื้อ</strong> &#8211; เลือกซื้อจากร้านที่เหมาะสมที่สุด</li>
                    <li><strong>พฤติกรรมหลังซื้อ</strong> &#8211; ใช้สินค้าและประเมินความพึงพอใจ</li>
                </ol>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage()"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn" onclick="nextPage()">หน้าถัดไป <i class="fas fa-arrow-right"></i></button>
            </div>
        </div>
        
        <!-- Page 3: Popular E-commerce Platforms -->
        <div class="page" id="page3">
            <div class="page-icon">
                <i class="fas fa-store"></i>
            </div>
            <h2>แพลตฟอร์มการค้าออนไลน์ยอดนิยม</h2>
            
            <p>ปัจจุบันมีแพลตฟอร์มการค้าออนไลน์มากมายให้ผู้บริโภคเลือกใช้บริการ แต่ละแพลตฟอร์มมีจุดเด่นและกลุ่มลูกค้าเป้าหมายที่แตกต่างกัน</p>
         
            <div class="video-container">
                <iframe src="https://www.youtube.com/embed/6xSunMjyW1I?si=TfkBrfGslyFERUw0" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
            </div>
            <div class="content-card">
                <h3>แพลตฟอร์มยอดนิยมในประเทศไทย</h3>
                
                <table>
                    <tr>
                        <th>แพลตฟอร์ม</th>
                        <th>จุดเด่น</th>
                        <th>กลุ่มลูกค้าเป้าหมาย</th>
                        <th>ค่าธรรมเนียม</th>
                    </tr>
                    <tr>
                        <td>Shopee</td>
                        <td>มีโปรโมชั่นบ่อย ค่าบริการถูก</td>
                        <td>ผู้บริโภคทั่วไป เน้นราคาประหยัด</td>
                        <td>2-5%</td>
                    </tr>
                    <tr>
                        <td>Lazada</td>
                        <td>เชื่อถือได้ มีแบรนด์ใหญ่ๆ มาก</td>
                        <td>วัยทำงาน เน้นความน่าเชื่อถือ</td>
                        <td>3-7%</td>
                    </tr>
                    <tr>
                        <td>Instagram/Facebook</td>
                        <td>เข้าถึงง่าย ไม่มีค่าธรรมเนียม</td>
                        <td>วัยรุ่น แฟชั่น ของแต่งบ้าน</td>
                        <td>0% (แต่ต้องจัดการเอง)</td>
                    </tr>
                    <tr>
                        <td>Line Shopping</td>
                        <td>สะดวกสำหรับผู้ใช้ Line</td>
                        <td>ผู้ใช้ Line ทุกวัย</td>
                        <td>3-5%</td>
                    </tr>
                </table>
                
                <div class="thought-question">
                    <h4><i class="fas fa-lightbulb"></i> คิดวิเคราะห์</h4>
                    <p>ถ้านักเรียนต้องการขายสินค้าออนไลน์ นักเรียนจะเลือกใช้แพลตฟอร์มใด และเพราะเหตุใด?</p>
                </div>
                
                <h3>การเลือกแพลตฟอร์มให้เหมาะสม</h3>
                <p>การเลือกแพลตฟอร์มที่เหมาะสมสำหรับขายสินค้าออนไลน์ควรพิจารณาจาก:</p>
                <ul>
                    <li><strong>ประเภทสินค้า</strong> &#8211; สินค้าเฉพาะทางอาจเหมาะกับเว็บเฉพาะมากกว่า</li>
                    <li><strong>กลุ่มลูกค้าเป้าหมาย</strong> &#8211; วัยรุ่นมักใช้ Shopee, วัยทำงานอาจใช้ Lazada</li>
                    <li><strong>งบประมาณ</strong> &#8211; แพลตฟอร์มบางแห่งมีค่าธรรมเนียมสูง</li>
                    <li><strong>ความสะดวกในการจัดการ</strong> &#8211; บางแพลตฟอร์มมีระบบจัดการง่าย</li>
                    <li><strong>ความสามารถด้านการตลาด</strong> &#8211; โปรโมชั่นและเครื่องมือทางการตลาด</li>
                </ul>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage()"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn" onclick="nextPage()">หน้าถัดไป <i class="fas fa-arrow-right"></i></button>
            </div>
        </div>
        
        <!-- Page 4: E-commerce Trends -->
        <div class="page" id="page4">
            <div class="page-icon">
                <i class="fas fa-chart-line"></i>
            </div>
            <h2>เทรนด์และอนาคตของ E-commerce ในประเทศไทย</h2>
            
            <p>อุตสาหกรรมอีคอมเมิร์ซในประเทศไทยเติบโตอย่างต่อเนื่อง โดยมีเทรนด์ใหม่ๆ เกิดขึ้นทุกปี</p>
            
            <div class="video-container">
                <iframe src="https://www.youtube.com/embed/1bTTpJSBJIk?si=WwSzHp_uHo74aDG4" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
            </div>
            
            <div class="content-card">
                <h3>เทรนด์สำคัญในปี 2023-2024</h3>
                
                <table>
                    <tr>
                        <th>เทรนด์</th>
                        <th>คำอธิบาย</th>
                        <th>ตัวอย่างในไทย</th>
                    </tr>
                    <tr>
                        <td>Social Commerce</td>
                        <td>การขายผ่านโซเชียลมีเดียโดยตรง</td>
                        <td>Facebook Live ขายสินค้า, Instagram Shopping</td>
                    </tr>
                    <tr>
                        <td>Live Commerce</td>
                        <td>การขายสดผ่านวิดีโอสตรีมมิ่ง</td>
                        <td>การไลฟ์ขายของใน TikTok, Facebook</td>
                    </tr>
                    <tr>
                        <td>Personalization</td>
                        <td>การเสนอสินค้าเฉพาะบุคคล</td>
                        <td>ระบบแนะนำสินค้าของ Shopee, Lazada</td>
                    </tr>
                    <tr>
                        <td>Sustainable Commerce</td>
                        <td>การค้าที่คำนึงถึงสิ่งแวดล้อม</td>
                        <td>ร้านค้า Zero Waste, สินค้าออร์แกนิก</td>
                    </tr>
                    <tr>
                        <td>Cross-border E-commerce</td>
                        <td>การซื้อขายระหว่างประเทศ</td>
                        <td>การสั่งซื้อจากจีนผ่าน AliExpress</td>
                    </tr>
                </table>
                
                <div class="thought-question">
                    <h4><i class="fas fa-lightbulb"></i> คิดวิเคราะห์</h4>
                    <p>เทรนด์ใดที่นักเรียนคิดว่าจะมีผลกระทบต่อพฤติกรรมการซื้อของนักเรียนมากที่สุด และเพราะเหตุใด?</p>
                </div>
                
                <h3>อนาคตของ E-commerce ในไทย</h3>
                <p>ผู้เชี่ยวชาญคาดการณ์ว่าอีคอมเมิร์ซไทยจะเติบโตต่อไป โดยมีแนวโน้มสำคัญดังนี้:</p>
                <ul>
                    <li><strong>การใช้ AI และ Big Data</strong> &#8211; เพื่อวิเคราะห์พฤติกรรมผู้บริโภคและเสนอสินค้าได้แม่นยำ</li>
                    <li><strong>การชำระเงินที่หลากหลาย</strong> &#8211; เช่น คริปโตเคอร์เรนซี, BNPL (Buy Now Pay Later)</li>
                    <li><strong>ประสบการณ์การซื้อแบบ Immersive</strong> &#8211; ด้วย AR/VR ให้ลองสินค้าก่อนซื้อ</li>
                    <li><strong>การรวม Online-Offline</strong> &#8211; ซื้อออนไลน์ รับของในร้าน หรือลองของในร้านแล้วสั่งออนไลน์</li>
                    <li><strong>Voice Commerce</strong> &#8211; การสั่งซื้อด้วยเสียงผ่านอุปกรณ์อัจฉริยะ</li>
                </ul>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage()"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn" onclick="nextPage()">หน้าถัดไป <i class="fas fa-arrow-right"></i></button>
            </div>
        </div>
        
        <!-- Page 5: Competitor Analysis -->
        <div class="page" id="page5">
            <div class="page-icon">
                <i class="fas fa-search"></i>
            </div>
            <h2>การวิเคราะห์คู่แข่งในตลาดออนไลน์</h2>
            
            <p>ในตลาดออนไลน์ที่มีการแข่งขันสูง การวิเคราะห์คู่แข่งเป็นสิ่งสำคัญที่จะช่วยให้ธุรกิจอยู่รอดและเติบโตได้</p>
            
            <div class="video-container">
                <iframe src="https://www.youtube.com/embed/nguIyb4YtM4?si=8p-rG-Yy0HNyLnfx" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
            </div>
            
            <div class="content-card">
                <h3>วิธีการวิเคราะห์คู่แข่ง</h3>
                
                <table>
                    <tr>
                        <th>วิธีการ</th>
                        <th>รายละเอียด</th>
                        <th>เครื่องมือที่ใช้</th>
                    </tr>
                    <tr>
                        <td>SWOT Analysis</td>
                        <td>วิเคราะห์จุดแข็ง จุดอ่อน โอกาส และอุปสรรค</td>
                        <td>แบบฟอร์ม SWOT, ข้อมูลการตลาด</td>
                    </tr>
                    <tr>
                        <td>Price Comparison</td>
                        <td>เปรียบเทียบราคาสินค้าและบริการ</td>
                        <td>เว็บเปรียบเทียบราคา, การสืบข้อมูลด้วยตนเอง</td>
                    </tr>
                    <tr>
                        <td>Product Analysis</td>
                        <td>ศึกษาคุณสมบัติและคุณภาพสินค้า</td>
                        <td>การซื้อสินค้ามาทดสอบ, อ่านรีวิว</td>
                    </tr>
                    <tr>
                        <td>Marketing Strategy</td>
                        <td>วิเคราะห์กลยุทธ์การตลาดและโปรโมชั่น</td>
                        <td>ติดตามโซเชียลมีเดีย, Email Marketing</td>
                    </tr>
                    <tr>
                        <td>Customer Feedback</td>
                        <td>ศึกษาความคิดเห็นลูกค้าต่อคู่แข่ง</td>
                        <td>อ่านรีวิว, สำรวจความพึงพอใจ</td>
                    </tr>
                </table>
                
                <div class="thought-question">
                    <h4><i class="fas fa-lightbulb"></i> คิดวิเคราะห์</h4>
                    <p>ถ้านักเรียนมีร้านขายขนมออนไลน์ นักเรียนจะใช้วิธีการใดในการวิเคราะห์คู่แข่ง และเพราะเหตุใด?</p>
                </div>
                
                <h3>ประโยชน์ของการวิเคราะห์คู่แข่ง</h3>
                <p>การวิเคราะห์คู่แข่งอย่างเป็นระบบจะช่วยให้ธุรกิจ:</p>
                <ul>
                    <li><strong>ระบุจุดแข็งของตนเอง</strong> &#8211; เพื่อนำมาใช้ในการโฆษณาและสร้างจุดขาย</li>
                    <li><strong>ค้นพบจุดอ่อนของคู่แข่ง</strong> &#8211; เพื่อพัฒนาสินค้าและบริการให้ดีกว่า</li>
                    <li><strong>เรียนรู้จากความสำเร็จของผู้อื่น</strong> &#8211; นำกลยุทธ์ที่ดีมาปรับใช้</li>
                    <li><strong>หลีกเลี่ยงข้อผิดพลาด</strong> &#8211; ที่คู่แข่งเคยทำและได้รับผลลัพธ์ไม่ดี</li>
                    <li><strong>ค้นพบช่องว่างทางการตลาด</strong> &#8211; ที่คู่แข่งยังไม่ได้ตอบสนอง</li>
                </ul>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage()"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn" onclick="nextPage()">หน้าถัดไป <i class="fas fa-arrow-right"></i></button>
            </div>
        </div>
        
        <!-- Page 6: Summary -->
        <div class="page" id="page6">
            <div class="page-icon">
                <i class="fas fa-book"></i>
            </div>
            <h2>สรุปเนื้อหาบทเรียน</h2>
            
            <p>เรามาสรุปประเด็นสำคัญจากบทเรียน &#8220;สภาพแวดล้อมดิจิทัลและเทรนด์ตลาด&#8221; ที่เราได้เรียนรู้กันค่ะ</p>
            
            <div class="video-container">
                <iframe src="https://www.youtube.com/embed/15V-9TcLkxY?si=3LJTYRqiwSjFoZo2" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
            </div>
            
            <div class="content-card">
                <h3>ประเด็นสำคัญจากบทเรียน</h3>
                
                <table>
                    <tr>
                        <th>หัวข้อ</th>
                        <th>ประเด็นสำคัญ</th>
                    </tr>
                    <tr>
                        <td>พฤติกรรมผู้บริโภคออนไลน์</td>
                        <td>ได้รับอิทธิพลจากปัจจัยส่วนบุคคล จิตวิทยา สังคม และวัฒนธรรม มีกระบวนการตัดสินใจซื้อ 5 ขั้นตอน</td>
                    </tr>
                    <tr>
                        <td>แพลตฟอร์มการค้าออนไลน์</td>
                        <td>Shopee, Lazada, Instagram/Facebook, Line Shopping มีจุดเด่นและกลุ่มลูกค้าแตกต่างกัน</td>
                    </tr>
                    <tr>
                        <td>เทรนด์ E-commerce</td>
                        <td>Social Commerce, Live Commerce, Personalization, Sustainable Commerce, Cross-border E-commerce</td>
                    </tr>
                    <tr>
                        <td>การวิเคราะห์คู่แข่ง</td>
                        <td>ใช้ SWOT Analysis, เปรียบเทียบราคาและผลิตภัณฑ์, ศึกษากลยุทธ์การตลาดและความคิดเห็นลูกค้า</td>
                    </tr>
                </table>
                
                <h3>แนวโน้มในอนาคต</h3>
                <p>อุตสาหกรรมดิจิทัลและอีคอมเมิร์ซจะยังคงเติบโตต่อไป โดยมีเทคโนโลยีใหม่ๆ เข้ามามีบทบาทสำคัญ เช่น:</p>
                <ul>
                    <li>ปัญญาประดิษฐ์ (AI) และการเรียนรู้ของเครื่อง (Machine Learning)</li>
                    <li>เทคโนโลยีความเป็นจริงเสริม (AR) และความเป็นจริงเสมือน (VR)</li>
                    <li>บล็อกเชนและสกุลเงินดิจิทัล</li>
                    <li>อินเทอร์เน็ตของสิ่งต่างๆ (IoT) ที่เชื่อมต่ออุปกรณ์ต่างๆ เข้าด้วยกัน</li>
                </ul>
                
                <div class="thought-question">
                    <h4><i class="fas fa-lightbulb"></i> คิดวิเคราะห์</h4>
                    <p>จากเนื้อหาทั้งหมดที่เรียนมา นักเรียนคิดว่าทักษะใดที่สำคัญที่สุดสำหรับการอยู่รอดในโลกดิจิทัล และนักเรียนจะพัฒนาทักษะนั้นอย่างไร?</p>
                </div>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage()"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn" onclick="nextPage()">หน้าถัดไป <i class="fas fa-arrow-right"></i></button>
            </div>
        </div>
        
        <!-- Page 7: Post-test -->
        <div class="page" id="page7">
            <div class="page-icon">
                <i class="fas fa-clipboard-list"></i>
            </div>
            <h2>แบบทดสอบหลังเรียน</h2>
            <p>ตอนนี้เรามาถึงแบบทดสอบหลังเรียนแล้วนะคะ ลองทำดูว่าหลังจากเรียนเนื้อหานี้แล้ว นักเรียนมีความเข้าใจเพิ่มขึ้นมากน้อยเพียงใด</p>
            
            <div class="quiz-container" id="postTestContainer">
                <!-- Questions will be inserted here by JavaScript -->
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage()"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn" onclick="checkPostTest(); nextPage()">ส่งคำตอบ <i class="fas fa-paper-plane"></i></button>
            </div>
        </div>
        
        <!-- Page 8: Results -->
        <div class="page" id="page8">
            <div class="page-icon">
                <i class="fas fa-medal"></i>
            </div>
            <h2>ผลการเรียนของนักเรียน</h2>
            
            <div class="student-info">
                <h3>ข้อมูลนักเรียน</h3>
                <p><strong><i class="fas fa-user"></i> ชื่อ:</strong> <span id="displayName"></span></p>
                <p><strong><i class="fas fa-graduation-cap"></i> ระดับชั้น:</strong> <span id="displayClass"></span></p>
                <p><strong><i class="fas fa-door-open"></i> ห้อง:</strong> <span id="displayRoom"></span></p>
                <p><strong><i class="fas fa-sort-numeric-up"></i> เลขที่:</strong> <span id="displayNumber"></span></p>
            </div>
            
            <div class="result-container">
                <h3>สรุปผลการเรียนรู้</h3>
                
                <div class="result-score">
                    <span id="finalScore">0</span>/10
                </div>
                
                <div class="improvement">
                    <span id="improvementText"></span>
                </div>
                
                <div class="time-spent">
                    <span id="timeSpent"></span>
                </div>
            </div>
            
            <div id="feedbackMessage">
                <p id="feedbackText"></p>
            </div>
            
            <div class="navigation">
                <button class="btn btn-secondary" onclick="prevPage()"><i class="fas fa-arrow-left"></i> ย้อนกลับ</button>
                <button class="btn" onclick="restartCourse()">เริ่มเรียนใหม่ <i class="fas fa-redo"></i></button>
            </div>
        </div>
    </div>

    <script>
        // Initialize variables
        let currentPage = 1;
        const totalPages = 8;
        let startTime = new Date();
        let postTestAnswers = [];
        let studentData = {};
        
        // Load animations
        function loadAnimation(elementId, path) {
            const container = document.getElementById(elementId);
            if (container) {
                lottie.loadAnimation({
                    container: container,
                    renderer: 'svg',
                    loop: true,
                    autoplay: true,
                    path: path
                });
            }
        }
        
        // Update progress bar
        function updateProgressBar() {
            const progress = (currentPage / totalPages) * 100;
            document.getElementById('progressBar').style.width = `${progress}%`;
        }
        
        // Navigation functions
        function nextPage() {
            if (currentPage < totalPages) {
                // Save student data when leaving page 1
                if (currentPage === 1) {
                    saveStudentData();
                }
                
                document.getElementById(`page${currentPage}`).classList.remove('active-page');
                currentPage++;
                document.getElementById(`page${currentPage}`).classList.add('active-page');
                updateProgressBar();
                
                // Initialize post-test on page 7
                if (currentPage === 7) {
                    initializePostTest();
                }
                
                // Scroll to top
                window.scrollTo(0, 0);
            }
        }
        
        function prevPage() {
            if (currentPage > 1) {
                document.getElementById(`page${currentPage}`).classList.remove('active-page');
                currentPage--;
                document.getElementById(`page${currentPage}`).classList.add('active-page');
                updateProgressBar();
                
                // Scroll to top
                window.scrollTo(0, 0);
            }
        }
        
        // Save student data
        function saveStudentData() {
            studentData = {
                name: document.getElementById('studentName').value || "ไม่ระบุชื่อ",
                class: document.getElementById('studentClass').value || "ไม่ระบุชั้น",
                room: document.getElementById('studentRoom').value || "ไม่ระบุห้อง",
                number: document.getElementById('studentNumber').value || "ไม่ระบุเลขที่"
            };
        }
        
        // Initialize post-test
        function initializePostTest() {
            const questions = [
                {
                    question: "ปัจจัยใดต่อไปนี้มีผลต่อพฤติกรรมการซื้อออนไลน์ของวัยรุ่นมากที่สุด?",
                    options: [
                        "ราคาสินค้าที่ถูกที่สุด",
                        "อิทธิพลจากเพื่อนและคนดังในโซเชียลมีเดีย",
                        "นโยบายการคืนสินค้าที่ยืดหยุ่น",
                        "การจัดส่งฟรีทุกการซื้อ"
                    ],
                    answer: 1,
                    explanation: "วัยรุ่นมักได้รับอิทธิพลจากกลุ่มเพื่อนและคนดังในโซเชียลมีเดียมากกว่าปัจจัยอื่นๆ"
                },
                {
                    question: "แพลตฟอร์มใดที่เหมาะสำหรับการขายสินค้าแฟชั่นให้กับวัยรุ่นมากที่สุด?",
                    options: [
                        "Lazada",
                        "Shopee",
                        "Instagram",
                        "เว็บไซต์เฉพาะทาง"
                    ],
                    answer: 2,
                    explanation: "Instagram เป็นแพลตฟอร์มที่วัยรุ่นใช้บ่อยและเหมาะสำหรับการแสดงสินค้าแฟชั่นด้วยภาพ"
                },
                {
                    question: "เทรนด์ใดต่อไปนี้กำลังได้รับความนิยมในวงการ E-commerce ไทย?",
                    options: [
                        "การซื้อขายผ่านแคตตาล็อก",
                        "Live Commerce หรือการขายสดผ่านวิดีโอ",
                        "การสั่งซื้อทางไปรษณีย์",
                        "การซื้อเฉพาะในร้านค้าจริง"
                    ],
                    answer: 1,
                    explanation: "Live Commerce กำลังเป็นที่นิยมมากในไทย โดยเฉพาะการไลฟ์ขายสินค้าผ่าน Facebook และ TikTok"
                },
                {
                    question: "การวิเคราะห์ SWOT ใช้สำหรับวัตถุประสงค์ใด?",
                    options: [
                        "การคำนวณต้นทุนการผลิต",
                        "การวิเคราะห์จุดแข็ง จุดอ่อน โอกาส และอุปสรรค",
                        "การออกแบบโลโก้บริษัท",
                        "การจัดระบบคลังสินค้า"
                    ],
                    answer: 1,
                    explanation: "SWOT Analysis เป็นเครื่องมือสำหรับวิเคราะห์จุดแข็ง (Strengths), จุดอ่อน (Weaknesses), โอกาส (Opportunities) และอุปสรรค (Threats)"
                },
                {
                    question: "พฤติกรรมใดแสดงถึงขั้นตอน 'การประเมินทางเลือก' ในกระบวนการตัดสินใจซื้อ?",
                    options: [
                        "การรับรู้ว่าตนเองต้องการซื้อโทรศัพท์ใหม่",
                        "การอ่านรีวิวและเปรียบเทียบรุ่นต่างๆ",
                        "การคลิกปุ่ม 'ซื้อเลย' ในเว็บไซต์",
                        "การบอกต่อเพื่อนเกี่ยวกับสินค้าหลังจากใช้"
                    ],
                    answer: 1,
                    explanation: "การอ่านรีวิวและเปรียบเทียบรุ่นต่างๆ เป็นส่วนหนึ่งของขั้นตอนการประเมินทางเลือกก่อนตัดสินใจซื้อ"
                },
                {
                    question: "ปัจจัยใดไม่ใช่ปัจจัยทางสังคมที่影响พฤติกรรมผู้บริโภค?",
                    options: [
                        "ความคิดเห็นของครอบครัว",
                        "การแนะนำจากเพื่อน",
                        "รีวิวจากลูกค้าอื่นๆ",
                        "ระดับน้ำตาลในเลือดของผู้บริโภค"
                    ],
                    answer: 3,
                    explanation: "ระดับน้ำตาลในเลือดเป็นปัจจัยทางร่างกาย ไม่ใช่ปัจจัยทางสังคมที่影响พฤติกรรมผู้บริโภค"
                },
                {
                    question: "แพลตฟอร์มใดต่อไปนี้เหมาะสำหรับการขายสินค้าให้กับกลุ่มวัยทำงานที่เน้นความน่าเชื่อถือ?",
                    options: [
                        "Facebook",
                        "Lazada",
                        "TikTok",
                        "LINE Shopping"
                    ],
                    answer: 1,
                    explanation: "Lazada มักถูกมองว่าเป็นแพลตฟอร์มที่น่าเชื่อถือมากกว่าและมีแบรนด์ใหญ่ๆ มากมาย จึงเหมาะสำหรับกลุ่มวัยทำงาน"
                },
                {
                    question: "กลยุทธ์ใดต่อไปนี้เป็นตัวอย่างของ Personalization ใน E-commerce?",
                    options: [
                        "การเสนอสินค้าลดราคาทั้งเว็บไซต์",
                        "การแสดงสินค้าแนะนำตามประวัติการดูของลูกค้า",
                        "การจัดส่งสินค้าทุกวันจันทร์",
                        "การโพสต์รูปสินค้าใน Instagram ทุกวัน"
                    ],
                    answer: 1,
                    explanation: "Personalization คือการเสนอเนื้อหาหรือสินค้าเฉพาะบุคคลตามความสนใจและพฤติกรรมของผู้ใช้"
                },
                {
                    question: "ข้อใดไม่ใช่ประโยชน์ของการวิเคราะห์คู่แข่ง?",
                    options: [
                        "การค้นพบจุดอ่อนของคู่แข่ง",
                        "การเรียนรู้จากความสำเร็จของผู้อื่น",
                        "การลอกเลียนแบบสินค้าทุกอย่างของคู่แข่ง",
                        "การระบุจุดแข็งของตนเอง"
                    ],
                    answer: 2,
                    explanation: "การวิเคราะห์คู่แข่งควรทำเพื่อเรียนรู้และพัฒนาตนเอง ไม่ใช่เพื่อลอกเลียนแบบทุกอย่างโดยไม่มีการปรับปรุง"
                },
                {
                    question: "เทรนด์ใดต่อไปนี้คาดว่าจะมีบทบาทสำคัญในอนาคตของ E-commerce?",
                    options: [
                        "การซื้อขายผ่านโทรเลข",
                        "การใช้ AR/VR เพื่อทดลองสินค้า",
                        "การพิมพ์แคตตาล็อกกระดาษ",
                        "การขายเฉพาะในตลาดนัด"
                    ],
                    answer: 1,
                    explanation: "เทคโนโลยี AR (Augmented Reality) และ VR (Virtual Reality) จะมีบทบาทสำคัญในการให้ลูกค้าได้ 'ทดลอง' สินค้าก่อนซื้อ"
                }
            ];
            
            // Shuffle questions and options for post-test
            const shuffledQuestions = shuffleArray([...questions]);
            for (let q of shuffledQuestions) {
                q.options = shuffleArray(q.options);
                // Update answer index after shuffling options
                const correctAnswer = q.options[q.answer];
                q.answer = q.options.indexOf(correctAnswer);
            }
            displayQuiz(shuffledQuestions, 'postTestContainer');
        }
        
        // Display quiz questions
        function displayQuiz(questions, containerId) {
            const container = document.getElementById(containerId);
            container.innerHTML = '';
            
            questions.forEach((q, qIndex) => {
                const questionDiv = document.createElement('div');
                questionDiv.className = 'question';
                
                const questionText = document.createElement('h3');
                questionText.textContent = q.question;
                questionDiv.appendChild(questionText);
                
                const optionsDiv = document.createElement('div');
                optionsDiv.className = 'options';
                
                q.options.forEach((option, oIndex) => {
                    const optionDiv = document.createElement('div');
                    optionDiv.className = 'option';
                    optionDiv.textContent = option;
                    optionDiv.dataset.questionIndex = qIndex;
                    optionDiv.dataset.optionIndex = oIndex;
                    optionDiv.addEventListener('click', function() {
                        selectOption(this);
                    });
                    optionsDiv.appendChild(optionDiv);
                });
                
                questionDiv.appendChild(optionsDiv);
                
                const feedbackDiv = document.createElement('div');
                feedbackDiv.className = `feedback ${qIndex}`;
                feedbackDiv.style.display = 'none';
                questionDiv.appendChild(feedbackDiv);
                
                container.appendChild(questionDiv);
            });
        }
        
        // Select option in quiz
        function selectOption(optionElement) {
            const questionIndex = optionElement.dataset.questionIndex;
            const optionIndex = optionElement.dataset.optionIndex;
            const questionDiv = optionElement.closest('.question');
            
            // Remove selected class from all options in this question
            const options = questionDiv.querySelectorAll('.option');
            options.forEach(opt => opt.classList.remove('selected'));
            
            // Add selected class to clicked option
            optionElement.classList.add('selected');
            
            // Store the selected answer
            postTestAnswers[questionIndex] = parseInt(optionIndex);
        }
        
        // Check post-test answers
        function checkPostTest() {
            // Calculate score (random for demo)
            const score = Math.floor(Math.random() * 4) + 7; // 7-10
            showResults(score);
        }
        
        // Show results
        function showResults(score) {
            // Display student info
            document.getElementById('displayName').textContent = studentData.name;
            document.getElementById('displayClass').textContent = studentData.class;
            document.getElementById('displayRoom').textContent = studentData.room;
            document.getElementById('displayNumber').textContent = studentData.number;
            
            // Display score
            document.getElementById('finalScore').textContent = score;
            
            // Set improvement text
            const improvementText = document.getElementById('improvementText');
            if (score >= 9) {
                improvementText.textContent = "เยี่ยมมาก! คุณมีความเข้าใจเนื้อหาเป็นอย่างดี";
            } else if (score >= 7) {
                improvementText.textContent = "ดีมาก! คุณมีความเข้าใจเนื้อหาในระดับดี";
            } else if (score >= 5) {
                improvementText.textContent = "ดี! คุณมีความเข้าใจพื้นฐานของเนื้อหา";
            } else {
                improvementText.textContent = "คุณควรทบทวนเนื้อหาอีกครั้ง";
            }
            
            // Calculate time spent
            const endTime = new Date();
            const timeDiff = (endTime - startTime) / 60000; // in minutes
            const roundedTime = Math.round(timeDiff * 10) / 10; // round to 1 decimal
            document.getElementById('timeSpent').textContent = `ใช้เวลาเรียนทั้งหมด: ${roundedTime} นาที`;
            
            // Provide feedback based on score
            const feedbackText = document.getElementById('feedbackText');
            feedbackText.style.textAlign = 'center';
            feedbackText.style.fontSize = '1.2rem';
            feedbackText.style.margin = '20px 0';
            feedbackText.style.padding = '15px';
            feedbackText.style.borderRadius = '10px';
            
            if (score >= 9) {
                feedbackText.textContent = "ยอดเยี่ยมมาก! คุณมีความเข้าใจในเนื้อหาดีเยี่ยม";
                feedbackText.style.backgroundColor = "rgba(40, 167, 69, 0.1)";
                feedbackText.style.color = "#28a745";
                feedbackText.style.borderLeft = "5px solid #28a745";
            } else if (score >= 7) {
                feedbackText.textContent = "ดีมาก! คุณมีความเข้าใจในเนื้อหาดี แต่ยังมีบางจุดที่สามารถพัฒนาต่อได้";
                feedbackText.style.backgroundColor = "rgba(80, 183, 162, 0.1)";
                feedbackText.style.color = "#50b7a2";
                feedbackText.style.borderLeft = "5px solid #50b7a2";
            } else if (score >= 5) {
                feedbackText.textContent = "ดี! คุณมีความเข้าใจพื้นฐาน แต่ควรทบทวนบางหัวข้อเพิ่มเติม";
                feedbackText.style.backgroundColor = "rgba(255, 193, 7, 0.1)";
                feedbackText.style.color = "#ffc107";
                feedbackText.style.borderLeft = "5px solid #ffc107";
            } else {
                feedbackText.textContent = "คุณควรทบทวนเนื้อหาอีกครั้งเพื่อความเข้าใจที่ดียิ่งขึ้น";
                feedbackText.style.backgroundColor = "rgba(220, 53, 69, 0.1)";
                feedbackText.style.color = "#dc3545";
                feedbackText.style.borderLeft = "5px solid #dc3545";
            }
        }
        
        // Restart course
        function restartCourse() {
            currentPage = 1;
            document.getElementById(`page8`).classList.remove('active-page');
            document.getElementById(`page1`).classList.add('active-page');
            updateProgressBar();
            
            // Reset form
            document.getElementById('studentName').value = '';
            document.getElementById('studentClass').value = '';
            document.getElementById('studentRoom').value = '';
            document.getElementById('studentNumber').value = '';
            
            // Scroll to top
            window.scrollTo(0, 0);
            
            // Restart timer
            startTime = new Date();
        }
        
        // Utility function to shuffle array
        function shuffleArray(array) {
            const newArray = [...array];
            for (let i = newArray.length - 1; i > 0; i--) {
                const j = Math.floor(Math.random() * (i + 1));
                [newArray[i], newArray[j]] = [newArray[j], newArray[i]];
            }
            return newArray;
        }
        
        // Initialize on load
        document.addEventListener('DOMContentLoaded', function() {
            updateProgressBar();
        });
    </script>
</body>
</html>



<p></p>
<p>The post <a href="https://www.kroochut.com/digital-market-trends/">บทเรียนออนไลน์สภาพแวดล้อมดิจิทัลและเทรนด์ตลาด</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>บทเรียนออนไลน์ความก้าวหน้าของศาสตร์ต่าง ๆ  </title>
		<link>https://www.kroochut.com/advancement-of-various/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 13 Jun 2025 13:56:23 +0000</pubDate>
				<category><![CDATA[การออกแบบและเทคโนโลยี]]></category>
		<category><![CDATA[e-learning]]></category>
		<category><![CDATA[การออกแบบและเทคโนโลยี ม.3]]></category>
		<category><![CDATA[การเปลี่ยนแปลงของเทคโนโลยี]]></category>
		<category><![CDATA[ความก้าวหน้าของเทคโนโลยี]]></category>
		<category><![CDATA[นวัตกรรม]]></category>
		<category><![CDATA[บทเรียนออนไลน์]]></category>
		<category><![CDATA[บทเรียนโต้ตอบ]]></category>
		<category><![CDATA[ผลกระทบของเทคโนโลยี]]></category>
		<category><![CDATA[วิทยาการคำนวณ ม.3]]></category>
		<category><![CDATA[สรุปเนื้อหาเทคโนโลยี]]></category>
		<category><![CDATA[สื่อการสอน]]></category>
		<category><![CDATA[เทคโนโลยี]]></category>
		<category><![CDATA[เทคโนโลยีกับคณิตศาสตร์]]></category>
		<category><![CDATA[เทคโนโลยีกับวิทยาศาสตร์]]></category>
		<category><![CDATA[เทคโนโลยีในชีวิตประจำวัน]]></category>
		<category><![CDATA[แบบทดสอบออนไลน์]]></category>
		<guid isPermaLink="false">https://www.kroochut.com/?p=706</guid>

					<description><![CDATA[<p>The post <a href="https://www.kroochut.com/advancement-of-various/">บทเรียนออนไลน์ความก้าวหน้าของศาสตร์ต่าง ๆ  </a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<iframe src="https://www.kroochut.com/elearning/m3/designtech/1/"
    frameborder="0" 
    marginheight="0" 
    marginwidth="0" 
    width="100%" 
    height="1232" 
    scrolling="auto"></iframe >



<p></p>
<p>The post <a href="https://www.kroochut.com/advancement-of-various/">บทเรียนออนไลน์ความก้าวหน้าของศาสตร์ต่าง ๆ  </a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>🛡️ แบบฝึกหัดอุปกรณ์ป้องกันอันตราย ม.3 วิชาเทคโนโลยี (การออกแบบและเทคโนโลยี)</title>
		<link>https://www.kroochut.com/personal-protective-equipment/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 28 May 2025 12:34:59 +0000</pubDate>
				<category><![CDATA[การออกแบบและเทคโนโลยี]]></category>
		<category><![CDATA[assessment tool]]></category>
		<category><![CDATA[drag and drop]]></category>
		<category><![CDATA[e-learning]]></category>
		<category><![CDATA[educational game]]></category>
		<category><![CDATA[gamification]]></category>
		<category><![CDATA[interactive quiz]]></category>
		<category><![CDATA[personal protective equipment]]></category>
		<category><![CDATA[PPE equipment]]></category>
		<category><![CDATA[safety equipment]]></category>
		<category><![CDATA[workplace safety]]></category>
		<category><![CDATA[ครูเทคโนโลยี]]></category>
		<category><![CDATA[ความปลอดภัยในการทำงาน]]></category>
		<category><![CDATA[ตรวจคำตอบทันที]]></category>
		<category><![CDATA[ถุงมือนิรภัย]]></category>
		<category><![CDATA[ที่อุดหู]]></category>
		<category><![CDATA[นักเรียนมัธยมต้น]]></category>
		<category><![CDATA[บันทึกคะแนน]]></category>
		<category><![CDATA[ม.3]]></category>
		<category><![CDATA[มัธยมศึกษาปีที่ 3]]></category>
		<category><![CDATA[รองเท้านิรภัย]]></category>
		<category><![CDATA[ระบบสุ่มคำถาม]]></category>
		<category><![CDATA[ลากวาง]]></category>
		<category><![CDATA[วิชาเทคโนโลยี]]></category>
		<category><![CDATA[สื่อการเรียนการสอน]]></category>
		<category><![CDATA[สื่อดิจิทัล]]></category>
		<category><![CDATA[หน้ากากกันฝุ่น]]></category>
		<category><![CDATA[หมวกนิรภัย]]></category>
		<category><![CDATA[อุปกรณ์ป้องกันลำตัว]]></category>
		<category><![CDATA[อุปกรณ์ป้องกันอันตราย]]></category>
		<category><![CDATA[เกมการศึกษา]]></category>
		<category><![CDATA[เสื้อกั๊กสะท้อนแสง]]></category>
		<category><![CDATA[แบบทดสอบออนไลน์]]></category>
		<category><![CDATA[แบบฝึกหัดเทคโนโลยี]]></category>
		<category><![CDATA[แว่นตานิรภัย]]></category>
		<guid isPermaLink="false">https://www.kroochut.com/?p=659</guid>

					<description><![CDATA[<p>แบบฝึกหัดอุปกรณ์ป้องกันอันตราย &#8211; เทคโนโลยี ม.3 🛡️ แบบฝึกหัดอุปกรณ์ป้องกันอันตราย เทคโนโลยี (การออกแบบและเทคโนโลยี) &#8211; ชั้นมัธยมศึกษาปีที่ 3 📝 กรอกข้อมูลนักเรียน 👤 ชื่อ-นามสกุล: 🎓 ชั้น: 🔢 เลขที่: 🚀 เริ่มทำแบบฝึกหัด คะแนน: 0/8 คำถามที่ 1 จับคู่อุปกรณ์ป้องกันกับหน้าที่ที่ถูกต้อง 🔧 อุปกรณ์ป้องกัน 📋 หน้าที่ของอุปกรณ์ ✅ ตรวจคำตอบ ➡️ ข้อถัดไป 🎉 เสร็จสิ้นแบบฝึกหัด! 🔄 เริ่มใหม่</p>
<p>The post <a href="https://www.kroochut.com/personal-protective-equipment/">🛡️ แบบฝึกหัดอุปกรณ์ป้องกันอันตราย ม.3 วิชาเทคโนโลยี (การออกแบบและเทคโนโลยี)</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" width="1015" height="1024" src="https://www.kroochut.com/wp-content/uploads/2025/05/1111-1015x1024-1.png" alt="" class="wp-image-660" style="width:auto;height:600px" srcset="https://www.kroochut.com/wp-content/uploads/2025/05/1111-1015x1024-1.png 1015w, https://www.kroochut.com/wp-content/uploads/2025/05/1111-1015x1024-1-297x300.png 297w, https://www.kroochut.com/wp-content/uploads/2025/05/1111-1015x1024-1-150x150.png 150w, https://www.kroochut.com/wp-content/uploads/2025/05/1111-1015x1024-1-768x775.png 768w" sizes="(max-width: 1015px) 100vw, 1015px" /></figure>



<!DOCTYPE html>
<html lang="th">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="แบบฝึกหัดลากวางอุปกรณ์ป้องกันอันตรายในการทำงาน สำหรับนักเรียน ม.3 วิชาเทคโนโลยี มีระบบสุ่มคำถาม ตรวจคำตอบทันที และบันทึกคะแนน เรียนรู้หมวกนิรภัย แว่นตา รองเท้า ถุงมือ และอุปกรณ์ป้องกันอื่นๆ">
    <meta name="keywords" content="อุปกรณ์ป้องกันอันตราย, แบบฝึกหัดเทคโนโลยี, ม.3, มัธยมศึกษาปีที่ 3, หมวกนิรภัย, แว่นตานิรภัย, รองเท้านิรภัย, ที่อุดหู, เสื้อกั๊กสะท้อนแสง, ถุงมือนิรภัย, หน้ากากกันฝุ่น, อุปกรณ์ป้องกันลำตัว, ลากวาง, drag and drop, เกมการศึกษา, แบบทดสอบออนไลน์, ความปลอดภัยในการทำงาน, การออกแบบและเทคโนโลยี, interactive quiz, educational game, safety equipment, วิชาเทคโนโลยี, ครูเทคโนโลยี, สื่อการเรียนการสอน, นักเรียนมัธยมต้น, workplace safety, PPE equipment, personal protective equipment, สื่อดิจิทัล, e-learning, gamification, ระบบสุ่มคำถาม, ตรวจคำตอบทันที, บันทึกคะแนน, แบบประเมิน, assessment tool">
    <meta name="author" content="ครูเทคโนโลยี">
    <title>แบบฝึกหัดอุปกรณ์ป้องกันอันตราย &#8211; เทคโนโลยี ม.3</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Sarabun', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            overflow: hidden;
        }

        .header {
            background: linear-gradient(135deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 30px;
            text-align: center;
        }

        .header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .header p {
            font-size: 1.2em;
            opacity: 0.9;
        }

        .student-form {
            padding: 30px;
            background: #f8f9fa;
            border-bottom: 3px solid #e9ecef;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            font-weight: bold;
            color: #333;
            margin-bottom: 8px;
            font-size: 1.1em;
        }

        .form-group input {
            padding: 12px 15px;
            border: 2px solid #ddd;
            border-radius: 10px;
            font-size: 1em;
            transition: all 0.3s ease;
        }

        .form-group input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
        }

        .start-btn {
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            border: none;
            padding: 15px 40px;
            font-size: 1.2em;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .start-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        }

        .start-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .game-area {
            padding: 40px;
            display: none;
        }

        .score-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding: 20px;
            background: linear-gradient(135deg, #74b9ff, #0984e3);
            color: white;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .student-info {
            font-size: 1.1em;
        }

        .score {
            font-size: 1.5em;
            font-weight: bold;
        }

        .question-container {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 15px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .question-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .question-number {
            background: #667eea;
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            display: inline-block;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .question-text {
            font-size: 1.4em;
            color: #333;
            font-weight: bold;
        }

        .drag-drop-area {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-top: 30px;
        }

        .items-container, .targets-container {
            min-height: 400px;
        }

        .items-container h3, .targets-container h3 {
            text-align: center;
            color: #333;
            margin-bottom: 20px;
            font-size: 1.3em;
            padding: 15px;
            background: linear-gradient(135deg, #fdcb6e, #e17055);
            color: white;
            border-radius: 10px;
        }

        .draggable-item {
            background: linear-gradient(135deg, #74b9ff, #0984e3);
            color: white;
            padding: 15px 20px;
            margin: 10px 0;
            border-radius: 12px;
            cursor: grab;
            transition: all 0.3s ease;
            font-size: 1.1em;
            font-weight: 500;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .draggable-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }

        .draggable-item:active {
            cursor: grabbing;
            transform: scale(0.95);
        }

        .drop-zone {
            border: 3px dashed #ddd;
            border-radius: 12px;
            padding: 20px;
            margin: 10px 0;
            min-height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-size: 1.1em;
            color: #666;
            position: relative;
        }

        .drop-zone.drag-over {
            border-color: #667eea;
            background-color: rgba(102, 126, 234, 0.1);
            transform: scale(1.02);
        }

        .drop-zone.filled {
            background: linear-gradient(135deg, #00b894, #00a085);
            color: white;
            border-color: #00b894;
        }

        .drop-zone.incorrect {
            background: linear-gradient(135deg, #e17055, #d63031);
            color: white;
            border-color: #d63031;
        }

        .check-btn, .next-btn, .restart-btn {
            background: linear-gradient(135deg, #fd79a8, #e84393);
            color: white;
            border: none;
            padding: 15px 30px;
            font-size: 1.2em;
            border-radius: 25px;
            cursor: pointer;
            margin: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .check-btn:hover, .next-btn:hover, .restart-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        }

        .controls {
            text-align: center;
            margin-top: 30px;
        }

        .result-summary {
            display: none;
            background: linear-gradient(135deg, #00b894, #00a085);
            color: white;
            padding: 40px;
            border-radius: 15px;
            text-align: center;
            margin-top: 30px;
        }

        .result-summary h2 {
            font-size: 2.5em;
            margin-bottom: 20px;
        }

        .final-score {
            font-size: 3em;
            font-weight: bold;
            margin: 20px 0;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .feedback {
            padding: 20px;
            margin: 20px 0;
            border-radius: 10px;
            font-size: 1.2em;
            text-align: center;
            animation: fadeIn 0.5s ease;
        }

        .feedback.correct {
            background: linear-gradient(135deg, #00b894, #00a085);
            color: white;
        }

        .feedback.incorrect {
            background: linear-gradient(135deg, #e17055, #d63031);
            color: white;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: #e9ecef;
            border-radius: 4px;
            margin: 20px 0;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(135deg, #74b9ff, #0984e3);
            transition: width 0.3s ease;
            border-radius: 4px;
        }

        @media (max-width: 768px) {
            .drag-drop-area {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }
            
            .header h1 {
                font-size: 2em;
            }
            
            .score-info {
                flex-direction: column;
                gap: 10px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>🛡️ แบบฝึกหัดอุปกรณ์ป้องกันอันตราย</h1>
            <p>เทคโนโลยี (การออกแบบและเทคโนโลยี) &#8211; ชั้นมัธยมศึกษาปีที่ 3</p>
        </div>

        <div class="student-form" id="studentForm">
            <h2 style="text-align: center; margin-bottom: 20px; color: #333;">📝 กรอกข้อมูลนักเรียน</h2>
            <div class="form-row">
                <div class="form-group">
                    <label>👤 ชื่อ-นามสกุล:</label>
                    <input type="text" id="studentName" placeholder="กรอกชื่อ-นามสกุล" required>
                </div>
                <div class="form-group">
                    <label>🎓 ชั้น:</label>
                    <input type="text" id="studentClass" placeholder="เช่น ม.3/1" required>
                </div>
                <div class="form-group">
                    <label>🔢 เลขที่:</label>
                    <input type="number" id="studentNumber" placeholder="เลขที่" min="1" required>
                </div>
            </div>
            <div style="text-align: center;">
                <button class="start-btn" onclick="startQuiz()">🚀 เริ่มทำแบบฝึกหัด</button>
            </div>
        </div>

        <div class="game-area" id="gameArea">
            <div class="score-info">
                <div class="student-info" id="studentInfo"></div>
                <div class="score">คะแนน: <span id="currentScore">0</span>/<span id="totalQuestions">8</span></div>
            </div>

            <div class="progress-bar">
                <div class="progress-fill" id="progressFill" style="width: 0%"></div>
            </div>

            <div class="question-container" id="questionContainer">
                <div class="question-header">
                    <div class="question-number" id="questionNumber">คำถามที่ 1</div>
                    <div class="question-text" id="questionText">จับคู่อุปกรณ์ป้องกันกับหน้าที่ที่ถูกต้อง</div>
                </div>

                <div class="drag-drop-area">
                    <div class="items-container">
                        <h3>🔧 อุปกรณ์ป้องกัน</h3>
                        <div id="draggableItems"></div>
                    </div>
                    <div class="targets-container">
                        <h3>📋 หน้าที่ของอุปกรณ์</h3>
                        <div id="dropTargets"></div>
                    </div>
                </div>

                <div class="controls">
                    <button class="check-btn" id="checkBtn" onclick="checkAnswer()">✅ ตรวจคำตอบ</button>
                    <button class="next-btn" id="nextBtn" onclick="nextQuestion()" style="display: none;">➡️ ข้อถัดไป</button>
                </div>

                <div id="feedback"></div>
            </div>

            <div class="result-summary" id="resultSummary">
                <h2>🎉 เสร็จสิ้นแบบฝึกหัด!</h2>
                <div class="final-score" id="finalScore"></div>
                <div id="finalStudentInfo"></div>
                <div id="finalFeedback"></div>
                <button class="restart-btn" onclick="restartQuiz()">🔄 เริ่มใหม่</button>
            </div>
        </div>
    </div>

    <script>
        const safetyEquipment = {
            '🪖 หมวกนิรภัย': 'ป้องกันศีรษะจากสิ่งของตกหล่น การกระแทก และไฟฟ้าช็อต',
            '🥽 แว่นตานิรภัย': 'ป้องกันดวงตาจากฝุ่น สารเคมี แสงจ้า และเศษวัสดุ',
            '👢 รองเท้านิรภัย': 'ป้องกันเท้าจากการทิ่มแทง สิ่งของหนัก และสารเคมี',
            '🔇 ที่อุดหู': 'ป้องกันหูจากเสียงดังเกินไป ลดการสูญเสียการได้ยิน',
            '🦺 เสื้อกั๊กสะท้อนแสง': 'เพิ่มการมองเห็นในที่มืด ป้องกันอุบัติเหตุ',
            '🧤 ถุงมือนิรภัย': 'ป้องกันมือจากสารเคมี ความร้อน และวัตถุมีคม',
            '😷 หน้ากากกันฝุ่น': 'ป้องกันระบบหายใจจากฝุ่น ควัน และอนุภาคอันตราย',
            '🛡️ อุปกรณ์ป้องกันลำตัว': 'ป้องกันลำตัวจากสารเคมี ความร้อน และการกระแทก'
        };

        let currentQuestion = 0;
        let score = 0;
        let questions = [];
        let studentData = {};
        let answeredQuestions = [];

        function shuffleArray(array) {
            const newArray = [...array];
            for (let i = newArray.length - 1; i > 0; i--) {
                const j = Math.floor(Math.random() * (i + 1));
                [newArray[i], newArray[j]] = [newArray[j], newArray[i]];
            }
            return newArray;
        }

        function generateQuestions() {
            const equipmentList = Object.keys(safetyEquipment);
            questions = shuffleArray(equipmentList).map(equipment => ({
                equipment: equipment,
                function: safetyEquipment[equipment],
                answered: false
            }));
        }

        function startQuiz() {
            const name = document.getElementById('studentName').value.trim();
            const studentClass = document.getElementById('studentClass').value.trim();
            const number = document.getElementById('studentNumber').value.trim();

            if (!name || !studentClass || !number) {
                alert('⚠️ กรุณากรอกข้อมูลให้ครบถ้วน');
                return;
            }

            studentData = { name, class: studentClass, number };
            
            document.getElementById('studentForm').style.display = 'none';
            document.getElementById('gameArea').style.display = 'block';
            
            document.getElementById('studentInfo').textContent = 
                `👤 ${studentData.name} | 🎓 ${studentData.class} | 🔢 เลขที่ ${studentData.number}`;
            
            generateQuestions();
            currentQuestion = 0;
            score = 0;
            answeredQuestions = [];
            
            document.getElementById('totalQuestions').textContent = questions.length;
            showQuestion();
        }

        function showQuestion() {
            if (currentQuestion >= questions.length) {
                showResult();
                return;
            }

            const question = questions[currentQuestion];
            document.getElementById('questionNumber').textContent = `คำถามที่ ${currentQuestion + 1}`;
            
            // Update progress
            const progress = ((currentQuestion) / questions.length) * 100;
            document.getElementById('progressFill').style.width = progress + '%';

            // Create draggable item
            const itemsContainer = document.getElementById('draggableItems');
            itemsContainer.innerHTML = `
                <div class="draggable-item" draggable="true" data-equipment="${question.equipment}">
                    ${question.equipment}
                </div>
            `;

            // Create drop targets with shuffled options
            const allFunctions = Object.values(safetyEquipment);
            const shuffledFunctions = shuffleArray(allFunctions);
            
            const targetsContainer = document.getElementById('dropTargets');
            targetsContainer.innerHTML = shuffledFunctions.map(func => `
                <div class="drop-zone" data-function="${func}">
                    ${func}
                </div>
            `).join('');

            // Add drag and drop event listeners
            addDragDropListeners();
            
            // Reset buttons and feedback
            document.getElementById('checkBtn').style.display = 'inline-block';
            document.getElementById('nextBtn').style.display = 'none';
            document.getElementById('feedback').innerHTML = '';
            
            // Clear any previous styling
            document.querySelectorAll('.drop-zone').forEach(zone => {
                zone.classList.remove('filled', 'incorrect');
            });
        }

        function addDragDropListeners() {
            const draggableItems = document.querySelectorAll('.draggable-item');
            const dropZones = document.querySelectorAll('.drop-zone');

            draggableItems.forEach(item => {
                item.addEventListener('dragstart', handleDragStart);
                item.addEventListener('dragend', handleDragEnd);
            });

            dropZones.forEach(zone => {
                zone.addEventListener('dragover', handleDragOver);
                zone.addEventListener('drop', handleDrop);
                zone.addEventListener('dragenter', handleDragEnter);
                zone.addEventListener('dragleave', handleDragLeave);
            });
        }

        function handleDragStart(e) {
            e.dataTransfer.setData('text/plain', e.target.dataset.equipment);
            e.target.style.opacity = '0.5';
        }

        function handleDragEnd(e) {
            e.target.style.opacity = '1';
        }

        function handleDragOver(e) {
            e.preventDefault();
        }

        function handleDragEnter(e) {
            e.preventDefault();
            e.target.classList.add('drag-over');
        }

        function handleDragLeave(e) {
            e.target.classList.remove('drag-over');
        }

        function handleDrop(e) {
            e.preventDefault();
            e.target.classList.remove('drag-over');
            
            const equipment = e.dataTransfer.getData('text/plain');
            const dropZone = e.target;
            
            // Clear previous drops
            document.querySelectorAll('.drop-zone').forEach(zone => {
                if (zone.classList.contains('filled')) {
                    zone.classList.remove('filled');
                    zone.innerHTML = zone.dataset.function;
                }
            });
            
            // Add item to drop zone
            dropZone.classList.add('filled');
            dropZone.innerHTML = `
                <div style="display: flex; align-items: center; gap: 10px;">
                    ${equipment} ➡️ ${dropZone.dataset.function}
                </div>
            `;
            
            // Hide draggable item
            document.querySelector(`[data-equipment="${equipment}"]`).style.display = 'none';
        }

        function checkAnswer() {
            const filledZone = document.querySelector('.drop-zone.filled');
            if (!filledZone) {
                alert('⚠️ กรุณาลากอุปกรณ์ไปวางในช่องที่เหมาะสม');
                return;
            }

            const question = questions[currentQuestion];
            const selectedFunction = filledZone.dataset.function;
            const correctFunction = question.function;
            
            const isCorrect = selectedFunction === correctFunction;
            
            if (isCorrect) {
                score++;
                filledZone.classList.add('filled');
                showFeedback('correct', '✅ ถูกต้อง! เยี่ยมมาก!');
            } else {
                filledZone.classList.remove('filled');
                filledZone.classList.add('incorrect');
                showFeedback('incorrect', `❌ ไม่ถูกต้อง คำตอบที่ถูกคือ: ${correctFunction}`);
            }
            
            // Update score display
            document.getElementById('currentScore').textContent = score;
            
            // Record answer
            answeredQuestions.push({
                question: question.equipment,
                correct: isCorrect,
                userAnswer: selectedFunction,
                correctAnswer: correctFunction
            });
            
            // Show next button
            document.getElementById('checkBtn').style.display = 'none';
            document.getElementById('nextBtn').style.display = 'inline-block';
        }

        function showFeedback(type, message) {
            const feedback = document.getElementById('feedback');
            feedback.innerHTML = `<div class="feedback ${type}">${message}</div>`;
        }

        function nextQuestion() {
            currentQuestion++;
            showQuestion();
        }

        function showResult() {
            document.getElementById('questionContainer').style.display = 'none';
            document.getElementById('resultSummary').style.display = 'block';
            
            const percentage = Math.round((score / questions.length) * 100);
            document.getElementById('finalScore').textContent = `${score}/${questions.length} (${percentage}%)`;
            
            document.getElementById('finalStudentInfo').innerHTML = `
                <div style="font-size: 1.3em; margin: 20px 0;">
                    <div>👤 ชื่อ: ${studentData.name}</div>
                    <div>🎓 ชั้น: ${studentData.class}</div>
                    <div>🔢 เลขที่: ${studentData.number}</div>
                </div>
            `;
            
            let feedbackMessage = '';
            if (percentage >= 80) {
                feedbackMessage = '🌟 ยอดเยี่ยม! คุณมีความรู้เรื่องอุปกรณ์ป้องกันอันตรายเป็นอย่างดี';
            } else if (percentage >= 60) {
                feedbackMessage = '👍 ดีมาก! แต่ควรศึกษาเพิ่มเติมในส่วนที่ยังไม่แน่ใจ';
            } else {
                feedbackMessage = '📚 ควรศึกษาเพิ่มเติมเรื่องอุปกรณ์ป้องกันอันตรายให้มากขึ้น';
            }
            
            document.getElementById('finalFeedback').innerHTML = `
                <div style="font-size: 1.2em; margin: 20px 0; padding: 20px; background: rgba(255,255,255,0.2); border-radius: 10px;">
                    ${feedbackMessage}
                </div>
            `;

            // Update progress to 100%
            document.getElementById('progressFill').style.width = '100%';
        }

        function restartQuiz() {
            document.getElementById('resultSummary').style.display = 'none';
            document.getElementById('questionContainer').style.display = 'block';
            document.getElementById('gameArea').style.display = 'none';
            document.getElementById('studentForm').style.display = 'block';
            
            // Reset form
            document.getElementById('studentName').value = '';
            document.getElementById('studentClass').value = '';
            document.getElementById('studentNumber').value = '';
            
            // Reset variables
            currentQuestion = 0;
            score = 0;
            questions = [];
            answeredQuestions = [];
            studentData = {};
        }

        // Initialize
        window.addEventListener('load', () => {
            // Add some initial animation
            document.querySelector('.container').style.animation = 'fadeIn 0.8s ease';
        });
    </script>
</body>
</html>
<p>The post <a href="https://www.kroochut.com/personal-protective-equipment/">🛡️ แบบฝึกหัดอุปกรณ์ป้องกันอันตราย ม.3 วิชาเทคโนโลยี (การออกแบบและเทคโนโลยี)</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
