5 ms·
What does this hypothetical chess page do? And how’s does it do it if it is static?
by andsoitis 3mo ago
What does this hypothetical chess page do? And how’s does it do it if it is static?
- Tepix 3mo agoIt uses javascript. Still a static file. Lets you play chess
- andsoitis 3mo agoDon’t you update the DOM to render the pieces as they’re moved?
- californical 3mo agoA static website is one that doesn’t have an associated backend API server, just serves as one or more self contained file assets. The files you serve to the browser are static, not the contents of the page itself Updating the dom can happen with only individual assets, so it’s a static site
- shepherdjerred 3mo agowhen someone describes a static site/app they generally mean there is no backend. not that the frontend is a static image for example you can service static sites from S3 that have HTML/CSS/JS but no API or DB
- TonyStr 3mo agoYou misunderstand the meaning of static web pages. Here's a short explanation of the terms: https://developer.mozilla.org/en-US/docs/Learn_web_development/Howto/Web_mechanics/What_is_a_web_server#:~:text=A%20static%20web%20server%2C%20or%20stack https://developer.mozilla.org/en-US/docs/Learn_web_developme...