store the time

This commit is contained in:
LinlyBoi
2023-12-04 07:52:47 +02:00
parent a35921b324
commit 6407b798c4

View File

@@ -4,6 +4,7 @@ function nameSubmit() {
const studData = {
name: sName,
id: sId,
startTime: Date.now(),
};
localStorage.setItem(studData, JSON.stringify(studData));
}