I want to make a website for video chatting to use at school and they have blocked all the good ones that let you do it randomly.
how to make a website like chatroulrtte
If a website is blocked internally (via a firewall, router, DNS or a third party application), use a proxy or a VPN, such as HideMyAss or Proxify, or navigate to the IP Address of the website manually which effectively bypasses DNS restrictions.
Why would you re-invent the wheel by creating yet another webcam chat site? Isn't Chat Roulette good enough? It's a lot of work for a product that is already very well satisfied and unless your idea is revolutionary, you'll likely not gain a profit or publicity.
You can always use a publically available chat API. Red5Chat, Video Chat Builder are some popular open source API's, search for more at Hot Scripts.
Learning Web Programming
Buy yourself a few books on these languages and read them. Mess around with simple web programming first, get familiar with web hosting and domain purchasing. You can always buy a template and place your application inside of it, but I suggest you simply create your own.