10 Replies
reeee
reeee4mo ago
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?
Jochem
Jochem4mo ago
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
reeee
reeee4mo ago
is it optional when i only have a few pages? like home, contact and login only?
Jochem
Jochem4mo ago
it's optional regardless it's just more work the more pages you have
reeee
reeee4mo ago
oh i have attended few courses but they never mentioned about these stuff do you know any source which explains this ?
Jochem
Jochem4mo ago
sorry, no
Jochem
Jochem4mo ago
it's the very basics of web dev, so probably https://web.dev/ and MDN probably has articles on it too
web.dev
web.dev
Guidance to build modern web experiences that work on any browser.
reeee
reeee4mo ago
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?
Jochem
Jochem4mo ago
no, you don't need frameworks to have multiple pages they just make it easier
reeee
reeee4mo ago
okay
Want results from more Discord servers?
Add your server