Skip to content

Commit

Permalink
change to language
Browse files Browse the repository at this point in the history
  • Loading branch information
soulincsl committed Dec 6, 2023
1 parent 6277155 commit e67827c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions api/data.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ <h1 class="text-2xl">I'm lazy, that's why I do this...</h1>
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')
Expand Down

0 comments on commit e67827c

Please sign in to comment.