@shahidhsalarzai There are few levels of learning. e.g. Beginner, Intermediate and Advanced.
If I understand correctly, for your case learning the basic level of PHP, JS would be fine. Once you have done the basic part, then focus on OOP, Framework for both, php and JS.
Maybe, the next level up, you focus on deep driving on Laravel, and some other JS & CSS (e.g. Intertia, livewire, and more...).
So, don't be confused. Just focus on learning the basic part first. Then slowly moving to the next level to level up your knowledge.