Skip to content

Conversation

@tanfeng95
Copy link

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?

@tanfeng95 tanfeng95 changed the title zaver tan feng timer bootcamp PTBC-1 zaver tan feng timer bootcamp Sep 6, 2021
Copy link

@michelle-mok michelle-mok left a 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

Comment on lines +17 to +54
<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>

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants