Contact me
-
Location
Minsk, Belarus
-
Telegram
-
Email
CV
Minsk, Belarus
I am a graduate of Belarusian State Medical University. My specialty is ophthalmology. I am doctor at hospital and now I am a junior Front-end developer. I have good interpersonal skills, I am an excellent team worker and very willing to learn and develop new skills.
let minute = 0;
let second = 0;
let interval;
function startTimer() {
second++
if (second <= 9) {
secondElement.innerText = "0" + second;
}
if (second > 9) {
secondElement.innerText = second;
}
if (second > 59) {
minute++
minuteElement.innerText = "0" + minute
second = 0
secondElement.innerText = "0" + second;
}
if (minute <= 9) {
minuteElement.innerText = "0" + minute;
}
if (minute > 9) {
minuteElement.innerText = minute;
}
if (minute > 59) {
hour++
hourElement.innerText = "0" + hour
minute = 0
minuteElement.innerText = "0" + minute;
}
}
function clearTimer() {
hour = 0;
minute = 0;
second = 0;
hourElement.textContent = "00"
minuteElement.textContent = "00"
secondElement.textContent = "00"
}
}
B2
A2+