Freelancing in Front-end

I have completed all parts of HTML and CSS in code with Mosh. Now I want to learn Javascript as well. As a student, I want to have a side hustle, so I want to freelance in front-end. Can I just do freelancing with this knowledge? What else do I need to learn?What are your best tips for being a successful freelancer? How can I expand my portfolio If I don’t get any orders?If you have any experiences, please make sure to share them.

Thank you very much!