leetuan023 commited on
Commit
21102cd
·
verified ·
1 Parent(s): daa86f8

viết nội dung chi tiết Phần 1 chương 1 - Initial Deployment

Browse files
Files changed (2) hide show
  1. index.html +110 -0
  2. prompts.txt +1 -0
index.html CHANGED
@@ -78,6 +78,93 @@
78
  </ul>
79
  </div>
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  <button class="bg-green-600 hover:bg-green-700 text-white font-bold py-3 px-6 rounded-lg shadow transition flex items-center mx-auto md:mx-0">
82
  <i class="fas fa-play-circle mr-2"></i>Bắt đầu học ngay
83
  </button>
@@ -389,6 +476,29 @@
389
  </footer>
390
 
391
  <script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
392
  // Floating menu toggle
393
  document.getElementById('floatingBtn').addEventListener('click', function() {
394
  const menu = document.getElementById('floatingMenu');
 
78
  </ul>
79
  </div>
80
 
81
+ <!-- Chapter Content START -->
82
+ <div class="chapter-content mt-8 hidden" id="chapter1-1">
83
+ <h3 class="text-2xl font-bold mb-4 text-blue-800">Chương 1: Giao dịch Forex là gì?</h3>
84
+
85
+ <div class="mb-6">
86
+ <h4 class="font-bold text-lg mb-2 text-blue-700">1. Khái niệm cơ bản</h4>
87
+ <p class="mb-3">Forex (Foreign Exchange) là thị trường trao đổi ngoại hối lớn nhất thế giới, nơi các đồng tiền được giao dịch theo cặp. Khối lượng giao dịch hàng ngày đạt khoảng 6.6 nghìn tỷ USD (theo báo cáo BIS 2019).</p>
88
+ <p class="mb-3">Ví dụ: Khi bạn đổi USD sang EUR, bạn đang tham gia vào thị trường Forex.</p>
89
+ <img src="https://via.placeholder.com/800x400?text=Forex+Market+Infographic" alt="Thị trường Forex" class="w-full rounded-lg border mb-3">
90
+ </div>
91
+
92
+ <div class="mb-6">
93
+ <h4 class="font-bold text-lg mb-2 text-blue-700">2. Các cặp tiền chính</h4>
94
+ <p class="mb-2">3 loại cặp tiền chính:</p>
95
+ <ul class="list-disc list-inside mb-3 space-y-1">
96
+ <li><strong>Major pairs (Cặp chính):</strong> EUR/USD, USD/JPY, GBP/USD, USD/CHF, AUD/USD, USD/CAD, NZD/USD</li>
97
+ <li><strong>Minor pairs (Cặp phụ):</strong> EUR/GBP, GBP/JPY, AUD/NZD</li>
98
+ <li><strong>Exotic pairs (Cặp ngoại lai):</strong> USD/SGD, EUR/TRY, USD/ZAR</li>
99
+ </ul>
100
+ <div class="bg-green-50 border-l-4 border-green-500 p-3 mb-3">
101
+ <p class="font-semibold text-green-700">Lưu ý:</p>
102
+ <p class="text-sm">Cặp tiền chính có thanh khoản cao nhất và spread thấp nhất nên thường được ưa chuộng bởi trader mới.</p>
103
+ </div>
104
+ </div>
105
+
106
+ <div class="mb-6">
107
+ <h4 class="font-bold text-lg mb-2 text-blue-700">3. Pip và Lot</h4>
108
+ <p class="mb-3">Pip (Percentage in Point) là đơn vị đo lường sự thay đổi giá. Đối với hầu hết các cặp tiền, 1 pip = 0.0001.</p>
109
+ <p class="mb-3">Lot là đơn vị khối lượng giao dịch. Standard lot = 100,000 đơn vị tiền tệ.</p>
110
+
111
+ <div class="overflow-x-auto">
112
+ <table class="min-w-full bg-white border">
113
+ <thead>
114
+ <tr class="bg-gray-100">
115
+ <th class="py-2 px-4 border">Loại Lot</th>
116
+ <th class="py-2 px-4 border">Khối lượng</th>
117
+ <th class="py-2 px-4 border">Giá trị 1 Pip (EUR/USD)</th>
118
+ </tr>
119
+ </thead>
120
+ <tbody>
121
+ <tr class="text-center">
122
+ <td class="py-2 px-4 border">Standard</td>
123
+ <td class="py-2 px-4 border">100,000</td>
124
+ <td class="py-2 px-4 border">$10</td>
125
+ </tr>
126
+ <tr class="text-center bg-gray-50">
127
+ <td class="py-2 px-4 border">Mini</td>
128
+ <td class="py-2 px-4 border">10,000</td>
129
+ <td class="py-2 px-4 border">$1</td>
130
+ </tr>
131
+ <tr class="text-center">
132
+ <td class="py-2 px-4 border">Micro</td>
133
+ <td class="py-2 px-4 border">1,000</td>
134
+ <td class="py-2 px-4 border">$0.1</td>
135
+ </tr>
136
+ </tbody>
137
+ </table>
138
+ </div>
139
+ </div>
140
+
141
+ <div class="mb-6">
142
+ <h4 class="font-bold text-lg mb-2 text-blue-700">4. Spread và Phí giao dịch</h4>
143
+ <div class="flex flex-col md:flex-row gap-4">
144
+ <div class="md:w-1/2">
145
+ <img src="https://via.placeholder.com/400x250?text=Spread+Example" alt="Spread Example" class="w-full rounded-lg border mb-2">
146
+ <p class="text-sm italic text-center">Hình ảnh minh họa Spread trên biểu đồ</p>
147
+ </div>
148
+ <div class="md:w-1/2">
149
+ <p class="mb-2">Spread là chênh lệch giữa giá Bid (bán) và Ask (mua). Đây là cách sàn forex kiếm tiền.</p>
150
+ <p class="bg-yellow-50 border-l-4 border-yellow-500 p-2 text-sm">Ví dụ: EUR/USD có Bid = 1.1200 và Ask = 1.1202 thì Spread = 2 pips.</p>
151
+ <p class="mt-3">Các loại spread:</p>
152
+ <ul class="list-disc list-inside ml-4 space-y-1">
153
+ <li><strong>Fixed Spread:</strong> Cố định trong mọi điều kiện</li>
154
+ <li><strong>Floating Spread:</strong> Thay đổi theo thị trường</li>
155
+ </ul>
156
+ </div>
157
+ </div>
158
+ </div>
159
+
160
+ <div class="flex justify-end mt-6">
161
+ <button class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-6 rounded-lg flex items-center" id="quizBtn1-1">
162
+ <i class="fas fa-question-circle mr-2"></i> Làm Quiz Kiểm Tra
163
+ </button>
164
+ </div>
165
+ </div>
166
+ <!-- Chapter Content END -->
167
+
168
  <button class="bg-green-600 hover:bg-green-700 text-white font-bold py-3 px-6 rounded-lg shadow transition flex items-center mx-auto md:mx-0">
169
  <i class="fas fa-play-circle mr-2"></i>Bắt đầu học ngay
170
  </button>
 
476
  </footer>
477
 
478
  <script>
479
+ // Function to show chapter content
480
+ function showChapter(partId, chapterId) {
481
+ // Hide all chapter contents first
482
+ document.querySelectorAll('.chapter-content').forEach(el => {
483
+ el.classList.add('hidden');
484
+ });
485
+
486
+ // Show the selected chapter
487
+ const chapter = document.getElementById(`${partId}-${chapterId}`);
488
+ if(chapter) {
489
+ chapter.classList.remove('hidden');
490
+ window.scrollTo({
491
+ top: chapter.offsetTop - 100,
492
+ behavior: 'smooth'
493
+ });
494
+ }
495
+ }
496
+
497
+ // Quiz button event
498
+ document.getElementById('quizBtn1-1')?.addEventListener('click', function() {
499
+ alert('Quiz chương 1 sẽ được hiển thị ở đây trong phiên bản đầy đủ.');
500
+ });
501
+
502
  // Floating menu toggle
503
  document.getElementById('floatingBtn').addEventListener('click', function() {
504
  const menu = document.getElementById('floatingMenu');
prompts.txt CHANGED
@@ -0,0 +1 @@
 
 
1
+ viết nội dung chi tiết Phần 1 chương 1