Shrikant Dhayje
Posted on • Edited on • Originally published atcodewithshriekdj.netlify.app
Building Website from Scratch - Part 4
Preface.
So Now I Made Some Changes About the Sections of HTML Page and also link blank CSS And JS ( JavaScript ) file inindex.html
.
Section Addition in<body>
tag.
I Added Given Code in body tag after thediv
tag withwrapper
class.
<!-- Main Section --><mainclass="main"> Main Section</main><!-- Footer Section --><footerclass="footer"> Footer Section</footer>
Blank Style-sheet and JS ( JavaScript ) file Is Created and Linked.
I Created and linked the Blank file with Some New Folder.
Given Below Is Image of The Structure
static/ js/ script.js styles/ style.cssindex.htmlLICENSEREADME.md
Added link to Style-sheet and Script file.
Used the./static/styles/style.css
and./static/js/script.js
type path with forward slash not backslash for future use in any Type of Operating System
Within head tag
<linkrel="stylesheet"href="./static/styles/style.css">
At the Last of Body Tag
<scriptsrc="./static/js/script.js">
Pull Request
GitHub Repo
Top comments(0)
Subscribe
For further actions, you may consider blocking this person and/orreporting abuse