Code Monkey home page Code Monkey logo

fix-the-flow-ui-events's Introduction

Fork deze deeltaak en ga aan de slag. De instructie vind je in: docs/INSTRUCTIONS.md

Titel

Interactive buttons. Interactive buttons die verschillende animaties uitvoeren.

Beschrijving

De opdracht voor deze deeltaak is een oefening in ui-events waarin je experimenteert met muis, keyboard, touch Ên apparaat interactie en de afhandeling daarvan doormiddel van javascript. Aan ons was de opdracht om aan minimaal 10 knoppen interactie toe te voegen. Verder is de code is geschreven met HTML, CSS en Javascript. Tot slot kan je interacties uitvoeren met de buttons (met verschillende events en animaties).

https://tolga1999.github.io/fix-the-flow-ui-events/

Experimenten

Alle knoppen zijn geselecteerd met JS, nadat de knoppen zijn geselecteerd heeft elke knop een EventListener gekregen zodat je een verschillende event kan toevoegen aan de geselecteerde anchor (zoals click of double click). Tot slot toggle of add ik een class op de geselecteerde anchor zodat de animatie wordt geactiveerd.

Een simpel voorbeeld:

// frontend button
let frontendAnchor = document.querySelector('a:nth-of-type(1)');
frontendAnchor.addEventListener('click', frontendAnchorClick);

function frontendAnchorClick(){
  frontendAnchor.classList.toggle('frontend-animation');
}

Alle buttons zijn uitgebreid omschreven onder het kopje bouwen in de wiki.

hieronder een screenshot van de website:

GNU GPL V3

This work is licensed under GNU GPLv3.

fix-the-flow-ui-events's People

Contributors

koopreynders avatar tolga1999 avatar ju5tu5 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.