When I was starting out with Python I wished to work with Django projects, so I thought myself the framework. Then I created my first web app in Django, http://www.cvstash.com, and with it I scored a couple of Django projects just by showing it. Now I work full time. If I'm going to switch technologies or would like to get some freelance gigs on other frameworks and/or languages, say RoR, I would do the same. Work experience is better, but being able to work on something on your own to start says a lot.
Off-topic: If you put time in examining a possible market with your website it might even turn out to be a win-win situation, with you getting passive income from it.
To summarize, you need a portfolio like vishaldpatel said. If you don't have one yet, then get started with doing something for yourself. Buy a domain if you don't have one yet, and show off your skills there.