Coder Social home page Coder Social logo

zh-betina / udacity---landing-page Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 945 KB

HTML, CSS (flex and grid), JavaScript. Dynamically created content navigation. Scroll-to-the-top button. Responsive. Prepared for Udacity Front End Development Nanodegree.

Home Page: https://zh-betina.github.io/UDACITY---Landing-Page/

CSS 42.13% HTML 31.82% JavaScript 26.05%
landing-page css udacity navigation javascript grid flexbox html

udacity---landing-page's Introduction

UDACITY---Landing-Page

See the Live Preview Used: JavaScript, CSS(grid, flexbox), HTML

About project:

Landing page project for Front End Developer Nanodegree program of Udacity. The main focus put on navigation functionality built with JavaScript.

The objectives (not optional):

  • Navigation is built dynamically as an unordered list.
  • It should be clear which section is being viewed while scrolling through the page.
  • When clicking an item from the navigation menu, the link should scroll to the appropriate section.

Suggested features (optional):

    • Hide fixed navigation bar while not scrolling.
    • Add a scroll to top button on the page that’s only visible when the user scrolls below the fold of the page.
    • Update/change the design/content.(Both html as well as css files were created from scratch).
    • Make sections collapsible.

Dynamic Navigation

This functionality is based on number of sections as well as their h2 innerText. The content of h2 is not displayed on the website but for every new section to be created, it is important to follow the rules:

  • Every new section requires a class "section" as well as an id as presented below with the next following number. For now these sections with id are included: "section0", "section1", "section2", "section3".
  • Each section must contain the corresponding h2 header. The navigation links text is based on those.

IMPORTANT: The CSS styling is not included for new sections. It is necessary to add necessary styling to corresponding id's in the main styles.css file.

Still to be improved/issues:

  • The CSS file might be restructured in the future to keep possible generally applicable basic section styling.
  • Disappearing navigation bar turned out to be a challenging task. After having tried different ways using setTimeout(), this optional functionality stays not included for the time being but possibly going to be approached again in the close future.
  • There are display issues on the native browser of the MiPro9 smartphone.

udacity---landing-page's People

Contributors

zh-betina 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.