Help me choose right courses

Im a bit in doubt about what to study right now.
I’ve covered the programming playlist in so i have some basic knowledge about html, css, jQuery and p5.js , all very basic.
However im interested in AI and ML and freecodecamp suggests doing its courses in order meaning that i should go through a lot of front end and back end and… before i get to learn python, data analysis and ML .
While those concepts are cool and useful but if i get to be working with ML and AI, I think its kinda just a waste of time to learn those other courses! How do u think ?
Isnt it better to just focus on principles related to data rather than web development ?
Thanks for helping so much.

Hi @Toofan !

I am going to close this post since you already have the same conversation going on in this post.