The Student Room Group

Idea award silver work resolution code

Scroll to see replies

hi have you solved this problem? Could you tell the answer? thanks a lot
Reply 21
Okay i am also bit stupid, so i just need to get it to play a sound when it is triggered and this is what i got but it is wrong:var soundBlocks = [crash,happyBeep,whistle];initiate();function playSound(){for (i=0;i<soundBlocks.length;i ){soundBlocks;}}playSound(soundBlocks);
Reply 22
Original post by Gowage
Okay i am also bit stupid, so i just need to get it to play a sound when it is triggered and this is what i got but it is wrong:var soundBlocks = [crash,happyBeep,whistle];initiate();function playSound(){for (i=0;i<soundBlocks.length;i ){soundBlocks;}}playSound(soundBlocks);

okay so apparently it isnt structured or formatted here
Reply 23
how do you do the array question
have you found the answer im stuck
Reply 25
Original post by sebcalvert
I can't get past the playSound() part, do you have any idea on how to complete it?

I'm stuck there as well
Someone, please help
Original post by Nicole18jc
And how do I fix this code... I’m sorry I’m rubbish at thisimage.jpg


change the -- to a ++
Reply 27
Original post by coolchicken
change the -- to a ++

thankyouuuu can you please help me on this
Reply 28
Wat
Reply 29
(Original post by Sans.)Wat

If you know the solution please help that would be greatly appreciated.
Reply 30
thanks😊😊
Original post by ritcha
thankyouuuu can you please help me on this

This is the solution

:Screenshot_2020-07-02 iDEA - The Digital Adventurer Part Three.png

P.S. I have also sent an attachment if you can't see it
Hope this helps!
Reply 33
you litterally put the last 3 lines.
Original post by Nicole18jc
I’m stuck on functions 2 and I have no idea how to “use the lifeSupportOn() function” I don’t know how to “pass an object into it”

How did you do it?
Original post by Nicole18jc
Also what did I use to store the objects x something to do with ar....

Array
Reply 36
does anyone one know how to do this? I'm really stuck on it so if you can give me the answer it would help a lot. thanks.
Reply 37
Does anyone know the answer for the question it says "How did we store our room objects? We used an _____ to store a list of items in a single variable." In silver maker 2?
Can you help me on this
1.var rooms = [Bridge, lab, canteen, cabin, storage]
2.
3. Initiate() ;
4.
5. function lifeSupportCheck() {
6. for (i=0;<rooms.length;i++) {
7.
8. }
9.}
10.
11. LifeSupportCheck() ;


I don't know where to add the loop (room)
It says.? Write rooms inside the loop, then press 'Run Code'. Someone plz help me
how do i do the arrays for html part 3 worker

Quick Reply

Latest

Trending

Trending