diff --git a/index.html b/index.html index 41aa0a4..459093d 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,6 @@ window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-Q96FGB3L05'); @@ -50,7 +49,21 @@ + + \ No newline at end of file diff --git a/settings/index.js b/settings/index.js new file mode 100644 index 0000000..572dfbd --- /dev/null +++ b/settings/index.js @@ -0,0 +1,16 @@ +// LF +function showWins() { + if (window.localStorage.getItem('win_count') == null) { + document.getElementById('dr').innerHTML = 'You don\'t have any Wins!'; + } else { + document.getElementById('dr').innerHTML = 'You have ' + window.localStorage.getItem('win_count') + ' wins!'; + } +} + +function removeWins() { + var confirm1 = confirm('Do you really want to reset your Wins?'); + if (confirm1) { + localStorage.removeItem('win_count'); + document.getElementById('dr').innerHTML = 'Successfully Reset Your Wins!'; + } +} \ No newline at end of file diff --git a/settings/style.css b/settings/style.css new file mode 100644 index 0000000..08334be --- /dev/null +++ b/settings/style.css @@ -0,0 +1,38 @@ +body { + font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; +} +.mainbox { + position: relative; + margin: 0 0; + top: 0; + background-color: rgb(0, 155, 65); + padding: 25px; + opacity: 0.9; + transition: 0.4s; +} +.mainbox .title { + position:sticky; + outline: 0; + border: 0px; + font-size: 40px; + text-align: center; + padding: 20px; +} +.mainbox .options { + font-size: 20px; + text-align: center; + padding: 10px; +} +.mainbox .options button { + padding: 15px; + font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; + font-size: 25px; + border-radius: 10px; + opacity: 0.8; + transition: 0.3s; +} +button:hover { + color: #fff; + background-color: #000; + opacity: 1; +} \ No newline at end of file