I am so confused with this exercise. Gave up and looked at the answer. Still in the dark. Feel so discouraged as why I couldn’t understand the task. If there were so many of us who were so confused, that meant the presenter failed miserably.
I’ve been really enjoying this!!
I definitely agree that either we need:
A) to know what “var img” is pulling from,
B) that this information is hidden, AND
C) to rename it from “img” would be a LOT less confusing
Woww… ohh man… it’s like it was always der but I ignored repeatedly… thnx a lot
Agree with all the other posters. To make sure I understand… So, the previous “my solution” that we had to update produced a bunch of ember-colored boxes for every letter that was not labeled ‘e’?
Also, why is the var named “img”. Doesn’t that usually stand for “image”? So confusing!
I am stuck in
the backpack mistake section as I don’t know how to put curly braces please help me
You may find what you’re looking for in the Backpack Mistake explainer page.
agree it just like jumping from grade one to grade six suddenly
anyway i still can’t make it where can i found the answer?
If you go to the top of this page, you’ll find the explainer for Image Decoder and you tap on the blurred area to reveal an example solution for this puzzle.
oh got it! i can continue to next level today thx
it is a great app!
Hi This is such a great idea I love the app all the lessons or understandable But when you come to this one it just To confusing
That has too many missing clues. This is where I hang it up.
Something to keep in mind is that you DO have enough information, especially if you review previous lessons to see how drawBoxes() works.
Also keep in mind that all programmers need to be able to work on code without knowing everything; you run into this anytime you use library code, and sometimes all you can do is try various things until you get the right results; usually at the same time, you also understand what was wrong before. If you are WRITING library code,
img could literally have any value.
In this case, the instructions tell you EXACTLY what to do, although it’s not really clear that the first instruction paragraph is the overview and the second (final) instruction paragraph is the actual change you are asked to make.
Im completely lost on this logic…even though i got your correct answer…
Ok so I think I’m missing something here. I thinky coding is right from what I read from others but my img isn’t right … So below is screenshots of code and img
The If Statement’s test is checking if the entire image variable,
img, is not equal to
'e'. That’s the same as checking if
'ewvveewvvw wiiwiiw webbwbbew weeggweggw ewyyewyyew woowoowe wrreewrrw' is different from
'e'. Instead, you want to check each letter separately.
The For Loop is already going to run the code for each letter in the
img string. When it does this, it stores the letter in the
letter variable. Try checking if
letter !== 'e'.
Thank you. That corrected the code. Hard to believe I didn’t notice that.
Nice one like it,but an confused, a little, ok I got now
Please help me. I can’t seem to solve this puzzle I tried putting in drawboxes (img). Didn’t work. Tried putting in the entire code- wvvwvvw wiiwiiw exetera. I really need help