We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21fd023 commit f687228Copy full SHA for f687228
src/account.html
@@ -211,6 +211,10 @@
211
localStorage.removeItem('username');
212
window.location.href = 'account.html';
213
}
214
+
215
+ function strikeinfo() {
216
+ window.location.href = 'https://scratch-coding-hut.netlify.app/Strikes/my-strikes?username=${username}';
217
+ }
218
</script>
219
</head>
220
@@ -226,6 +230,7 @@ <h1>Scratch Authentication</h1>
226
230
<h2 id="welcomeMessage"></h2>
227
231
<div id="mainText"></div>
228
232
<button onclick="logout()">Logout</button>
233
+ <button onclick="strikeinfo()">Strikes Received From Coding Hut</button>
229
234
</div>
235
236
0 commit comments