This is the code I wrote during the Self-driving Car (no libraries) JavaScript course:
https://www.youtube.com/playlist?list=PLB0Tybl0UNfYoJE7ZwsBQoDIG4YN9ptyY
Phase 2 is also out now here:
https://www.youtube.com/playlist?list=PLB0Tybl0UNfZtY5IQl1aNwcoOPJNtnPEO
The code will appear as the course progresses and will be divided into parts as follows: