GithubHelp home page GithubHelp logo

responsive-landing-page's Introduction

Landing Page Project

Table of Contents

Instructions

The starter project has some HTML and CSS styling to display a static version of the Landing Page project. You'll need to convert this project from a static project to an interactive one. This will require modifying the HTML and CSS files, but primarily the JavaScript file.

To get started, open js/app.js and start building out the app's functionality

For specific, detailed instructions, look at the project instructions in the Udacity Classroom.

Development

Let’s start to explain my code:-

Interface and Architecture

1- Architecture:- All files attached as request in rubrics css

  • styles.css
    index.html js
  • app.js README.md 2- Usability:- checked the accessibility from all platforms (All features are usable across modern desktop, tablet, and phone browsers.). 3- Styling:- Styling has been added for active states. 4- HTML Structure:- for inserting fourth section used cloning code in js

Landing Page Behavior

1- Navigation:- Navigation is built dynamically as an unordered list. Start with empty ul and dynamically build navigation creating array from sections to use function and create navigation bar elements. Then make a function to check if sections in viewport, then made another function to toggle class " your- active- class" 2- Section Active State:- used scroll event and offset top to determine which active section to add class " active" to Li related to the active section and scroll to the list item in small screens. 3- Scroll to Anchor:- When clicking an item from the navigation menu, the link should scroll to the appropriate section and used create element to create button " go to top" when user click on it, and hide the button and header navigation bar when the page on top. And when user scroll down they are appeared to deal with them, and finally used event click to make the button responsive and go to the top of the page. 4- Used media query in js code to add some features to nav bar and hide it in mobiles screens

License

First project: Landing Page This code write by Mohamed Nassar copyrights Udacity Most of my searches in w3school and MDN websites topics but I wrote every code alone.

Footer

thanks to check my code and feed me back with your opinion and notes thanks

responsive-landing-page's People

Contributors

mnassarhub 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.