You can teach yourself pretty much all of a CS curriculum by buying a stack of textbooks listed on CS syllabi, and then going to town. Naturally, you’ll build projects while doing this.
Do some LC and prep for interviews.
You don’t need to get a CS degree to get SDE interviews. It helps, but isn’t necessary. And to pass technical rounds, you don’t even need to have read most of that stack of CS textbooks. You need some bits and pieces from that stack of books, and be quick on your feet with LC medium.
If your friend is good at standardized tests, then LC is right up their alley.
I guess I've never seen a position which only did API calls from JS and formatted data. That's always been wrapped up with develop/implement parts of the API as well. Maybe I've not worked in enough "enterprise" shops?
I tell him alot since I want to be honest, I don't know how much longer extremely basic, low end website/api development will stick around. With Github Copilot currently I can see it almost replaced, but with what we get into in the future, I don't think we'll need people who at best call an api and display the data on a website with no other thought or architecture.