Edit Font

This commit is contained in:
Lucàs
2023-03-09 13:46:46 +01:00
parent 8e3151c8ca
commit a40df638c0
3 changed files with 16 additions and 2 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ Objective : Make a timer in JavaScript
## Installation
- Go to the [Website](https://lucasvbr.github.io/JavascriptTimer/?minutes=5)
- Go to the [Website](https://lucasvbr.github.io/timer/?minutes=5)
- To set time, you need to add parameters in the URL :
URL syntax : `<URL>?[param1]&[param2]&[...]`
Parameter syntax : `<type>=<value>`
@@ -14,5 +14,5 @@ Objective : Make a timer in JavaScript
Example :
```url
https://lucasvbr.github.io/JavascriptTimer/?hours=10&minutes=10&seconds=10
https://lucasvbr.github.io/timer/?hours=10&minutes=10&seconds=10
```
+13
View File
@@ -1,8 +1,21 @@
/* Reset CSS */
html {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 90vh;
background-color: whitesmoke;
display: grid;
place-content: center;
}
p {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 200px;
text-align: center;
}
+1
View File
@@ -8,6 +8,7 @@
</head>
<body>
<p id="timer"></p>
<audio id="ding" src="./sounds/ding.mp3"></audio>
<script src="./js/url.js"></script>
<script src="./js/timer.js"></script>