iDEA silver award Robotics

Watch this thread
Ellielouiselogan
Badges: 3
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#1
Report Thread starter 3 years ago
#1
Having trouble with the idea maker 2 badge on the sound blocks, so far I have done this:

var soundblocks=[crash,happyBeep,whistle];
for(I=0;<soundBlocks.length;i++){
playsound(soundblocks[I]);
}

it says to
"Loop through soundBlocks
call the playSound() function
Pass the correct sound from your sound array into it"
0
reply
hollyc0389
Badges: 4
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#2
Report 2 years ago
#2
its case sensitive and your (I) needs to be [i] lower caseJavaScript is always case sensitive so I'd check that if I were you 😃👍
0
reply
Hannah_VMT
Badges: 1
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#3
Report 2 years ago
#3
(Original post by hollyc0389)
its case sensitive and your (I) needs to be [i] lower caseJavaScript is always case sensitive so I'd check that if I were you 😃👍
Can you help me please? I've been stuck on this for 3 days and I can't get it to work
Attached files
0
reply
hollyc0389
Badges: 4
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#4
Report 2 years ago
#4
(Original post by Hannah_VMT)
Can you help me please? I've been stuck on this for 3 days and I can't get it to work
I managed to complete it, it took me a while
var soundBlocks = [crash,happyBeep,whistle];
for (i=0;i<soundBlocks.length;i++)
{
playSound(soundBlocks[i]);
}

thats the correct answer, if when you have done you get to web design idea maker badge 3 and do it please let me know and give me a hand?
5
reply
tian snipes
Badges: 1
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#5
Report 2 years ago
#5
(Original post by hollyc0389)
I managed to complete it, it took me a while
var soundBlocks = [crash,happyBeep,whistle];
for (i=0;i<soundBlocks.length;i++)
{
playSound(soundBlocks[i]);
}

thats the correct answer, if when you have done you get to web design idea maker badge 3 and do it please let me know and give me a hand?
thank you
0
reply
username5508872
Badges: 2
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#6
Report 1 year ago
#6
It doesn’t work for me!
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest

How confident are you that you'll achieve the grades you need to get into your firm uni?

I think I've exceeded the grades for my university offer (34)
18.78%
I think I've met the grades for my university offer (47)
25.97%
I think I've missed the grades for my university offer (89)
49.17%
Something else (tell us in the thread) (11)
6.08%

Watched Threads

View All