Giter Site home page Giter Site logo

css-diner's Introduction

Welcome to CSS Diner

It's a fun game to learn and practice CSS selectors.

To play, visit flukeout.github.io or cssdiner.com

Change Log

Aug 25,2016

  • Added Twitter, Facebook and Email share actions
    • Tracking clicks with GA Events
  • Made the level menu and editor area scroll independently
    • Using custom jQuery scroll library

Aug 18,2016

  • Started using cssdiner.com to redirect to flukeout.github.io

Aug 12,2016

  • Added checkmarks to completed levels in level menu and header

Aug 4,2016

  • Began tracking progress and correct guesses with GA Events

Filing issues and PRs

Please file issues and PRs in the css-diner repo.

Repo structure

Here's the repo structure, it's a bit confusing...

  • Currently, all of the working code (including issues, PRs and in-progress branches) is hosted in the css-diner repo
    • The lastest version of the code is on the develop branch
  • The live version is published from the flukeout.github.io repo
    • Live version lives on the master branch

Deploying

This is more of a note to myself in case I forget, to deploy the latest version, I'll have to push to the master branch on the flukeout.github.io repo from the latest develop branch.

Roadmap and Status

Potential Features & Improvements

  • Lots of people have trouble with level 19, how should I address this?
  • Create levels for attribute selectors
    • Will probably add attributes like customer='bob' and place a little nametag by those dishes
    • Also some great ideas in this issue
  • Figure out how to tackle the .table element
    • Including it in the selector string makes the selectors invalid, but it shouldn't
  • Investigate the order of stacked oranges in the markup, some users think it's counter intuitive
  • Block attempts to use comma between selectors
  • Only pass each level if that level's selector is used
  • Make it easier to navigate between levels
  • Number all of the levels in the menu
  • Add UI to Tweet about finishing all of the levels
  • Add additional challenges per Selector
    • Some repetition per level would be good

Special Thanks

css-diner's People

Contributors

adamlombard avatar adijav avatar barakplasma avatar edwarddiehl avatar flukeout avatar fuzzyfox avatar isti115 avatar jbylsma avatar jogloran avatar lalov1 avatar lionaneesh avatar lukeminall avatar mhbuck avatar nessworthy avatar nicoder avatar nstanton avatar openjck avatar simonwex avatar smashman avatar teancom avatar tylernisonoff avatar voltorb07 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

css-diner's Issues

User Feedback - Dhaiaka

Have maybe two modes like learn / puzzle.
If someone's learning, they pretty much need the hints right away.
So - lead with the rule / concept, then have them execute it a few times.

Developer feedback - Tests for javascript & views idea

Might be ideal to add tests to this.

I realise this is a bit of a hassle to do, but it can put people off introducing new bugs. I mean fixes ;)

Will attempt to write a few specs later (tomorrow evening seems likely) for you!

User Feedback - Antlam

Thought there were only 5 levels becuse of the example text.
Tried to hit the enter button with the mouse.

User feedback - Suj

Wasn't sure if it wasn't working or something was going wrong.
Need to figure out more about that.
Oh yeah - didn't know to hit the enter button.

How about translations?

If you have a plan to provide translations, please give me a notice when you start doing it. ๐Ÿ˜„

Fix the 24 errors of the site's CSS

Some browsers have legitimate problems to display the page. For instance, the first rule of the current CSS is box-sixing: border-box; which contains an obvious typo. Another dubious behavior is using some vendor extensions without the official rules, ie @-webkit-keyframes without @keyframes.

I suggest using the W3C CSS Validator at http://jigsaw.w3.org/css-validator/ and fixing each of the 24 errors it detects.

Selector - <tagname>

div sucks, maybe use and ?.. sucks because

doesnt work due to default styles, but maybe we can overwrite it

Syntax div not updating between levels

Most notably between level 12, 13 and 14.

See this gif.

If I select the text in that div, it updates, however.

I'm not sure if this is an issue on your end (I checked everything over and nothing sticks out. It also works in a local version.)

It could be an issue with Chrome in general...

Level 13: Please mention having the same parent

Select every pickle to the right of the bento

I was confused. I thought A ~ B means select every element that follows A. But, it means only those elements which have the same parent as A and the elements follow A.

User feedback - Sam

Didn't know how to 'try' a selector and didn't realize right away you are supposed to type it in there.

Ambiguous hamburger menu icon is ambiguous

screen shot 2014-02-17 at 4 53 25 pm

At first glance it seems to suggests that it would close the entire visible panel. Upon clicking it, it actually reveals the levels navigation.

Maybe another icon should be used? Perhaps a left pointing arrow that switches to pointing right when active, or simple text (might make more sense if you implement arrows next to the "Level 1 of 20" text).

User Feedback - Damien

Not sure what to do on the first level, thought maybe he had to type a rule to 'display:none' the plate or something like that.

I could just say "select the plate"

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.