Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

South-Africa-Class1-Aashiq-Abrahams-JavaScript-core2-week3#64

Open
aashiqabrahams123 wants to merge 12 commits into
CodeYourFuture:mainfrom
aashiqabrahams123:main
Open

South-Africa-Class1-Aashiq-Abrahams-JavaScript-core2-week3#64
aashiqabrahams123 wants to merge 12 commits into
CodeYourFuture:mainfrom
aashiqabrahams123:main

Conversation

@aashiqabrahams123
Copy link
Copy Markdown

Your Details

  • Your Name: Aashiq Abrahams
  • Your City: Cape Town
  • Your Slack Name: Aashiq Abrahams

Homework Details

  • Module: JavaScript core-2
  • Week:3

let seconds = pad(timeRemain % 60, 2);
timeTitle.innerHTML = `Time Remaining: ${minutes}:${seconds}`;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is so cool Aashiq, how did you reach this solution?

}
});
});

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice Aashiq, this is such an advanced solution man

counter++;
assignImage();
}, timeInterval);
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done Aashiq

displayTime(timeRemain);
window.setInterval(function (){
if (timeRemain > 0) {
timeRemain -= 1;
Copy link
Copy Markdown

@RynoFourieZA RynoFourieZA May 26, 2021

Choose a reason for hiding this comment

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

On line 17 you can also use the decrement operator --, but overall great work Aashiq.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants