Forgetting stuff is the one thing I get annoyed about on FCC. How do you remember stuff if you are only applying it in a small very easy codebit and you’re swallowing dozens of them in a short period of time?
You don’t of course.
As for looking at the code, man, I always feel like that. I cannot read a question on stack overflow without feeling small and humbled. But when I look at my own code, stuff I wrote a year ago, I feel like it’s been written by an extra-terrestrial intelligence.
It’s completely normal to feel that way. Your first code is not going to be lean and clean. It’s going to be messy and full of variables you don’t really need and horrible nested for loops that are only complicating matters.
That’s normal too. First you write crappy code that will only work after a long period of suffering and despair and then slowly you learn how to get rid of repeating code and how to find more elegant solutions.
But hey, there is an upside to it. You looked at the code, AND HAVE FORGOTTEN IT ALREADY! Don’t believe for a second that you now ‘know’ how to do it. You have a few general guidelines maybe but you will have to fill in the details yourself. (even if you look five more times at that code). Actually, I think this shows you are rather able, otherwise it would have looked like Chinese to you, wouldn’t it? So don’t worry, take that weather app and start coding now.
And anyway, I’ve done the Weather App and other frontend challenge, but I am still looking up the difference between slice() and splice(). The question is not what you remember, the question is : can I ask the right question that will bring me to the desired answer? (google) For that you need to know what a frontend app is, the right context in which you have to work, the problems you actually have to solve and that IS NOT TAUGHT! Anywhere, believe me, I looked You more or less figure that out while coding and it is a horrible nightmare.
If you are still enjoying yourself, DO NOT GIVE UP but that is condition because the valleys of despair are deep and long. The more I get into this, the more I believe that enjoying it is the true prerequisite and the true evaluator of your capacity and skills. If you have to force yourself to do is, ask yourself why and what it is you do enjoy. You can use this period of learning to figure out who you are, negatively or positively.