major update
This commit is contained in:
1 parent
266a064330
commit
5ac5626406
8 files changed
+268
-41
No files matched your search
@@ -12,8 +12,12 @@ window.startTypingPractice = async function() {
|
||||
const user = JSON.parse(localStorage.getItem('loggedInUser'));
|
||||
if (!user) return;
|
||||
|
||||
// Hide student dashboard and game section
|
||||
document.getElementById('studentPanel').style.display = 'none';
|
||||
document.getElementById('gameSection').classList.add('hidden');
|
||||
document.getElementById('gameSection').style.display = 'none';
|
||||
document.getElementById('typingSection').classList.remove('hidden');
|
||||
document.getElementById('typingSection').style.display = 'block';
|
||||
|
||||
const typingPrompt = document.getElementById('typingPrompt');
|
||||
typingPrompt.textContent = 'Loading...';
|
||||
|
||||
Reference in new issue
Block a user