iDEA silver award Robotics
Watch this thread
Announcements
Page 1 of 1
Skip to page:
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
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"
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
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
#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 😃👍
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
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
#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
Can you help me please? I've been stuck on this for 3 days and I can't get it to work
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
#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?
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?
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
X
Page 1 of 1
Skip to page:
Quick Reply
Back
to top
to top