I have recently become a big fan of Star Wars. However, I am having trouble learning the star wars canon. Any advice on websites/books/Youtube videos to learn the canon? All I know is from the movies and first season of clone wars
The movies and TV shows are pretty much your bedrock as far as official Canon goes nowadays. Wookiepedia is kind of like the online encyclopedia for everything Star Wars and can be useful to look up specific information about virtually anything, you'll notice that pages on the site have separate "Canon" and "Legends" tabs so you can see which information made it into the Canon universe and what was relegated to Non-Canon by the Disney takeover.
As far as books I'd recommend DK offerings like:
You don't even have to buy books like this, most libraries have them.
Once you get a good grounding in it I would certainly recommend taking a look into the Legends material or what used to be called the "Expanded Universe". Most of it exists in book form. I'm only speaking for myself but I don't think I ever decided to go about learning Star Wars in any particular fashion, I just read every book and watched every kind of media I could get my hands on and went from there. It can be
very overwhelming at first. I remember first looking at the sheer number of Legends novels and thinking there are way too many to read, much less own.