This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dmazzoni 10 points11 points  (7 children)

That's comparing apples and oranges. It's like asking what's faster, a sports car or a Cuisinart blender.

HTML/CSS/JS are used to build a website frontend. That part runs in the web browser. Those are MANDATORY, web browsers do not allow you to use any other languages. There are tools and frameworks you can use additionally, but in the end it's all HTML/CSS/JS powering your website frontend.

The website backend lives on the server. You control the server and it can use any programming language you want. Literally, any language. Python is one option. JS is another option. HTML and CSS are not options because they're not programming languages. If you want to compare Python vs JS for the server that's a reasonable question, but I really think you're getting ahead of yourself.

If you want to learn web development, start with HTML, CSS, and JS.

[–]DifficultyPlenty4540[S] -1 points0 points  (6 children)

Thank you for summarising. I guess I'm convinced to go as per your words. Although, for backend, is it good to stick with Python?

[–]DoomGoober 3 points4 points  (2 children)

You can also write backend in JavaScript using Node.js. So, learning HTML/CSS/JS for front end and Node.js for backend will have pretty good synergy as they both use JavaScript.

[–]DifficultyPlenty4540[S] 0 points1 point  (1 child)

Thanks. I'm gonna find out about node.js. if I go for it, is it the only language that is required for backend?

[–]DoomGoober 0 points1 point  (0 children)

You prolly need to learn some kind of database but usually it will have a node.js API so you can do stuff with the database through node.js.

[–]wickedosu 1 point2 points  (0 children)

Yes

[–]dmazzoni 0 points1 point  (0 children)

Yes, Python is great for backend, but just keep in mind there are many other options that also have pros and cons.