Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Shrikant Dhayje
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>
Enter fullscreen modeExit fullscreen mode

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

File Structure of The Site

static/  js/    script.js  styles/    style.cssindex.htmlLICENSEREADME.md
Enter fullscreen modeExit fullscreen mode

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">
Enter fullscreen modeExit fullscreen mode

At the Last of Body Tag

<scriptsrc="./static/js/script.js">
Enter fullscreen modeExit fullscreen mode

Pull Request


GitHub Repo

GitHub logo shriekdj / site-from-scratch

Here I Will Create My Site from Start to Finish.

Here I Will Create My Site from Start to Finish.

I Will Now Speed Up The Process.




Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

I'm a software developer from India. :india:I live in Shrirampur City, Maharastra :india:I'm currently learning Back-end Web Developing via Python Programming Language.
  • Location
    Shrirampur City, Maharashtra State, India
  • Education
    BCA Graduate at CD Jain College, Shrirampur Affiliated to S. P. Pune University, Maharashtra, India
  • Work
    Full Stack Web Dev at Indiacom (Tellme Digiinfotech), Pune, India
  • Joined

More fromShrikant Dhayje

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp