Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing bunch of stuff #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

SystemPunch
Copy link
Contributor

Overall - Bringing the code up to modern standards and best practices.

clicky.js - Dramatically cleaned up code, promoting consistency and replacing vanilla JS with jQuery where appropriate. Add click handlers and move loop to DOM ready. Fixed bombs.

clicky.css - Replace the multiple button ID selectors with just a plain old button selector. Don't know why the IDs were used before; that doesn't really make sense at the moment. Maybe if other buttons are added that aren't going to use pointers it will be appropriate to use ID selectors.

clicky.html - Gave more descriptive ID names, improved consistency in markup, moved script tags to bottom of body, cleaned up img tags and gave alt text (dat accessibility)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant