Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
simon lavery
17,485 PointsLanguages for web design ?
I am currently working through the web design courses, getting used to html then it switches to javascript and now php, and I have noticed that they are all very similar, just different syntax (if that makes sense), but I just wanted to know if they all work together in web design. I know javascript and php can be used with html but is that how it works, do I need to learn a few different languges for web design or is it better to stick to 1 ?
2 Answers
DATA DEER
18,940 PointsMost web pages consist of different files and little programs that where written in different languages. Every single language serves its own purpose. To write a modern website/application you'll need more than 1 language. I'd recommend you to read this answer about the difference between languages like HTML, CSS, PHP and JavaScript. Its very informative ;)
thibaut noah
8,692 PointsIf you do pure webdesign aka frontend you normally are not suppose to bother yourself with php as you will only do the design of the site so html css and js, taking in consideration that for most big projects people use the mvc architecture, it's not your job to do the backend, though it is good to know how to do so.
simon lavery
17,485 PointsThanks i'd better keep learning all three, i think.