Backpack Mistake explainer


#22

It took some time to figure out but if it is solved than it’s stupidity easy =D


#23

I solved it but its confusing, without knowing What the variable element meens, part of the code hiden ? It is more confusing this way.


#24

@Zogy — thanks for the feedback! We’re currently trying to figure out the best way to surface this information, without making it overwhelming in the app.

Thanks for sharing your thoughts,
H :slight_smile:


#25

Thanks for the info, I was struggling trying to write all the code. I should’ve known, all you have to do is arange all the blocks in the right way.


#26

When I try to add array in the loop, I get frustrated because there is no keyboard to add array


#27

Post the snapshots of code


#28

If i add mybackpack then it calls myBackpck… Whats the heck ?


#29

L-am rezolvat în cele din urmă.


#30

I was finally able to finish it, you should have made the varibale element apparent from the beginning as we are creating from scratch


#31


Hey guys. This is the solution if you want it real bad.


#32

I seem to tend to write the whole code when a puzzle starts, then I realize it is already there. That is frustrating. I need to see it somehow. It’s like I have to build a door to a house I don’t see, I feel blind :frowning:


#33

That was really so simple. I mean that was just in front of eyes. Took me like 15 minutes but finally. :grin:


#34

So this makes no sense I’ve reviewed the puzzles and concepts mentioned above I still can’t figure it out. Most of those puzzles didn’t make sense the first time around. Mostly cause it was a single demonstration of how to use a very tiny bit of code most of which was already there then moving on to the next bit with zero understanding of what I was doing.


#36

Your comments are really helpful …thanks a lot…ma’am.

I wanna mention that I did the same thing but what I forgot to add one s in bananas …I was irritated after 3 or 4 try so I open the help section…
I wanna say one more thing that I am new to learning code …I don’t have any knowledge or experience with any programming language…
Now these days I am observing, searching and trying to understand …this app is helped me a lot to upstanding var, arrays, operators …wow I am so happy …
Thank you for reading…


#37

Hey @Bituthakur — I’m so glad you’ve found the app useful :slight_smile:


#38

Hey @Dnesty,

Sorry you’ve not found the puzzles helpful. Our aim when teaching is to focus on one specific concept, so often there is starter code that you can read, but don’t need to edit. The aim with the last few puzzles is to allow you to get a chance to code ‘from scratch’.

If you’re really stuck, you can have a look at @Rohit_Kundu or @FripBoyTH screenshots — they give an idea of how to solve this puzzle.

H :slight_smile:


#39

The biggest issue for me was the phrasing of the puzzle was Abit to hard to understand it. Pretty much it confused me to try make a loop and then array for the print. Yet never it mentioned that the .food is already an array.


#40

Hey @SpaceBear,

This is very good feedback — we can definitely add in that otherBackpack has the same structure as myBackpack.

Thanks for flagging!
H :slight_smile:


#41

I also enjoy this app but was also confused with this task. Very helpful suggestions above, but, I agree with several others that the unknown hidden is not good. I too like to see everything. :grinning::books:


#42

Thanks for mentioning! :smile: