Giter Site home page Giter Site logo

landing-page-project's Introduction

Project 2

Landing Page

This project is for Udacity's Front End Nanodegree program. HTML and CSS starter code provided by Udacity.

Table Of Contents

  1. Description
  2. Instructions
  3. Index
  4. Styles
  5. App
  6. Launch

Description

This project is built using HTML, CSS, and Javascript. It implements DOM manipulation to create a nav menu dynamically, highlight section when scrolled and to toggle active class.

Instructions

The starter project has some HTML and CSS styling to display a static version of the Landing Page project. The project needs to be converted to an interactive one by modifying the starter code, but primarily the JavaScript file.

Index

This file represents the skeleton of the landing page. In the header tag, you'll find the

element which would need to be populated with an unordered list using javascript. In the tag, an extra section was added to make four sections containing lorem ipsum text that can be easily changed in the future.

Styles

This gives the landing page the look and feel that you see and experience. Starter code provided by Udacity.

App

Here is where the functionality happens. The navigation menu was dynamically built by populating the nav menu with an unordered list. An active state was implemented on both the nav menu and the section to highlight the section currently "active" in the page. It also listens for click events on the navigation menu and then scrolls the page to the appropriate section.

Launch

To open this file, simply clone or download the repository file and open the index.html file in the browser.

landing-page-project's People

Contributors

salaamazeezat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.