I don't really understand. How is GPT-3 able to do this? Understanding English is one thing, but how did it learn JavaScript, HTML, CSS, and the React framework?
Edit: apparently it read a lot of Github repositories, so most of what it mimics is working code.
In most cases, if you can define the tests, you have already figured out 80% of the solution.