Skip to content

Commit

Permalink
JS
Browse files Browse the repository at this point in the history
  • Loading branch information
wayofmani committed May 28, 2024
1 parent 1b4c3f0 commit 7799c15
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions templates/result.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ <h1>
<input type="text" id="url-text-field" name="pageURL" id="pageURL" value="https://bettercallus.github.io/Dota2-playtime/templates" readonly>
</div>


</div>

<!--
Expand All @@ -72,6 +73,18 @@ <h1>
</div>
</body>
<script type="text/javascript" lang="javascript">
// Calc
var total_hours = 'فعلا نمیدونم'
const day = total_hours / 24
const month = day / 12
const year = day / 365






// Copy Link Button
const copyButton = document.getElementById('copy-button');
const urlTextField = document.getElementById('url-text-field');

Expand All @@ -92,4 +105,5 @@ <h1>
});
});
</script>

</html>

0 comments on commit 7799c15

Please sign in to comment.