JavaScript basics ->?

Good morning everyone,
My question will be about learning JS. I’ve finished some courses like JS basics or Intro to JavaScript and now because I don’t have good knowledge of the language structure I am a little confused and stuck.
The problem is that I don’t know if after basics I should go to frameworks(if it is a good idea, because I want) or I should go deeper inside the Vanilla JS and only then go to frameworks(and if yes, what should I learn)?

Will be happy to hear your advices.

I am interested in the answers you are going to get here.
I’ve read multiple times that the best thing you can do right now is to read “You don’t know JS” books and try to do some basic to intermediate exercises.