@@ -15,7 +15,7 @@ const checkIfUserData = (msg) => {
15
15
const linktoprofile = document . createElement ( 'a' ) ;
16
16
linktoprofile . innerText = "Click here" ;
17
17
linktoprofile . href = "./practice.html" ;
18
- navigateEle . innerText = "to play again" ;
18
+ navigateEle . innerText = "practice again" ;
19
19
navigateEle . insertAdjacentElement ( 'afterbegin' , linktoprofile ) ;
20
20
}
21
21
}
@@ -117,15 +117,15 @@ historyResetBtn.addEventListener("click", () => {
117
117
showHistory ( ) ;
118
118
// window.location.reload();
119
119
//to show msg after delete data
120
- checkIfUserData ( "to play again" )
120
+ checkIfUserData ( " to practice again" )
121
121
} )
122
122
123
123
//after click on delete username button
124
124
const deleteUserName = document . querySelector ( ".reset-userName" )
125
125
deleteUserName . addEventListener ( "click" , ( e ) => {
126
126
localStorage . removeItem ( "typerName" ) ;
127
127
e . target . style . display = "none"
128
- checkIfUserData ( " to set up your name and for play again" )
128
+ checkIfUserData ( " to set up your name and practice again" )
129
129
getUserName ( )
130
130
} )
131
131
@@ -134,7 +134,7 @@ const deleteUserName=document.querySelector(".reset-userName")
134
134
const usernamefromLocal = localStorage . getItem ( "typerName" ) ;
135
135
if ( usernamefromLocal == null ) {
136
136
deleteUserName . style . display = "none"
137
- checkIfUserData ( " to set up your name and for play again" )
137
+ checkIfUserData ( " to set up your name and practice again" )
138
138
139
139
}
140
140
0 commit comments