Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 947a642

Browse files
Add files via upload
1 parent d11730c commit 947a642

File tree

3 files changed

+79
-0
lines changed

3 files changed

+79
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
//countDown(1);
3+
function countDown(minutes) {
4+
let seconds = minutes * 60
5+
function timer() {
6+
console.log(seconds)
7+
seconds--
8+
}
9+
set setInterval(timer, 1000)
10+
}
11+
12+
13+
countDown(1);
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
9+
<link rel="stylesheet" type="text/css" href="./styles.css">
10+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
11+
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
12+
<title>Pomodoro Clock</title>
13+
</head>
14+
15+
<body>
16+
<h1 class="container-fluid text-center">Pomodoro Clock</h1>
17+
<h4 class="text-center">Use the pomodoro method to boost your productivity</h4>
18+
19+
<div class="timer text-center">25:00</div>
20+
<div class="buttons text-center">
21+
<button>Start</button>
22+
<button>Stop</button>
23+
<p>The Pomodoro Technique is a time management method developed by Francesco Cirillo in the late 1980s.
24+
The technique uses a timer to break down work into intervals, traditionally 25 minutes in length, separated
25+
by short breaks. Each interval is known as a pomodoro, from the Italian word for 'tomato', after the
26+
tomato-shaped kitchen timer that Cirillo used as a university student</p>
27+
28+
</div>
29+
30+
31+
32+
<script src=" https://code.jquery.com/jquery-3.4.1.slim.min.js"
33+
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous">
34+
</script>
35+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
36+
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
37+
crossorigin="anonymous"></script>
38+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
39+
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
40+
crossorigin="anonymous"></script>
41+
</body>
42+
43+
</html>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
body {
2+
text-align: center;
3+
}
4+
5+
h1 {
6+
color:red;
7+
background-color: black;
8+
}
9+
10+
.description {
11+
font-style: italic;
12+
width: 30vw;
13+
}
14+
15+
.timer {
16+
font-size: 15vw;
17+
18+
}
19+
20+
p{
21+
font-style:italic;
22+
margin: 10vw;
23+
}

0 commit comments

Comments
 (0)