Justin Price

Greenhorn
+ Follow
since Aug 22, 2021
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Justin Price

When you click on the Red play, the video from the Blue[/b] play starts playing.

Sometimes no video is playing, and you can hear the video from the Blue play, or the other way around.

How it should work

After clicking on the Red play, the video to the red starts playing right away.

After clicking on the Blue play, the video to the blue starts playing right away.

How would I be able to get this to work properly?

I am having difficulty trying to figure this out.

When testing the code, Click Run not update

To reproduce issue, click either the Red play or the Blue play.

Click Run to reset then do it again.

1st Attempt https://jsitor.com/bIs8DcDwrO



2nd Attempt https://jsitor.com/xVVGRHtVs



html

How would I convert each of these from .forEach to for Loop?

These would be the simple for Loops.

Javascript For Loops in the ECMA Standard
Simple For Loop



(1)


(2)


(3)


(4)


(5)