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

WM3_Sinead-Osborne_JS2-Week3 #103

Open
Sinead-CYF wants to merge 12 commits intoCodeYourFuture:mainfrom
Sinead-CYF:main
Open

WM3_Sinead-Osborne_JS2-Week3 #103
Sinead-CYF wants to merge 12 commits intoCodeYourFuture:mainfrom
Sinead-CYF:main

Conversation

@Sinead-CYF
Copy link
Copy Markdown

@Sinead-CYF Sinead-CYF commented Oct 15, 2021

  • Your Name: Sinead Osborne
  • Your City: Birmingham
  • Your Slack Name: Sinead

Homework Details

  • Module: JS2
  • Week: 3

View rendered mandatory/1-alarmclock/task.md

My timer is counting down but glitching out between seconds, I'm unsure why.
Unsure how to make the stop-button work, also have a niggle with my image src array, index CodeYourFuture#4 void, and I have a #-1 index?? Back button also stops at end of array but I want it to loop?
Stop button functioning, but could be improved.
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.

Good work Sinead! Keep it up! I am still working on finished these problems, I enjoyed reading your code and seeing your approach.

let index = 0;

function colourChange (){
document.body.style.backgroundColor = colours[index];
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 good Sinead, nice and simple, clearly written well done.

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