Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Website from Scratch HTML and CSS for Beginners
Rating: 4.3 out of 5(476 ratings)
21,261 students

Website from Scratch HTML and CSS for Beginners

Exercise to practice building a web page from scratch using HTML CSS and JavaScript
Created byLaurence Svekis
Last updated 11/2024
English
English [Auto],

What you'll learn

  • Build a navbar
  • Build a single page website from scratch

Course content

2 sections19 lectures1h 11m total length
  • Introduction Webpage introduction2:11

    Build a one-page website from scratch using html and css, styled with sections and background images. Add interactivity with JavaScript at the end to implement advanced functionality.

  • developer setup3:18

    Set up your editor, such as Brackets, and use Chrome dev tools for live preview and inspection while prototyping with placeholder images and lorem ipsum text.

  • webpage setup3:13

    Set up your index.html with doctype and language, build a structured body with header, nav, sections, and a three-column footer, and add placeholders for style and script.

  • Setup Nav Structure and Elements3:57

    Set up the navigation structure with an unordered list of six sections, using hash links and section ids. Apply an active class and prepare javascript for highlighting and CSS styling.

  • Style NavBar CSS5:17

    Style the navigation bar with a nav element and list items, centering the menu, using display block; float items for a horizontal layout, add padding, remove underlines, and hover effects.

  • Add Placeholder Content to Sections6:54

    Add placeholder content to sections with a section class, a light border, and minimum height; center content in a container with min and max widths, and insert lorem ipsum text.

  • Tweak Header NavBar and Sections6:47

    Keep the header navigation fixed at the top with CSS, using 100% width and a 50px height, so the menu stays visible as users scroll through sections.

  • Build Sections8:21

    Apply background images and colors to sections with placeholder content, using background-size: cover and text overlay. Style with padding, margins, borders, and rgba for readability, preserving a white parallax-friendly backdrop.

  • Build Page Footer4:56

    Build a two-column footer with copyright info, page links, and social media, using call1 and call2, and style it with a background color, light font, and 66 percent widths.

  • Final Page Tweaks5:48

    Apply final page tweaks for a clean website from scratch by adjusting navigation margins, integrating Google fonts, and implementing an active navigation state with a bottom border.

  • JavaScript ScrollSpy Effect8:26

    Implement a JavaScript scroll spy that updates the navigation active state as you scroll through sections on a single page website, using offsetTop and an on-scroll handler to highlight anchors.

  • Source Code 30:27
  • Webpage Final Overview5:02

    Link external stylesheets and scripts, move css to a separate file and update the project, then test and tweak images and backgrounds to finish a polished, reusable web page.

  • Course Resources0:02
  • Source Code 10:08
  • Source Code 52:38
  • Source Code Final3:16

Requirements

  • Basic HTML and CSS knowledge
  • Desire to learn web development

Description

Want to build a single page website from scratch?

Perfect quick course to practice skills like HTML and CSS using them to build out a fully functional website from scratch.

  • Scroll with nice background images and text on top
  • Learn how to build a navbar and style it
  • Add headers and footers to your page
  • Explore how to use placeholder content for rapid web development and design
  • Use JavaScript to add Scroll spy to your navbar
  • bring everything together to build a website from scratch

Source code is included to get you started quickly

Step by step instruction on how to build add HTML and Styles

Taught by an instructor with many years of web development expereince

Fast and friendly advice and help always available in the Q&A section

Nothing to lose Build a website NOW!!!

Join now and see what amazing things you can build online.

Who this course is for:

  • Perfect for beginners
  • Anyone who wants to build a website from scratch using HTML and CSS
  • Anyone who wants to practice HTML and CSS