Giter Site home page Giter Site logo

random's Introduction

Random

A small tool for randomly selecting a student within a specified collection without allowing repetition. Originally intended for @mjmuir to use in class when choosing which student to present their answers, as to not randomly select the same student twice.

Available at http://aryuko.github.io/random/

Here's an example of how it looks in action: alt text

How to use:

Begin by inserting the github handles of all 13 total students through the input field. Left click to check/uncheck the checkboxes to mark whether the students are present or not. Right click to remove a handle. Increment the week number by left clicking the counter, decrement it by right clicking it.

After you've clicked "Select a student", the output will be shown to the right of the button with a link to that student's repo for the current week.

Students already selected are added to the left list, and cannot be selected again. Left click these to remove them from that list.

Handles and week number is stored in a cookie, no need to reenter the information every övning, all you need to do is check which students are present!

random's People

Contributors

matys18 avatar

Watchers

James Cloos avatar  avatar Hanna the Code Witch ✨ avatar

random's Issues

Enhancement: Bootstrapping

Bootstrapping or implementing media queries would be good, since that would enhance the cross-device experience, mainly on mobile.

Enhancement: Names

Being able to assign a name to a number would be a nice feature. The data could be saved in cookies, to avoid re-entering the entire list every time. 💭

Enhancement: Add animations

This would just be cool. 😄 Instead of a number just appearing, some cool animations could run first. Think CS:GO case opening or something along those lines 💭

Style: Follow a style guide.

This is really optional, but I like to use a style guide to make my code more concise. I like to use the google one. As it is right now, the HTML is fine, the JS is alright, but the CSS could use some work. 😇

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.