The Student Room Group

Silver Idea Badge - Maker Part 2

Basically, Iḿ stuck on the second part, the code is like this
var rooms = [bridge,lab,canteen,cabin,storage]

initiate();

function lifeSupportCheck() {
for (i=0;i<rooms.length;i++) {
rooms;
}
}

lifeSupportCheck();

Scroll to see replies

Reply 1

hi on line 7 put rooms hope this helps

Reply 2

how do we do the lifeSupportOn() function?

Reply 3

Original post by Aliza515
how do we do the lifeSupportOn() function?

Have you found out the answer

Reply 4

need help on this aswell

Reply 5

Original post by Aliza515
how do we do the lifeSupportOn() function?


i dont know like i mean its bare hard

Reply 6

Original post by ideauser123
i dont know like i mean its bare hard

did you find out?

Reply 7

On line 7:lifeSupportOn(rooms)

Reply 8

ill tri that now
(edited 4 years ago)

Reply 9

Original post by hannah46
On line 7:lifeSupportOn(rooms)

it does not work for me

Reply 10

Original post by safaxx
Basically, Iḿ stuck on the second part, the code is like this
var rooms = [bridge,lab,canteen,cabin,storage]

initiate();

function lifeSupportCheck() {
for (i=0;i<rooms.length;i++) {
rooms;
}
}

lifeSupportCheck();

I'm stuck

Reply 11

To call the lifeSupport function you do this:

initiate()
function lifeSupportCheck(){

}
lifeSupportCheck()
(edited 4 years ago)

Reply 12

Original post by username4600210
how do we do the lifeSupportOn() function?

initiate();
function lifeSupportCheck() {
}

Reply 13

Original post by hannah46
On line 7:lifeSupportOn(rooms)

thanks so much omg!!!!

Reply 14

same i need help

Reply 15

Original post by Martyna75
initiate();
function lifeSupportCheck() {
}


Original post by Abijoa
thanks so much omg!!!!

it doesn't work for me

Reply 16

The third one tho

Reply 17

Original post by robot173619
have you found out the answer


nooooooooooooooooooooooooooo

Reply 18

i need help on the resolution

Original post by Wjcool2000
nooooooooooooooooooooooooooo

Reply 19

i need help on the terraforming part

Quick Reply