A small page, built deliberately
This page started as plain text. Its structure was parsed before any HTML was generated.
A useful boundary
- Keep source text as data.
- Give links an explicit policy.
- Publish only after the complete page succeeds.
Literal HTML-like input stays visible: <script>this is displayed, never run</script>.
PYTHON
from pathlib import Path
message = "<source is data>"
print(message)
Continue the project
Inspect the HTML escaping reference and then change one paragraph and rebuild.
The larger Boot.dev Static Site Generator project continues into richer nodes and a complete website after classes, recursion and functional programming.