Closed MuhammadSarimWaseem closed 1 year ago
Name | Link |
---|---|
Latest commit | 0697d795c877873a01e949b3f3312b84a39521f2 |
Latest deploy log | https://app.netlify.com/sites/frontend-database/deploys/6523e268293cfc0008c63e0e |
Deploy Preview | https://deploy-preview-43--frontend-database.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Hey there! I'm here to provide you with a report on the changes made in the pull request. Let's dive in!
Added app.js
file with the following changes:
milli
, sec
, mint
, and interval
.millisecond()
to increment milli
and update the value in the HTML.start()
to start the stopwatch by calling millisecond()
every 10 milliseconds.stop()
to stop the stopwatch by clearing the interval.reset()
to reset the stopwatch by setting all variables to 0 and updating the value in the HTML.second()
to increment sec
and update the value in the HTML when milli
reaches 100.minute()
to increment mint
and update the value in the HTML when sec
reaches 60.disable_start()
to disable the start button and enable the stop and reset buttons.disable_stop()
to disable the stop button and enable the start and reset buttons.Added index.html
file with the following changes:
Added style.css
file with the following changes:
milli
, sec
, and mint
, you could use milliseconds
, seconds
, and minutes
.reset()
function of app.js
, there is an incorrect line: millisecond() = 0;
. This line should be removed as it is not valid syntax.// In app.js
document.getElementById("disabled1").addEventListener("click", start);
function start() {
disable_start();
interval = setInterval(millisecond, 10);
}
I would rate the code a 7 out of 10 based on the following criteria:
That's it for the pull request report! Let me know if you need any further assistance. Keep up the good work! 👍
@MuhammadSarimWaseem ,
Please add the project details in contribution/ProjectList.json
Describe your change:
Checklist:
ATTACH SCREEN-SHOTS