Git Product home page Git Product logo

landingpage's Introduction

Landing Page Project

Table of Contents




About

Author : Muhannad Alwagdani

Tools used : Visual Studio Code

Technologies used : HTML5, CSS3 and JavaScript



Project Description

the purpose of this project is to practice DOM manuplation, as well as practicing Events to make interactive webpage such as this page landing page.

In this project, 7 sections were created in the html page. based on the sections in the html, nav list items will be created dynamically in the app file. each points towards its corresponding section. Upon clicking on a list item in the nav, the window will scroll to that section.Whenever the user scroll down or up, the active section will be changed based on which section is in the viewport.

I used the querySelectorAll to select all sections and stored them into a variable to access them individually if needed.

I managed to come up with a mathmatical solution to predict which is the active section based on the sectoin height and the window scroll on virtical access. this helped me to improve the performance.



User Expereince

i've listed all posible UX for this project page, which are the following:

  • The user will click on the navlinks to go to the desired section
  • The nav bar will be hidden if the user did not scroll for over 5 seconds
  • The nav bar will be expanded when the user click on the nav it self (not the buttons inside it)
  • Upon scrolling or clicking a navbar link, the targeted section as well as the link will be triggered as active

landingpage's People

Contributors

muhannad-alwagdani 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.