Git Product home page Git Product logo

js-tp-burger-menu's Introduction

JS-burger-menu

JS exercise given at HEPL


js-tp-burger-menu is an educational project, which will be used for JS courses.

Note: the school where the course is given, the HEPL from Liège, Belgium, is a french-speaking school. From this point, the instruction will be in french. Sorry.


Lors de vos cours de web, vous allez découvrir le langage JavaScript et le mettre en pratique pour apprendre à rendre vos pages web interactives.


Énoncé

  • JavaScript pour le comportement touch et la génération du bouton de menu
  • CSS pour les styles et les transitions

Le principe général est celui-ci :

  • Si JavaScript n'est pas activé ou si le navigateur est ancien, la navigation s'affiche simplement dans le flux, de façon accessible.

  • Sur petit écran (maxi 544px), main s'affiche par dessus navigation et le bouton de navigation nav-button apparaît.

  • JavaScript s'occupe de l'action touch en ajoutant/retirant la classe .is-opened sur main.

  • Sur grand écran (mini 545px), navigation est simplement placée dans le flux en haut de main.

  • Dans 1 premier temps, nous vous demandons de vérifier la présence des méthodes querySelector et addEventListener. Dans un deuxième temps, je vous invite à lire ceci : polyfill.io.

readme

Sources

Simple Nav de Raphaël Goetter.
(Navigation mobile-first Push Left librement inspiré du code du livre Responsive Design Patterns de Ethan Marcotte)

js-tp-burger-menu's People

Contributors

danielschreurs avatar noemievincent 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.