10 Replies
like in the navigation portion of this website, theres "all resources", "login" and "free signup"
did the creator of the page just create different htmls and linked those htmls in the respesctive buttons in the navigation bar?
that is the ultra-basic version of that, yes
a static site is just different HTML pages on a webserver
a lot of tools exist to help you do that without repeating yourself, from serverside templating engines, to router packages for frameworks (such as react-router), entire metaframeworks like next, nuxt, or sveltekit, static site generators
is it optional when i only have a few pages?
like home, contact and login only?
it's optional regardless
it's just more work the more pages you have
oh
i have attended few courses but they never mentioned about these stuff
do you know any source which explains this ?
sorry, no
it's the very basics of web dev, so probably https://web.dev/ and MDN probably has articles on it too
oh nvm
i just realized those courses has them.. it was just not explicitly mentioned "multiple pages"
it seems we require frameworks to do these stuff?
so do the people who say that they only use plain html css js also use those frameworks?
no, you don't need frameworks to have multiple pages
they just make it easier
okay