Pomodoro clocking
How do I make an pomodoro clocking?
What is a pomodoro clocking? How do you make a pomodoro clocking? This script and codes were developed by Hantz Pierre on 07 September 2022, Wednesday.
Pomodoro clocking - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>pomodoro clocking</title> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<body> <div class="container app"> <div class="row"> <div class="col-md-12 text-center"> <h2 class="name-tag">Pomodoro Clock</h2> </div> </div> <div class="row text-center"> <div class="col-xs-6 controls "> <h4>Break Length</h4> <div class="btn-group"> <div class="btn btn-default btn-lg switchDeduceBreak" onclick="deduceBreakTime()">-</div> <div class="btn btn-lg" id="timer-break">5</div> <div class="btn btn-default btn-lg switchAddBreak" onclick="addBreakTime()">+</div> </div> </div> <div class="col-xs-6 controls"> <h4>Session Length</h4> <div class="btn-group"> <div class="btn btn-default btn-lg switchDeduceSession" onclick="deduceSessionTime()">-</div> <div id="timer-session" class="btn btn-lg">25</div> <div class="btn btn-default btn-lg switchAddSession" onclick="addSessionTime()">+</div> </div> </div> </div> <div class="row"> <div class="col-xs-12"> <div class="countdown-clock"> <div class="countdown-timer"> <h2>Current Session</h2> <h3 id="timeLeft">25</h3> </div> </div> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="script.js"></script>
</body> <script src='https://code.jquery.com/jquery-2.2.4.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Pomodoro clocking - Script Codes CSS Codes
body { background-color: #292F36; color: #14CC60; font-family: 'Work Sans', sans-serif;
}
.app { background-color: white; padding: 20px; margin: 20px auto; border-left: 4px solid slategray;
}
.countdown-clock { border: 2px solid black; width: 400px; height: 400px; border-radius: 400px; margin: 50px auto;
}
.controls { margin: 10px auto;
}
.countdown-timer { text-align: center; margin-top: 120px;
}
#timeLeft { font-size: 6em; text-align: center;
}
Pomodoro clocking - Script Codes JS Codes
var sessionLength = 25;
var breakLength = 5;
function addSessionTime (){ sessionLength += 1; $("#timer-session").text(sessionLength); // session time default var sessionLength = 25 $("#timeLeft").text(sessionLength); // time left
}
function deduceSessionTime(){ if (sessionLength > 1){ sessionLength -= 1; } else { sessionLength = 1; } $("#timer-session").text(sessionLength); $("#timeLeft").text(sessionLength);
}
function deduceBreakTime() { if (breakLength > 1){ breakLength -= 1; } else { breakLength = 1; } $("#timer-break").text(breakLength);
}
function addBreakTime(){ breakLength += 1; $("#timer-break").text(breakLength);
}
function startTimer() { seconds = 0; countDown(sessionLength, seconds);
}
Developer | Hantz Pierre |
Username | universe360 |
Uploaded | September 07, 2022 |
Rating | 3 |
Size | 2,409 Kb |
Views | 24,288 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Wikipedia search | 4,006 Kb |
A Pen by Hantz Pierre | 5,050 Kb |
Weather app v.2 | 4,878 Kb |
Weather app | 3,306 Kb |
Responsive Typography | 1,776 Kb |
Twich JSON API | 1,163 Kb |
Local Weather App | 3,341 Kb |
JS Calculator | 4,859 Kb |
Random Wise Quotes | 2,881 Kb |
FoundataionFrameWorks - Portfolio Template | 2,016 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Pure CSS Tooltip | APinix | 2,815 Kb |
Zip Button test | Lje7462 | 1,932 Kb |
IE11 Test | Boostnewmedia | 4,998 Kb |
AngularJS Skills | Supro | 3,312 Kb |
Parallax scrolling scene | Iharosi | 2,485 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
Template | Indra_z85 | 2,323 Kb |
Reviews and Ratings Star | Zbnmstry | 1,591 Kb |
Simple Carousel Pure CSS | Dangvanthanh | 4,080 Kb |
Basic template | Tomcat | 1,675 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!