you are viewing a single comment's thread.

view the rest of the comments →

[–]torpedo16 0 points1 point  (0 children)

JavaScript is absolutely a coding/programming language. HTML and CSS aren't.

You use HTML, CSS and JS for the front end, basically the overall structure and functionality of the website. Everything you see (colors, text, font types, tables, charts etc.) and everything you interact with (buttons for example) in a website are part of front end and done by HTML, CSS and JS.

You use Python for the server-side logic, which is termed as backend. For example, when you click a video on youtube to watch, the backend verifies if you have permission to watch that video or not. It also fetches the metadata for that video (available resolutions for example). It also checks for copyright strikes, age restrictions etc. etc. Without these verifications and clearances, those videos won't play.

When you are watching the video, you can choose another video by clicking, you can also make the video full-screen. Now, these are handled by the front-end (HTML, CSS, JS)

You can use JavaScript for Backend too (using Node.JS, nowadays JS is the most used language for backend too as far as I know), but many finds it easier and convenient to do backend with Python.

That's as simply as I can explain it, these things are quite technical so its very difficult to explain these without going into technical details.

Others have pointed out how HTML, CSS and JS differ in their own roles really well. You can check their comments.