As a freelancer your greatest “problem” is not the coding part.
It is the insurance, the contract, the payment and the organising.
I learned project management in my developer education but it dioes not prepare me for real projects and the real questions you will have if you get your first freelancer job.
I really recommand you to inform you a little bit about what is important and what you must care about to be a little bit prepared.
If you are prepared for the coding challenge… that depends on what the customer wants. If he want a business page in a simple way (5 pages, a little bit information about, contact form) then it would be no problem for you.
But if he wants much more (save data, SEO, statistics, blogs developed with a CMS and so on) you should be careful as a beginner.
It is normal to investigate in a project, you can’t know everything and every project is different even if it looks the same as the others.
But too much investations and missing knowledge for a project brings you bad under pressure (especially in your first jobs) and the result would not be your best
So, it is important to ask very deep and detailed what the customer want. Then you can think about how you can realize this, what you need (knowledge, budget, time…) and then you can say if you are ready for this.
Regards and good luck!