web page

html, css, js that make up a single page, each with a unique url

web site

collection of grouped webpages with a common domain

you pass a url on the browser url bar, and the browser uses http / https to hit the url, and works with the returned string (html)

Tradional Web application

each page is fetched from the web server as a seperate html file

Single Page application

a website where there’s technically only 1 page index.html and all other pages are pseudo pages. no actual call to web server is made. routing, data fetching, dynamic all handled on client.

react, angular etc compile into a .js with their own library that runs their “runtime” which does routing, dom manipulation, state mgmt, etc.

https://www.reddit.com/r/reactjs/comments/afhn9z/where_is_react_executed/

Browsers

web server

just a regular http server that returns html, json, xml, img etc

web framework