From e67827cef6c8ecc13ea4c682ad6b523724962a72 Mon Sep 17 00:00:00 2001 From: soulin maikadua <104555691+soulincsl@users.noreply.github.com> Date: Wed, 6 Dec 2023 08:16:44 +0700 Subject: [PATCH] change to language --- api/data.json | 12 ++++++------ index.html | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/api/data.json b/api/data.json index bb645e5..7167467 100644 --- a/api/data.json +++ b/api/data.json @@ -1,26 +1,26 @@ [ { - "title": "Dongkhamxay College (UAT)", + "title": "ວິທະຍາໄລດົງຄຳຊ້າງ (UAT)", "projects": [ { - "title": "Admin", + "title": "ລະບົບນັກຫລັງບ້ານ", "url": "https://off-uat.slms-afa.edu.la" }, { - "title": "Teacher", + "title": "ລະບົບນັກອາຈານ", "url": "https://tea-uat.slms-afa.edu.la" }, { - "title": "Student", + "title": "ລະບົບນັກສຶກສາ", "url": "https://stu-uat.slms-afa.edu.la" } ] }, { - "title": "Dongkhamxay College (PRO)", + "title": "ວິທະຍາໄລດົງຄຳຊ້າງ (PRO)", "projects": [ { - "title": "Teacher's Assessment", + "title": "ລະບົບປະເມີນອາຈານ", "url": "https://sar.slms-afa.edu.la" } ] diff --git a/index.html b/index.html index 0ea9aa0..39f3ae3 100644 --- a/index.html +++ b/index.html @@ -44,9 +44,9 @@

I'm lazy, that's why I do this...

try { // Fetch data from an API (replace with your API endpoint) const response = await fetch('https://soulinmaikadua.github.io/slms-projects/api/data.json') - console.log(response) + // console.log(response) const data = await response.json() - console.log(data) + // console.log(data) // Process the data and generate an unordered list const resultList = document.getElementById('resultList')