How much experience does your junior dev have? Do they have a CS degree and have they done internships before? I am in college and looking at my peers, I can tell you that just having a degree does not mean they can code.
Maybe a controversial answer, but tell the junior dev to use ChatGPT.
Maybe a controversial answer, but tell the junior dev to use ChatGPT.