I was having a weird issue.

Cianfrini: Https://jsfiddle.net/phf17n8x/5/

Cianfrini: Https://jsfiddle.net/phf17n8x/6/

Cianfrini: Can someone please help

Lugg: Cianfrini: the red markings mean something

Malinky: Red markings mean errors on your jsfiddle. In this case you are missing some quotes

Denzler: Before you work an a feature, fix the syntax!

Malinky: And they left before I found what homework ***ignment they were working on

Carwin: I’m still with you kind of

Malinky: I shall cherish that 😀

Szychowski: We can probably offer some!

Fabre: Https://jsfiddle.net/x6rrtuxj/

Fabre: That is my code i need help making the function

Ihm: The homework ***ignment has returned!

Ihm: On that note, i’m going to lunch

Szychowski: Also, that’s invalid HTML. you never close your div.

Fabre: Https://jsfiddle.net/jspatel/3y9bqrhc/

Fabre: That is what iv’e tried

Fabre: Https://jsfiddle.net/x6rrtuxj/1/

Fabre: I need to make the traffic light work like a traffic light but only when i click the button every time then it will change color my code i have to click the cricle

Szychowski: I’m going to raise a big red flag here for you and point out that jquery and svg don’t mix terribly well.

Fabre: I don’t know i just need help

Fabre: This my broken function

Fabre: Https://jsfiddle.net/3y9bqrhc/9/

Szychowski: Https://jsfiddle.net/x6rrtuxj/2/

Szychowski: What do you need to have happen instead?

Szychowski: Https://jsfiddle.net/x6rrtuxj/3/ this one actually functions.

Fabre: I need the button to change color

Goldberger: Wouldnt go as far as to use the word “functions”

Szychowski: So bind to the button instead of circles.

Fabre: First click on button the red and yellow appear and the third one is transparent, then on the second click 1st to circles are transparent and last is green, then the pattern to repeat

Fabre: Yh i need help doing that

Szychowski: So start by binding to the button instead.

Fabre: Im terribly bad at computing

Szychowski: You’re already bound to the circles.

Szychowski: To it to the button instead.

Szychowski: What about that is ambiguous?

Fabre: So shall i write button instead

Fabre: First i was going to inside the button tag i was going to write on click “circle id” change to “red”

Szychowski: Change to using the button for starters :

Fabre: I know that im annoying and making my self look like a idiot, i just don’t understand so just walk me through it , thanks

Fabre: Https://jsfiddle.net/x6rrtuxj/6/

Szychowski: This is a channel for help and learning – so long as we see progress, we’re good :

Szychowski: We’re just not going to do it for you.

Fabre: Https://jsfiddle.net/x6rrtuxj/7/

Fabre: I want to know how to do it

Goldberger: Try to abstract it so you dont have to juggle strings like that

Goldberger: Like fillOpacity or something

Szychowski: Fabre so now your next problem – do you see it?

Fabre: The problem with my code is i don’t want to do it like that

Szychowski: Right, you want it when you press the button.

Szychowski: Do you see why your code doesn’t work now?

Leckband: I was having a weird issue in Chrome 50 the latest one where the sockets weren’t being released and it was causing the video to show as pending e.g. it would never load.now I added a fix down by lines 56-58 based on this: http://stackoverflow.com/questions/16137381/html5-video-element-request-stay-pending-forever-on-chrome .but the problem is that this way literally removes the video.