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

WM3 - JS2 week 3#105

Open
MoTaKh wants to merge 1 commit intoCodeYourFuture:mainfrom
MoTaKh:main
Open

WM3 - JS2 week 3#105
MoTaKh wants to merge 1 commit intoCodeYourFuture:mainfrom
MoTaKh:main

Conversation

@MoTaKh
Copy link
Copy Markdown

@MoTaKh MoTaKh commented Oct 15, 2021

Your Details

  • Your Name:
  • Your City:
  • Your Slack Name:

Homework Details

  • Module:
  • Week:

Copy link
Copy Markdown

@PeterAhern PeterAhern left a comment

Choose a reason for hiding this comment

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

Well done Mo! keep up the good work!

function changeColor() {
document.querySelector(".centre").style.backgroundColor = colors[index];
index = (index + 1) % colors.length;
setTimeout(changeColor, 100);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good work Mohammed, It took me a little time to understand what you were doing here, but that is because of my knowledge, rather than your appraoch,but I get it now, good work!

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.

2 participants