Web development

image.png

Facts/Callouts

  1. React, NextJS are frameworks . They compile down to HTML, CSS, JS in the end. That is what your browser understands.
  2. When you run your C++ code on leetcode , it does not run on your browser/machine. It runs somewhere else. Your browser can’t (almost) compile and run C++ code.
  3. If someone asks — What all languages can your browser interpret, the answer is HTML, CSS, JS and WebAssembly. It can, technically, run C++/Rust code that is compiled down to Wasm

Before we proceed, do one of the following -

  1. Create an account on replit
  2. Install Node.js locally
  3. Keep your browser console open for testing locally ( totally not recommended )