Skip to content

Instantly share code, notes, and snippets.

View tranphuongdinh's full-sized avatar

Tran Phuong Dinh tranphuongdinh

View GitHub Profile
@shivaluma
shivaluma / avg.js
Last active August 2, 2024 06:31
Tinh diem trung binh hcmus
// tinh diem trung binh hcmus, vao trang diem va paste vao console.
// khong tinh anh van, quoc phong, the duc va nhung mon rot
var tinchi = document.querySelectorAll("td:nth-child(3)");
var monhoc = document.querySelectorAll("td:nth-child(2)");
var diem = document.querySelectorAll("td:nth-child(6)");
var tongdiem = 0,
tongtinchi = 0;