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

Fix issues in code samples #6

Open
theanxy opened this issue Sep 2, 2014 · 1 comment
Open

Fix issues in code samples #6

theanxy opened this issue Sep 2, 2014 · 1 comment

Comments

@theanxy
Copy link

theanxy commented Sep 2, 2014

Hey there,

First off, I love the idea behind the language and the website itself. I’m sure uilang will be extremely useful for designers who want to add simple interaction to websites they’re working on.

TL;DR: Could you please update the "animated switch" code sample to utilise native HTML controls while still maintaining the behavior layer using uilang?

Disclaimer: as beginners seem to be the primary target of the tool, I think it’s important to share only best practices in code samples. Any problems there could be shared across the web: we all remember the case of outline: 0; in Eric Meyer’s reset.css or user-scalable=no in early meta viewport snippets.

I would be happy to implement an improved version, but code samples aren’t part of this repository.

Cheers and keep up the good work :)
Wojtek

@theanxy theanxy changed the title Improve code quality in code samples Fix issues in code samples Sep 2, 2014
@bendc
Copy link
Owner

bendc commented Sep 3, 2014

Good point. Finding the right balance between making examples super obvious and making robust, accessible examples isn't trivial. Leaving issue open, I'll think about it :)

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

No branches or pull requests

2 participants