> What coding language would I use to make a website?

What coding language would I use to make a website?

Posted at: 2014-12-18 
I have never seen the movie, but the first one to lean is HTML. If you don't know HTML, you can't really do anything.

Learning the others isn't really necessary, it just depends on what you want your website to be able to do.

If you're fine with just basic text and pictures, then you can stop there. But if you want to add dynamic content to your website or any kind of a database, you should learn the others.

HTML and CSS aren't really considered coding. It's more just formatting text; however, you need to learn it to make your websites look good. HTML is used to decide what the content/text of the page is and CSS is used to change how it looks (easily).

Once you learn how to actually program (again, not HTML but JavaScript/Java/C++) learning another language is usually just learning some new syntax.

JavaScript allows things to happen on the end of the person looking at the webpage. I.e. the basic webpage will be loaded, but based on what the user clicks, you can run code to make things happen.

Example: If you have a form that the user is filling out, you can use JavaScript to validate the form on the end of the user without them needing to submit that page and wait for another one to load (the code is embedded in the webpage they download and runs on their machine). You can also use it to do some simple games.

PHP is another language used on webpages, but this is run on the server end. It is used to access databases and such.

Example: Think of a website where you have bought something. If you sign in with your account and go to some kind of "previous orders" page, it will probably use PHP and SQL on the server end to load your previous order information from a database and then include that information as HTML in the page that it sends you.

There's also sites that use Java on the backend (server). Others might use Ajax (JavaScript and XML) or Ruby on Rails, but I've never really used any of these (there are probably others as well, but I'm not big into website development).

the main language all websites are made from is HTML (95% of all websites are html, the other 5% is a combination of the other languages)

for advanced websites you need more languages

CSS is uses to change the visuals of the HTML

javascript, php and SQL are used to give it advanced features

I just watched the movie The Social Network. Lol. I was already intrigued by coding but it just inspired me all the more.

In the movie Mark Zuckerberg practically creates facebook from bare code. I was wondering what coding language was that exactly? HTML? CSS? JAVASCRIPT?

I am new to this. I am mainly interested in creating websites (well use facebook as an example) and iphone apps. And I do not want to waist time learning a language that isnt required for those catagories.

I searched what language facebook is coded in and the results showed javascript, but when I research how to make websites, it says HTML, or CSS.

Is there one MAIN one to start with? Like the one Zuckerberg started with in the movie before incorporating the other? Or am I really going to have to learn ALL 3 (or 4, or 5) to create something along those same lines.