Minor Enhancments
This commit is contained in:
1 parent
77d8ff3d69
commit
855f06bcda
1 file changed
+3
-2
@@ -298,12 +298,13 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if(xp == 800 || xp > 800) {
|
||||
} else if(xp >= 800) {
|
||||
console.log('You are a coding master!');
|
||||
// Display data for max level
|
||||
document.getElementById('percent').innerHTML = '800|800';
|
||||
currRank = "Master Digital Crafter";
|
||||
remain = 0;
|
||||
xp = 800;
|
||||
rankUp = 'No higher Rank, Good Job!';
|
||||
let elem = document.getElementById("myBar");
|
||||
let percent = 100;
|
||||
@@ -393,7 +394,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} else if (xp >= 800) {
|
||||
console.log('You are a coding master!')
|
||||
// Display data for max level
|
||||
document.getElementById('percent').innerHTML = '800|800';
|
||||
|
||||
Reference in new issue
Block a user