hey guys i have a question. i have a file
mainStyle.scss index.html main-js.js
the main css is for the homepage. and on my home page i want to make a modal that pops up but i dont want the modal style to be put in the main.scss i dont want to clutter things. should i make a whole new different files? like this?
indexModal.html modalStyle.scss jsModal.js
or i can import the modal? any idea?
<head>section of index.html, and contact.html is an entirely separate page being loaded, then you would not have the
<head>from index.html any longer, so you need to have it as part of the HTML that is rendering
contact.html. If you did some other construction of the page, for example just make one page with all of the content in separate
<section>elements, and then hide / display them separately, they could be using the same
<head>because they would all be part of one HTML page. It is possible that someone will chime in with other options...