There is a book called "The Theory and Technique of Electronic Music" written by Miller Puckette (creator of Max / Pure Data visual programming languages).
That is quite heavy on the mathematical side though - really is more like the title suggests the theory underlying the DSP.
Ableton have some online content like https://learningmusic.ableton.com/ which is laid out in chapter form and uses https://tonejs.github.io/ for browser synthesis / sequencing etc