Coding Adventure 3: Let's start excavation

Master JavaScript

Be familiar with javascript arrays and functions.

JOIN

Description

Awesome! I can't get enough of this! How about we start collecting some gifts for friends?

Preview Video

Coding Missions

Magnifying glasses

Robo is going to get a magnifying glass for each one of the team. The set of magnifying glasses has the teammate ID beside it (on the yellow cell).

Read the order list of Robo's teammates names, then replace the ID with his/her name by writing the name on the same yellow cell.

Gifts for everybody

Robo is going to get a gemstone gift for all his friends. Each set of gemstones has the friend ID below it (on the yellow cell). 

Read the list of Robo friend names, then replace the friend ID with his/her name by writing the name on the same yellow cell.

Friends' names

Now, Robo has a list of each friend name and how many gemstones he/she needs (the number in the right cell of the name)!!

Robo needs to collect the needed number for the friend whose ID is in the yellow cell.

Hint: numbers will change every run Robo should read numbers from the cells.

And another one!

So, our next move is like the previous mission but we have two friends IDs in the two yellow cells.

Robo needs to collect the needed number for each friend whose ID is in the yellow cell. Collected the needed number of a friend from his/her column.

Hint: numbers will change every run Robo should read numbers from the cells.

Gemstones for everyone!

One last thing to do on this adventure. We need to get gemstones for all four friends whose IDs are on the yellow cells. Collected the needed number of a friend from his/her column.

Hint: numbers will change every run Robo should read numbers from the cells.

Master JavaScript

Be familiar with javascript arrays and functions.

JOIN
Canada Flag Privacy Policy Terms of Use
Got an invite