Please don’t get down on yourself.
This company had unrealistic expectations based on this alone:
That’s insane, specifically because they said there would be on the job training for the first few months.
It sounds to me like there was a massive disconnect between what your coworker expected from a colleague in this job and what the recruiter hired for.
NONE of the above is your fault. These are all organizational failures at the company that hired you.
Instead I think you should be remarkably proud of how you acquitted yourself in the two weeks you were there, I mean wow, look at this:
I think that you being able to take these on and complete them is a testament to your ability to learn and adapt to a changing job situation, both things which you should be proud of!
I’ve been where you are where I’ve been hired by companies with unrealistic job expectations. At least once I had to go crawling back to my previous job. Unfortunately, it’s par for the course in IT in general, and appears to be more frequent in the programming world.
Please stick in there and don’t give up. Your plan (continuing learning, working on more projects/resume material) is the right course of action and while you may have the scars to remember this one, you’ll know what to look for in the next role!
Hang in there!!