Skip to content

Conversation

@chevalier88
Copy link

Please fill out the survey before submitting the pull request. Thanks!

🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀

How many hours did you spend on this assignment? 7

Please fill in one error and/or error message you received while working on this assignment.

What part of the assignment did you spend the most time on?

Comfort Level (1-5): 2

Completeness Level (1-5): 1

What did you think of this deliverable? challenging

Is there anything in this code that you feel pleased about? the countdown + elapsed timer, but it's not completely working

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.

good work using setInterval and organising your code into functions!
consider using more comments to make your code easier to follow for the reader

Comment on lines +13 to +20
<span class="word" id="elapsed">Time Elapsed: </span>
<div class="row">
<span class="word" id="time-left">Time Left: </span>
</div>
<div class="row">
<span class="word" id="start">Start</span>
<span class="word" id="stop"></span>
<span class="word" id="reset"></span>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these should be created is script.js using DOM

Comment on lines +33 to +38
let cardColor;
if (currentSymbol === '♥️' || currentSymbol === '♦️') {
cardColor = 'red';
} else {
cardColor = 'black';
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this used in your code?

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