I have started producing a weekly tutorial / class to teach people how to code for FiveM.
I plan to release a weekly class over the next 6 months starting as very basic and building to more advanced topics.
Here is the link to the first class which covers using VSCode, and overview of QB-Target and how it works by stepping through the code and writing a short simple script to demonstrate how to implement QB-Target. This is a beginner level class.
[UPDATE] - Lesson 2 is now published at the below playlist - In this lesson: Spawning Vehicles, Check if Ped is in vehicle, For Loops, While Loops, DrawText, Place Visual Markers, Check Distances, Prevent Multiple Launches of an Activity until Activity is complete, Create and Remove Blips and Waypoints