Your post has the title of “What kind of materials need for programming?”
Is that the question you are trying to ask? Can you clarify what you mean by “materials”?
If you mean books and such, then you don’t really need this - we tend to rely on online sources (google, stack overflow, mdn, the docs, blogs, etc.) Videos (either free on youtube or paid through some platform) can be useful too.
I don’t see any way you could know that. They posted buggy code that wasn’t passing the challenge, so they certainly could be asking for help with it. How about we let OP speak for themselves instead of you asserting that they mean.