My first chat with GPT-4: "Write some NodeJS code for an API that accepts a YouTube video URL and downloads the audio from that video in MP3 format." (It writes code.) "Great, thanks! Now please write some HTML code for the front end UI. Please use Tailwind CSS." (It works.)
![[Pasted image 20230514190439.png]]
![[Pasted image 20230514190449.png]]
![[Pasted image 20230514190509.png]]
I had to make one correction to the code. A comment had split onto two lines, and the second line didn't start with a "//".
![[Pasted image 20230514190550.png]]
The output of my first run is here:
https://files.pjh.is/gpt-4--first-output.mp3
https://twitter.com/peterhartree/status/1636290228624449536