There is a site called code wars that does just this and I look forward to becoming the programmer that will use that site to test myself thoroughly. I think after having my brain see the same syntax and line over and over again through flashcards, I'll finally start to link stuff together. I have a lot of doubt still when writing code. I look up stuff super often because of that doubt I believe once I nail down the basics. I'll do this automatically and not 2nd guess myself on writing code.
Another thing I'd like to add from studying code and searching YouTube about web development etc. Their are people online that professionally say nothing of substance just for views. I watched one guy with a catchy title about what you should expect from doing a coding boot camp. The only thing he would keep emphasizing was oh have previous experience in coding before jumping into this because you will get lost. Noted understood, but he would never moved on from that point. Before I knew it the video hit the 11 minute mark and he's wrapping up his thoughts on the topic. He literally said nothing useful other than conveying his emotions on how difficult it is. Nothing about what was covered in his course nothing about how he took notes. Nothing about nothing, it was real sad. A lot of the videos I've seen online would start on a really touching story about why they got into coding but would say nothing about code or where or what I should look out for.
There are also self proclaimed people who are already riding the title of software engineer doing a day and life etc. video. They also say nothing of substance which is ridiculous. Fortunately I've found some channels that are actually teaching learning techniques for code and where you should start or choose if you are pursuing a path. I've also watch channels talking about the daunting interview questions you should be ready to answer when you apply for a job. But realistically I think if I'm in a interview it should be straight forward on what the companies main problem and why they are hiring me to tackle this problem. If I'm serious about the job I should know what I'm doing in the first place with these questions. Because first of all to even get a job. I have to build a portfolio and explain how this thing works. If the interviewer knows enough about any programming that whole process of knowing if I'm legit shouldn't take long.