-
Notifications
You must be signed in to change notification settings - Fork 75
PTBC-1 zaver tan feng timer bootcamp #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
michelle-mok
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code is well organised and nice work on using setInterval!
consider adding comments so that it is easier for the reader to follow your code
| <div class="container"> | ||
| <div class="row"> | ||
| <div class="col-3"> | ||
| <div class = 'row align-text-center'> | ||
| <h5>Lap data</h5> | ||
| </div> | ||
| <div class = 'row align-text-center'> | ||
| <div id = 'lap_data' class = 'text-center'> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="col"> | ||
| <div class="row text-center"> | ||
| <h5>Elapsed time</h3> | ||
| </div> | ||
| <div class="row align-text-center" > | ||
| <div id ='Elapsed_time' class="text-center"> | ||
| <label id="minutes">00</label> | ||
| <label id="colon">:</label> | ||
| <label id="seconds">00</label> | ||
| </div> | ||
| </div> | ||
| <div class="row"> | ||
| <div class='col text-center'> | ||
| <button class="btn btn-primary" onClick='start()'>start</button> | ||
| </div> | ||
| <div class='col text-center'> | ||
| <button class="btn btn-danger" onclick='stop()'>stop</button> | ||
| </div> | ||
| </div> | ||
| <div class="row"> | ||
| <div class='col text-center'> | ||
| <button class="btn btn-primary" onclick = 'reset()'>reset</button> | ||
| </div> | ||
| <div class='col text-center'> | ||
| <button class="btn btn-primary" onclick='lap()'>lap </button> | ||
| </div> | ||
| </div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all these should be created in script js using DOM
Please fill out the survey before submitting the pull request. Thanks!
🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀
How many hours did you spend on this assignment?
2
Please fill in one error and/or error message you received while working on this assignment.
reset error -> lap did not reset properly
What part of the assignment did you spend the most time on?
lap of time
Comfort Level (1-5):
4
Completeness Level (1-5):
4
What did you think of this deliverable?
it was okay
Is there anything in this code that you feel pleased about?