<?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>Uncategorized Archives - ครูชัชดอทคอม</title>
	<atom:link href="https://www.kroochut.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kroochut.com/category/uncategorized/</link>
	<description>เว็บไซต์เพื่อการเรียนรู้ของทุกคน</description>
	<lastBuildDate>Thu, 05 Jun 2025 13:14:22 +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>Uncategorized Archives - ครูชัชดอทคอม</title>
	<link>https://www.kroochut.com/category/uncategorized/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>💰 แบบฝึกหัดเติมคำ: วัยรุ่นพันล้าน 📚</title>
		<link>https://www.kroochut.com/top-secret/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 30 May 2025 04:44:02 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></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>
		<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=669</guid>

					<description><![CDATA[<p>แบบฝึกหัดหลังชมภาพยนต์เรื่อง ท็อป ซีเคร็ต วัยรุ่นพันล้าน Top Secret วิชาเพิ่มเติมอาชีพ E-Commerce เพื่อวิเคราะห์ด้านธุรกิจ แบบฝึกหัด: วัยรุ่นพันล้าน 💰 แบบฝึกหัดเติมคำ: วัยรุ่นพันล้าน 📚 🌟 ทดสอบความจำเรื่องราวของเศรษฐีน้อย 🌟 👤 ข้อมูลนักเรียน 📝ชื่อ: 🏫ชั้น: 🔢เลขที่: ❓ คำถาม 🍃1. ธุรกิจหลักที่ตัวเอกในเรื่องทำคือการขาย ____________. 👦2. ตัวเอกมีชื่อเล่นว่า ____________. 🏷️3. แบรนด์สินค้าที่ตัวเอกสร้างคือ ____________. 🎮4. ก่อนทำธุรกิจจริงจัง ตัวเอกเคยชอบเล่น ____________ ออนไลน์. 🧠5. ตัวเอกใช้วิธีการเรียนรู้จาก ____________ แทนที่จะเรียนในห้องเรียนเพียงอย่างเดียว. 💸6. ปัญหาสำคัญอย่างหนึ่งที่ต้องเจอคือการไม่มี ____________ ในการเริ่มต้นธุรกิจ. 🏪7. ตัวเอกไปเสนอสาหร่ายทอดให้กับ ____________. 💪8. ทักษะสำคัญที่ทำให้ประสบความสำเร็จคือความ ____________ และไม่ยอมแพ้. 🥇9. สินค้าที่ขายดีมากของแบรนด์เถ้าแก่น้อยคือ ____________. 👶10. ตัวเอกกลายเป็นเศรษฐีตั้งแต่อายุยัง ____________. 🚀 ส่งคำตอบ 🎉 ยินดีด้วย! 🎉 คุณทำได้ดีมาก!</p>
<p>The post <a href="https://www.kroochut.com/top-secret/">💰 แบบฝึกหัดเติมคำ: วัยรุ่นพันล้าน 📚</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">แบบฝึกหัดหลังชมภาพยนต์เรื่อง ท็อป ซีเคร็ต วัยรุ่นพันล้าน Top Secret</h2>



<p>วิชาเพิ่มเติมอาชีพ E-Commerce เพื่อวิเคราะห์ด้านธุรกิจ <br></p>



<figure class="wp-block-image aligncenter size-large is-resized"><img fetchpriority="high" decoding="async" width="717" height="1024" src="https://www.kroochut.com/wp-content/uploads/2025/05/651fdc980563f8.98253360-717x1024.jpg" alt="" class="wp-image-670" style="width:500px" srcset="https://www.kroochut.com/wp-content/uploads/2025/05/651fdc980563f8.98253360-717x1024.jpg 717w, https://www.kroochut.com/wp-content/uploads/2025/05/651fdc980563f8.98253360-210x300.jpg 210w, https://www.kroochut.com/wp-content/uploads/2025/05/651fdc980563f8.98253360-768x1097.jpg 768w, https://www.kroochut.com/wp-content/uploads/2025/05/651fdc980563f8.98253360.jpg 960w" sizes="(max-width: 717px) 100vw, 717px" /></figure>



<!DOCTYPE html>
<html lang="th">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>แบบฝึกหัด: วัยรุ่นพันล้าน</title>
  <style>
    body {
      font-family: 'Tahoma', sans-serif;
      margin: 20px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      min-height: 100vh;
      color: #333;
    }
    .container {
      max-width: 800px;
      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(45deg, #ff6b6b, #ffa500);
      padding: 30px;
      text-align: center;
      color: white;
    }
    .header h1 {
      margin: 0;
      font-size: 2.5em;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    .header .subtitle {
      font-size: 1.2em;
      margin-top: 10px;
      opacity: 0.9;
    }
    .content {
      padding: 30px;
    }
    h2 {
      color: #333;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.5em;
      margin-bottom: 20px;
    }
    .info {
      background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
      padding: 20px;
      border-radius: 15px;
      margin-bottom: 30px;
    }
    .info input {
      width: 250px;
      margin-bottom: 15px;
      padding: 10px;
      border: 2px solid #ddd;
      border-radius: 10px;
      font-size: 16px;
      transition: all 0.3s ease;
    }
    .info input:focus {
      border-color: #667eea;
      box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
      outline: none;
    }
    .info label {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: bold;
      margin-bottom: 10px;
    }
    .question {
      margin: 20px 0;
      padding: 20px;
      background: #f8f9ff;
      border-radius: 15px;
      border-left: 5px solid #667eea;
      transition: transform 0.2s ease;
    }
    .question:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .question-number {
      font-size: 1.5em;
      color: #667eea;
      font-weight: bold;
    }
    input[type="text"] {
      width: 350px;
      padding: 12px;
      border: 2px solid #ddd;
      border-radius: 10px;
      font-size: 16px;
      margin-top: 10px;
      transition: all 0.3s ease;
    }
    input[type="text"]:focus {
      border-color: #667eea;
      box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
      outline: none;
    }
    button {
      background: linear-gradient(45deg, #667eea, #764ba2);
      color: white;
      border: none;
      padding: 15px 30px;
      font-size: 18px;
      border-radius: 25px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
      margin-top: 20px;
    }
    button:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }
    button:active {
      transform: translateY(0);
    }
    #score {
      font-size: 24px;
      font-weight: bold;
      color: #28a745;
      text-align: center;
      padding: 20px;
      background: #f8f9fa;
      border-radius: 15px;
      margin-top: 20px;
      border: 3px solid #28a745;
    }
    .hero-image {
      width: 100%;
      height: 200px;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect width="400" height="200" fill="%23667eea"/><text x="200" y="100" text-anchor="middle" fill="white" font-size="60" font-family="Arial">💰📚</text><text x="200" y="140" text-anchor="middle" fill="white" font-size="20" font-family="Arial">Teen Millionaire Quiz</text></svg>') center/cover;
      border-radius: 15px;
      margin-bottom: 20px;
    }
    .icon {
      font-size: 1.5em;
    }
    .question-icon {
      font-size: 1.2em;
      margin-right: 10px;
    }
    .celebration {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.8);
      z-index: 1000;
      justify-content: center;
      align-items: center;
    }
    .celebration-content {
      background: white;
      padding: 40px;
      border-radius: 20px;
      text-align: center;
      font-size: 2em;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="header">
      <h1>💰 แบบฝึกหัดเติมคำ: วัยรุ่นพันล้าน 📚</h1>
      <div class="subtitle">🌟 ทดสอบความจำเรื่องราวของเศรษฐีน้อย 🌟</div>
    </div>
    
    <div class="content">
      <div class="hero-image"></div>
      
      <h2><span class="icon">👤</span> ข้อมูลนักเรียน</h2>
      <div class="info">
        <label><span class="icon">📝</span>ชื่อ: <input type="text" id="studentName" placeholder="กรอกชื่อของคุณ"></label><br>
        <label><span class="icon">🏫</span>ชั้น: <input type="text" id="studentClass" placeholder="เช่น ม.3/1"></label><br>
        <label><span class="icon">🔢</span>เลขที่: <input type="text" id="studentNumber" placeholder="เลขที่ในชั้น"></label>
      </div>
      
      <h2><span class="icon">❓</span> คำถาม</h2>
      <form id="quizForm">
        <div class="question">
          <span class="question-icon">🍃</span><span class="question-number">1.</span> ธุรกิจหลักที่ตัวเอกในเรื่องทำคือการขาย ____________.
          <br><input type="text" name="q1" placeholder="กรอกคำตอบ">
        </div>
        <div class="question">
          <span class="question-icon">👦</span><span class="question-number">2.</span> ตัวเอกมีชื่อเล่นว่า ____________.
          <br><input type="text" name="q2" placeholder="กรอกคำตอบ">
        </div>
        <div class="question">
          <span class="question-icon">🏷️</span><span class="question-number">3.</span> แบรนด์สินค้าที่ตัวเอกสร้างคือ ____________.
          <br><input type="text" name="q3" placeholder="กรอกคำตอบ">
        </div>
        <div class="question">
          <span class="question-icon">🎮</span><span class="question-number">4.</span> ก่อนทำธุรกิจจริงจัง ตัวเอกเคยชอบเล่น ____________ ออนไลน์.
          <br><input type="text" name="q4" placeholder="กรอกคำตอบ">
        </div>
        <div class="question">
          <span class="question-icon">🧠</span><span class="question-number">5.</span> ตัวเอกใช้วิธีการเรียนรู้จาก ____________ แทนที่จะเรียนในห้องเรียนเพียงอย่างเดียว.
          <br><input type="text" name="q5" placeholder="กรอกคำตอบ">
        </div>
        <div class="question">
          <span class="question-icon">💸</span><span class="question-number">6.</span> ปัญหาสำคัญอย่างหนึ่งที่ต้องเจอคือการไม่มี ____________ ในการเริ่มต้นธุรกิจ.
          <br><input type="text" name="q6" placeholder="กรอกคำตอบ">
        </div>
        <div class="question">
          <span class="question-icon">🏪</span><span class="question-number">7.</span> ตัวเอกไปเสนอสาหร่ายทอดให้กับ ____________.
          <br><input type="text" name="q7" placeholder="กรอกคำตอบ">
        </div>
        <div class="question">
          <span class="question-icon">💪</span><span class="question-number">8.</span> ทักษะสำคัญที่ทำให้ประสบความสำเร็จคือความ ____________ และไม่ยอมแพ้.
          <br><input type="text" name="q8" placeholder="กรอกคำตอบ">
        </div>
        <div class="question">
          <span class="question-icon">🥇</span><span class="question-number">9.</span> สินค้าที่ขายดีมากของแบรนด์เถ้าแก่น้อยคือ ____________.
          <br><input type="text" name="q9" placeholder="กรอกคำตอบ">
        </div>
        <div class="question">
          <span class="question-icon">👶</span><span class="question-number">10.</span> ตัวเอกกลายเป็นเศรษฐีตั้งแต่อายุยัง ____________.
          <br><input type="text" name="q10" placeholder="กรอกคำตอบ">
        </div>
        <button type="button" onclick="checkAnswers()">🚀 ส่งคำตอบ</button>
      </form>
      <div id="score"></div>
    </div>
  </div>
  
  <div class="celebration" id="celebration">
    <div class="celebration-content">
      <div>🎉 ยินดีด้วย! 🎉</div>
      <div>คุณทำได้ดีมาก!</div>
    </div>
  </div>

  <script>
    // ⚠️ ใส่ URL ของ Google Apps Script ที่นี่
    const SCRIPT_URL = 'YOUR_GOOGLE_APPS_SCRIPT_URL_HERE';
    
    const answers = {
      q1: "สาหร่ายทอด",
      q2: "ต๊อบ",
      q3: "เถ้าแก่น้อย",
      q4: "เกม",
      q5: "ประสบการณ์",
      q6: "เงินทุน",
      q7: "เซเว่น",
      q8: "พยายาม",
      q9: "สาหร่ายทอด",
      q10: "น้อย"
    };
    
    function normalize(text) {
      return text.trim().toLowerCase();
    }
    
    async function saveToGoogleSheets(studentData, userAnswers, score) {
      try {
        const data = {
          name: studentData.name,
          class: studentData.class,
          number: studentData.number,
          score: score,
          answers: userAnswers
        };
        
        const response = await fetch(SCRIPT_URL, {
          method: 'POST',
          headers: {
            'Content-Type': 'application/json',
          },
          body: JSON.stringify(data)
        });
        
        const result = await response.json();
        
        if (result.status === 'success') {
          console.log('✅ บันทึกข้อมูลเรียบร้อย');
          return true;
        } else {
          console.error('❌ เกิดข้อผิดพลาด:', result.message);
          return false;
        }
      } catch (error) {
        console.error('❌ เกิดข้อผิดพลาดในการส่งข้อมูล:', error);
        return false;
      }
    }
    
    async function checkAnswers() {
      const form = document.forms["quizForm"];
      let score = 0;
      let total = 10;
      const userAnswers = {};
      
      // ตรวจคำตอบและเก็บข้อมูล
      for (let key in answers) {
        const userAnswer = normalize(form[key].value);
        const correctAnswer = normalize(answers[key]);
        userAnswers[key] = form[key].value.trim();
        
        if (userAnswer === correctAnswer) {
          score++;
        }
      }
      
      const name = document.getElementById("studentName").value.trim();
      const studentClass = document.getElementById("studentClass").value.trim();
      const studentNumber = document.getElementById("studentNumber").value.trim();
      
      if (!name || !studentClass || !studentNumber) {
        alert("⚠️ กรุณากรอกชื่อ ชั้น และเลขที่ให้ครบถ้วน");
        return;
      }
      
      // แสดงสถานะกำลังบันทึก
      const button = document.querySelector('button');
      const originalText = button.innerHTML;
      button.innerHTML = '💾 กำลังบันทึก...';
      button.disabled = true;
      
      // บันทึกข้อมูลลง Google Sheets
      const studentData = { name, class: studentClass, number: studentNumber };
      const saved = await saveToGoogleSheets(studentData, userAnswers, score);
      
      // คืนค่าปุ่ม
      button.innerHTML = originalText;
      button.disabled = false;
      
      let emoji = "🎯";
      let message = "";
      let saveStatus = saved ? "✅ บันทึกแล้ว" : "⚠️ บันทึกไม่สำเร็จ";
      
      if (score === 10) {
        emoji = "🏆";
        message = "เยี่ยมมาก! คะแนนเต็ม!";
        document.getElementById("celebration").style.display = "flex";
        setTimeout(() => {
          document.getElementById("celebration").style.display = "none";
        }, 3000);
      } else if (score >= 8) {
        emoji = "🌟";
        message = "ดีมาก!";
      } else if (score >= 6) {
        emoji = "👍";
        message = "ดี!";
      } else if (score >= 4) {
        emoji = "📖";
        message = "ควรอ่านเพิ่มเติม";
      } else {
        emoji = "💪";
        message = "ลองใหม่อีกครั้ง";
      }
      
      document.getElementById("score").innerHTML =
        `${emoji} <strong>${name}</strong> ชั้น ${studentClass} เลขที่ ${studentNumber} <br> 
        ${message}<br>
        ได้คะแนน <span style="font-size: 2em; color: #667eea;">${score}</span> / ${total}<br>
        <small style="color: #666;">${saveStatus}</small>`;
    }
    
    // Add some interactive effects
    document.querySelectorAll('input[type="text"]').forEach(input => {
      input.addEventListener('focus', function() {
        this.style.transform = 'scale(1.02)';
      });
      
      input.addEventListener('blur', function() {
        this.style.transform = 'scale(1)';
      });
    });
  </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="uncategorized" 
	            data-modified="120"
	            data-created="1748580242"
	            data-title="💰 แบบฝึกหัดเติมคำ: วัยรุ่นพันล้าน 📚" 
	            data-home="https://www.kroochut.com"></div><p>The post <a href="https://www.kroochut.com/top-secret/">💰 แบบฝึกหัดเติมคำ: วัยรุ่นพันล้าน 📚</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>🧪 แบบฝึกหัดคุณสมบัติของวัสดุ ม.3</title>
		<link>https://www.kroochut.com/material-properties-exercises/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 29 May 2025 09:22:19 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://www.kroochut.com/?p=664</guid>

					<description><![CDATA[<p>เกมจับคู่คุณสมบัติของวัสดุ 🎯 เกมจับคู่คุณสมบัติของวัสดุ วิชาเทคโนโลยี (การออกแบบและเทคโนโลยี) &#8211; มัธยมศึกษาปีที่ 3 📝 ข้อมูลนักเรียน ชื่อ-นามสกุล: ชั้น: เลขที่: 🚀 เริ่มเกม คะแนน: 0 ข้อที่ 1 จาก 10 🧱 วัสดุ ⚡ คุณสมบัติ ✅ ตรวจคำตอบ ➡️ ข้อถัดไป 🎉 เกมเสร็จสิ้น! 🔄 เล่นใหม่</p>
<p>The post <a href="https://www.kroochut.com/material-properties-exercises/">🧪 แบบฝึกหัดคุณสมบัติของวัสดุ ม.3</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>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: #333;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            text-align: center;
            background: white;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        }

        .header h1 {
            color: #4a5568;
            margin-bottom: 10px;
        }

        .student-info {
            background: white;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        }

        .form-row {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .form-group {
            flex: 1;
            min-width: 200px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #4a5568;
        }

        .form-group input {
            width: 100%;
            padding: 10px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 16px;
            transition: border-color 0.3s;
        }

        .form-group input:focus {
            outline: none;
            border-color: #667eea;
        }

        .start-btn {
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 25px;
            font-size: 18px;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            margin-top: 10px;
        }

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

        .game-area {
            display: none;
            background: white;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        }

        .game-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e2e8f0;
        }

        .score-display {
            font-size: 18px;
            font-weight: bold;
            color: #667eea;
        }

        .question-counter {
            font-size: 16px;
            color: #4a5568;
        }

        .question-text {
            font-size: 20px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 30px;
            color: #2d3748;
        }

        .drag-drop-area {
            display: flex;
            gap: 30px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .materials-section, .properties-section {
            flex: 1;
            min-width: 300px;
        }

        .section-title {
            text-align: center;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #4a5568;
        }

        .material-item, .property-item {
            background: #f7fafc;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 10px;
            cursor: grab;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .material-item:hover, .property-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .material-item.dragging {
            opacity: 0.5;
            cursor: grabbing;
        }

        .drop-zone {
            min-height: 60px;
            border: 2px dashed #cbd5e0;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #a0aec0;
            font-style: italic;
            transition: all 0.3s;
        }

        .drop-zone.drag-over {
            border-color: #667eea;
            background-color: #f0f4ff;
            color: #667eea;
        }

        .drop-zone.filled {
            border-color: #48bb78;
            background-color: #f0fff4;
            color: #38a169;
        }

        .submit-btn {
            background: linear-gradient(45deg, #48bb78, #38a169);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 20px;
            font-size: 16px;
            cursor: pointer;
            margin: 20px auto;
            display: block;
            transition: all 0.3s;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
        }

        .feedback {
            text-align: center;
            padding: 15px;
            border-radius: 10px;
            margin: 20px 0;
            font-size: 18px;
            font-weight: bold;
        }

        .feedback.correct {
            background: #f0fff4;
            color: #38a169;
            border: 2px solid #68d391;
        }

        .feedback.incorrect {
            background: #fed7d7;
            color: #e53e3e;
            border: 2px solid #fc8181;
        }

        .next-btn {
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 20px;
            font-size: 16px;
            cursor: pointer;
            margin: 10px auto;
            display: block;
            transition: all 0.3s;
        }

        .next-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        .results {
            display: none;
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        }

        .final-score {
            font-size: 48px;
            font-weight: bold;
            color: #667eea;
            margin: 20px 0;
        }

        .student-summary {
            background: #f7fafc;
            border-radius: 10px;
            padding: 20px;
            margin: 20px 0;
        }

        .restart-btn {
            background: linear-gradient(45deg, #ed8936, #dd6b20);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 25px;
            font-size: 18px;
            cursor: pointer;
            margin-top: 20px;
            transition: all 0.3s;
        }

        .restart-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(237, 137, 54, 0.4);
        }

        .icon {
            font-size: 24px;
        }

        .hidden {
            display: none;
        }

        @media (max-width: 768px) {
            .drag-drop-area {
                flex-direction: column;
            }
            
            .form-row {
                flex-direction: column;
            }
            
            .container {
                padding: 10px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>🎯 เกมจับคู่คุณสมบัติของวัสดุ</h1>
            <p>วิชาเทคโนโลยี (การออกแบบและเทคโนโลยี) &#8211; มัธยมศึกษาปีที่ 3</p>
        </div>

        <div class="student-info" id="studentForm">
            <h2>📝 ข้อมูลนักเรียน</h2>
            <div class="form-row">
                <div class="form-group">
                    <label for="studentName">ชื่อ-นามสกุล:</label>
                    <input type="text" id="studentName" placeholder="กรอกชื่อ-นามสกุล" required>
                </div>
                <div class="form-group">
                    <label for="studentClass">ชั้น:</label>
                    <input type="text" id="studentClass" placeholder="เช่น ม.3/1" required>
                </div>
                <div class="form-group">
                    <label for="studentNumber">เลขที่:</label>
                    <input type="number" id="studentNumber" placeholder="เลขที่" min="1" max="50" required>
                </div>
            </div>
            <button class="start-btn" onclick="startGame()">🚀 เริ่มเกม</button>
        </div>

        <div class="game-area" id="gameArea">
            <div class="game-header">
                <div class="score-display">คะแนน: <span id="score">0</span></div>
                <div class="question-counter">ข้อที่ <span id="currentQuestion">1</span> จาก <span id="totalQuestions">10</span></div>
            </div>

            <div class="question-text" id="questionText"></div>

            <div class="drag-drop-area">
                <div class="materials-section">
                    <div class="section-title">🧱 วัสดุ</div>
                    <div id="materialsContainer"></div>
                </div>

                <div class="properties-section">
                    <div class="section-title">⚡ คุณสมบัติ</div>
                    <div id="propertiesContainer"></div>
                </div>
            </div>

            <button class="submit-btn" id="submitBtn" onclick="checkAnswer()">✅ ตรวจคำตอบ</button>
            
            <div class="feedback hidden" id="feedback"></div>
            
            <button class="next-btn hidden" id="nextBtn" onclick="nextQuestion()">➡️ ข้อถัดไป</button>
        </div>

        <div class="results" id="results">
            <h2>🎉 เกมเสร็จสิ้น!</h2>
            <div class="final-score" id="finalScore"></div>
            <div class="student-summary" id="studentSummary"></div>
            <button class="restart-btn" onclick="restartGame()">🔄 เล่นใหม่</button>
        </div>
    </div>

    <script>
        const materials = [
            { name: 'ไม้', icon: '🪵', properties: ['เบา', 'ฉนวนไฟฟ้า', 'แปรรูปง่าย'] },
            { name: 'พลาสติก', icon: '🧴', properties: ['เบา', 'กันน้ำ', 'หล่อแบบได้'] },
            { name: 'ยาง', icon: '🏀', properties: ['ยืดหยุ่น', 'กันน้ำ', 'ฉนวนไฟฟ้า'] },
            { name: 'เหล็ก', icon: '🔧', properties: ['แข็งแรง', 'นำไฟฟ้า', 'ขึ้นสนิม'] },
            { name: 'อลูมิเนียม', icon: '🥫', properties: ['เบา', 'นำไฟฟ้า', 'ไม่ขึ้นสนิม'] },
            { name: 'ทองแดง', icon: '🔴', properties: ['นำไฟฟ้าดี', 'นำความร้อน', 'ดัดงาน'] },
            { name: 'อะคริลิค', icon: '💎', properties: ['ใส', 'เบา', 'แปรรูปง่าย'] },
            { name: 'แก้ว', icon: '🪟', properties: ['ใส', 'แตกง่าย', 'ฉนวนไฟฟ้า'] },
            { name: 'เซรามิก', icon: '🏺', properties: ['ทนความร้อน', 'แข็ง', 'แตกง่าย'] },
            { name: 'สแตนเลส', icon: '🍴', properties: ['ไม่ขึ้นสนิม', 'แข็งแรง', 'ทำความสะอาดง่าย'] },
            { name: 'ท่อ PVC', icon: '🚰', properties: ['เบา', 'กันน้ำ', 'ต่อประกอบง่าย'] },
            { name: 'ไม้อัด', icon: '📦', properties: ['แข็งแรง', 'ราคาถูก', 'แปรรูปง่าย'] },
            { name: 'ซิลิโคน', icon: '🧽', properties: ['ยืดหยุ่น', 'ทนความร้อน', 'กันน้ำ'] },
            { name: 'คาร์บอน', icon: '⚫', properties: ['เบามาก', 'แข็งแรงมาก', 'ราคาแพง'] },
            { name: 'เคฟลาร์', icon: '🛡️', properties: ['แข็งแรงมาก', 'ทนการฉีกขาด', 'กันกระสุน'] },
            { name: 'อัลลอย', icon: '⚙️', properties: ['แข็งแรง', 'ทนทาน', 'ผสมโลหะ'] }
        ];

        let currentQuestionIndex = 0;
        let score = 0;
        let questions = [];
        let studentInfo = {};
        let draggedElement = null;

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

        function generateQuestions() {
            questions = [];
            const shuffledMaterials = shuffleArray(materials);
            
            for (let i = 0; i < Math.min(10, shuffledMaterials.length); i++) {
                const material = shuffledMaterials[i];
                const correctProperty = material.properties[Math.floor(Math.random() * material.properties.length)];
                
                // สร้างตัวเลือกที่ผิด
                const wrongProperties = [];
                const allProperties = [...new Set(materials.flatMap(m => m.properties))];
                const availableWrong = allProperties.filter(p => !material.properties.includes(p));
                
                // เลือกคุณสมบัติที่ผิด 2-3 ข้อ
                const shuffledWrong = shuffleArray(availableWrong);
                wrongProperties.push(...shuffledWrong.slice(0, 2));
                
                // รวมคำตอบที่ถูกและผิด แล้วสุ่มใหม่
                const allOptions = shuffleArray([correctProperty, ...wrongProperties]);
                
                questions.push({
                    material: material,
                    correctProperty: correctProperty,
                    options: allOptions
                });
            }
        }

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

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

            studentInfo = { name, className, number };
            
            document.getElementById('studentForm').style.display = 'none';
            document.getElementById('gameArea').style.display = 'block';
            
            generateQuestions();
            currentQuestionIndex = 0;
            score = 0;
            
            updateDisplay();
            loadQuestion();
        }

        function updateDisplay() {
            document.getElementById('score').textContent = score;
            document.getElementById('currentQuestion').textContent = currentQuestionIndex + 1;
            document.getElementById('totalQuestions').textContent = questions.length;
        }

        function loadQuestion() {
            if (currentQuestionIndex >= questions.length) {
                showResults();
                return;
            }

            const question = questions[currentQuestionIndex];
            document.getElementById('questionText').textContent = 
                `${question.material.icon} วัสดุ "${question.material.name}" มีคุณสมบัติใดต่อไปนี้?`;

            // แสดงวัสดุ
            const materialsContainer = document.getElementById('materialsContainer');
            materialsContainer.innerHTML = `
                <div class="material-item" draggable="true" data-material="${question.material.name}">
                    <span class="icon">${question.material.icon}</span>
                    <span>${question.material.name}</span>
                </div>
            `;

            // แสดงคุณสมบัติ
            const propertiesContainer = document.getElementById('propertiesContainer');
            propertiesContainer.innerHTML = '';
            
            question.options.forEach(property => {
                const dropZone = document.createElement('div');
                dropZone.className = 'drop-zone';
                dropZone.textContent = property;
                dropZone.dataset.property = property;
                propertiesContainer.appendChild(dropZone);
            });

            // เพิ่ม event listeners
            addDragListeners();
            
            // ซ่อนปุ่มและ feedback
            document.getElementById('feedback').classList.add('hidden');
            document.getElementById('nextBtn').classList.add('hidden');
            document.getElementById('submitBtn').style.display = 'block';
        }

        function addDragListeners() {
            const materialItems = document.querySelectorAll('.material-item');
            const dropZones = document.querySelectorAll('.drop-zone');

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

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

        function handleDragStart(e) {
            draggedElement = e.target;
            e.target.classList.add('dragging');
        }

        function handleDragEnd(e) {
            e.target.classList.remove('dragging');
            draggedElement = null;
        }

        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');
            
            if (draggedElement) {
                e.target.classList.add('filled');
                e.target.innerHTML = `
                    <span class="icon">${draggedElement.querySelector('.icon').textContent}</span>
                    <span>${draggedElement.textContent}</span>
                `;
                e.target.dataset.selected = 'true';
                draggedElement.style.display = 'none';
            }
        }

        function checkAnswer() {
            const selectedZone = document.querySelector('.drop-zone.filled');
            if (!selectedZone) {
                alert('กรุณาลากวัสดุไปวางในคุณสมบัติที่คิดว่าถูกต้อง');
                return;
            }

            const question = questions[currentQuestionIndex];
            const selectedProperty = selectedZone.dataset.property;
            const isCorrect = selectedProperty === question.correctProperty;

            const feedback = document.getElementById('feedback');
            feedback.classList.remove('hidden');
            
            if (isCorrect) {
                score += 10;
                feedback.className = 'feedback correct';
                feedback.innerHTML = `🎉 ถูกต้อง! วัสดุ "${question.material.name}" มีคุณสมบัติ "${selectedProperty}"`;
            } else {
                feedback.className = 'feedback incorrect';
                feedback.innerHTML = `❌ ผิด! คำตอบที่ถูกต้องคือ "${question.correctProperty}"<br>
                                   ความรู้เพิ่มเติม: ${question.material.name} มีคุณสมบัติ ${question.material.properties.join(', ')}`;
            }

            document.getElementById('submitBtn').style.display = 'none';
            document.getElementById('nextBtn').classList.remove('hidden');
            updateDisplay();
        }

        function nextQuestion() {
            currentQuestionIndex++;
            loadQuestion();
        }

        function showResults() {
            document.getElementById('gameArea').style.display = 'none';
            document.getElementById('results').style.display = 'block';

            const percentage = Math.round((score / (questions.length * 10)) * 100);
            document.getElementById('finalScore').textContent = `${score}/${questions.length * 10} คะแนน (${percentage}%)`;

            let grade = '';
            if (percentage >= 80) grade = 'เก่งมาก! 🌟';
            else if (percentage >= 70) grade = 'ดีมาก! 👏';
            else if (percentage >= 60) grade = 'ดี! 👍';
            else if (percentage >= 50) grade = 'พอใช้ 😊';
            else grade = 'ต้องทบทวนเพิ่มเติม 📚';

            document.getElementById('studentSummary').innerHTML = `
                <h3>📋 สรุปผลการเรียน</h3>
                <p><strong>ชื่อ:</strong> ${studentInfo.name}</p>
                <p><strong>ชั้น:</strong> ${studentInfo.className}</p>
                <p><strong>เลขที่:</strong> ${studentInfo.number}</p>
                <p><strong>ผลการประเมิน:</strong> ${grade}</p>
                <p><strong>จำนวนข้อที่ถูก:</strong> ${score/10} จาก ${questions.length} ข้อ</p>
            `;
        }

        function restartGame() {
            document.getElementById('results').style.display = 'none';
            document.getElementById('studentForm').style.display = 'block';
            
            // รีเซ็ตฟอร์ม
            document.getElementById('studentName').value = '';
            document.getElementById('studentClass').value = '';
            document.getElementById('studentNumber').value = '';
            
            currentQuestionIndex = 0;
            score = 0;
            questions = [];
            studentInfo = {};
        }

        // เริ่มต้นเกม
        document.addEventListener('DOMContentLoaded', function() {
            console.log('เกมจับคู่คุณสมบัติของวัสดุพร้อมใช้งาน');
        });
    </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="uncategorized" 
	            data-modified="120"
	            data-created="1748510539"
	            data-title="🧪 แบบฝึกหัดคุณสมบัติของวัสดุ ม.3" 
	            data-home="https://www.kroochut.com"></div><p>The post <a href="https://www.kroochut.com/material-properties-exercises/">🧪 แบบฝึกหัดคุณสมบัติของวัสดุ ม.3</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ตอบคำถามชิงรางวัล การประยุกต์ใช้การค้นหาข้อมูล</title>
		<link>https://www.kroochut.com/quizgame1/</link>
					<comments>https://www.kroochut.com/quizgame1/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 24 Jan 2025 07:19:43 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://www.kroochut.com/?p=481</guid>

					<description><![CDATA[<p>The post <a href="https://www.kroochut.com/quizgame1/">ตอบคำถามชิงรางวัล การประยุกต์ใช้การค้นหาข้อมูล</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<iframe style="max-width:100%" src="https://wordwall.net/embed/play/9738/417/883" width="100%" height="900" frameborder="0" allowfullscreen></iframe>
<div class="gsp_post_data" 
	            data-post_type="post" 
	            data-cat="uncategorized" 
	            data-modified="120"
	            data-created="1737703183"
	            data-title="ตอบคำถามชิงรางวัล การประยุกต์ใช้การค้นหาข้อมูล" 
	            data-home="https://www.kroochut.com"></div><p>The post <a href="https://www.kroochut.com/quizgame1/">ตอบคำถามชิงรางวัล การประยุกต์ใช้การค้นหาข้อมูล</a> appeared first on <a href="https://www.kroochut.com">ครูชัชดอทคอม</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.kroochut.com/quizgame1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
