Web development
Web development involves writing a lot of HTML, CSS and JS code.
Historically (and even today to some extend), browsers could only understand HTML, CSS and JS
Any website that you see, is a bunch of HTML, CSS and JS files along with some assets (images, videos etc)
frameworks
. They compile down to HTML, CSS, JS in the end. That is what your browser understands.leetcode
, it does not run on your browser/machine. It runs somewhere else. Your browser can’t (almost) compile and run C++ code.Every language comes with it’s unique set of features.
Javascript has the following -
JavaScript is an interpreted language, meaning it's executed line-by-line at runtime by the JavaScript engine in the browser or server environment, rather than being compiled into machine code beforehand.