learn java script and at least one framework for it.such as :angular,react, jquery etc.
Then go to upwork, guru.com, freelancer.com etc to get work.
Remember you have to practice building your own website.
Build your portfolio website. At first you have to do little work and thus you have to develop your profile. Then clients will give you large projects.
Best of luck 😉