I am a browser extension developer, working in a small company. Basically my work is to develop and maintain extension for their product. I have knowledge of javascript, css,html. I have about 2 year of experience. Now I am confused what should I do to get better job opportunites. Recently I starting learning React Native and taken this udemy course. In which direction should i head. Should I learn nodejs or python for backend. Will my experience be counted or not, as I have no experience of any frameworks.
I like both Python and JavaScript and I think both are very good languages that will get the job of web development done. I have a slight preference for python (used to be wider before es2015), though, and I think it encourages maintainability and readability a little better than js.
That's about as much as I can say regarding backend work. Now, for other pastures, Python has better prospects in the market. One would be hard-pressed to find JS in something other than web applications, while Python can be used for machine learning, data science, embedded systems, desktop development, etc.
But you already know JavaScript and, if you feel like web development is enough, there's really not compelling reason for stopping its use.
While we have many similar threads (important takeaway: do not learn frameworks, learn the language and then use frameworks), such a choice is ultimately up to the company you plan to work for. You can learn Node.JS now, however that will not help you a lot if the company employing you wants you to work with Python. Also, there are a lot more options than just those two. There are, amongst others, Go and Java, and Rust (with Tokio and Diesel) has become quite an interesting alternative as well.
Don't worry, though. Two years is not a lot of experience and most companies won't expect you to know a whole lot of hands-on practice if they decide to hire you as a junior developer. More important than that is your willingness to learn what's important for the company and be ready to put energy into that.
Better job opportunities will come with more experience and more often than not certificates and degrees. So you should focus on what you want to do, gain experience, get certificates and maybe study.
Personally, I do not quite like Python and would rather recommend Node.JS (you already know JS, so you have a foot in the door), which you should extend with Rust (FFI or WASM) for performance later on. But that's my very opinionated answer to your question :)