GithubHelp home page GithubHelp logo

clean-room's Introduction

Clean your room Project

Animation

In this project, i'm to create a delightful user experience.

Built a Checkbox button using css and javascript and added some aria attributes to make it seamless for the user.

The checkbox has three svgs which are:

  • Not-completed icon.

  • Loading icon.

  • Completed icon.

    Used the Css pseduo-class to focus and hover on the button for seamless experience.

    Dived more on the css animation using the @keyframes spin and zoom-in-spin for both the loading and completed icon svgs, added the animation-name, animation-duration, animation-timing-function. The keyframes for the animation is to transition from one state to another, using the 0 deg to 360deg for the loading spinner icon and 270deg to 360deg for the completed icon.

    Manipulated the DOM with the javascript, adding the classList to add and remove the (css class 'hidden').

    Added the arialabel on the button to tell the user what is Marked as done or not, added the aria-hidden="true" to the svgs to not make it visible to the screen reader.

clean-room's People

Contributors

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