<?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>drag and drop Archives - ครูชัชดอทคอม</title>
	<atom:link href="https://www.kroochut.com/tag/drag-and-drop/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kroochut.com/tag/drag-and-drop/</link>
	<description>เว็บไซต์เพื่อการเรียนรู้ของทุกคน</description>
	<lastBuildDate>Tue, 17 Jun 2025 13:20:15 +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>drag and drop Archives - ครูชัชดอทคอม</title>
	<link>https://www.kroochut.com/tag/drag-and-drop/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<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>
<div id="gsp_data_html" data-g_version="3.20.0" data-w_id="8ee335ae8ad86099f21d5aed437a1c00" data-s_enc="" data-h_enc="" data-hh_enc="" data-lazy_load="1" data-reload_session="0" data-gt-w="gsp_clgtranslate_wrapper" data-vv_index="15" data-ref=""></div>
</body>
</html>



<p></p>
<div class="gsp_post_data" 
	            data-post_type="post" 
	            data-cat="information-technology" 
	            data-modified="120"
	            data-created="1750146612"
	            data-title="บทเรียนออนไลน์สภาพแวดล้อมดิจิทัลและเทรนด์ตลาด" 
	            data-home="https://www.kroochut.com"></div><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>🛡️ แบบฝึกหัดอุปกรณ์ป้องกันอันตราย ม.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>
<div id="gsp_data_html" data-g_version="3.20.0" data-w_id="8ee335ae8ad86099f21d5aed437a1c00" data-s_enc="" data-h_enc="" data-hh_enc="" data-lazy_load="1" data-reload_session="0" data-gt-w="gsp_clgtranslate_wrapper" data-vv_index="15" data-ref=""></div>
</body>
</html>
<div class="gsp_post_data" 
	            data-post_type="post" 
	            data-cat="%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%ad%e0%b8%ad%e0%b8%81%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b9%80%e0%b8%97%e0%b8%84%e0%b9%82%e0%b8%99%e0%b9%82%e0%b8%a5%e0%b8%a2%e0%b8%b5" 
	            data-modified="120"
	            data-created="1748435699"
	            data-title="🛡️ แบบฝึกหัดอุปกรณ์ป้องกันอันตราย ม.3 วิชาเทคโนโลยี (การออกแบบและเทคโนโลยี)" 
	            data-home="https://www.kroochut.com"></div><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>
