GithubHelp home page GithubHelp logo

mozilladevelopers / playground Goto Github PK

View Code? Open in Web Editor NEW
166.0 166.0 47.0 35.42 MB

Website to learn about CSS Grid Layout and CSS Grid Layout Panel in Firefox

Home Page: http://mozilladevelopers.github.io/playground

License: Mozilla Public License 2.0

JavaScript 64.22% CSS 35.78%

playground's People

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

playground's Issues

Improve image example on home

Hi !

I discover the website soon and after the first reading on the homepage, I was confusing because "Grid tracks" and "Grid column" use the same image.

I little enhancement will be to change the "Grid column" image by selecting the first column for example and not the one at the middle.

This is the base64 code of the image updated:

data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTkzcHgiIGhlaWdodD0iMTQ3cHgiIHZpZXdCb3g9IjAgMCAxOTMgMTQ3IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6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SI0IiB4PSIxMzUiIHk9IjIiIHdpZHRoPSI1NiIgaGVpZ2h0PSI1My43NzA1NzI2IiByeD0iMiI+PC9yZWN0PgogICAgICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHN0cm9rZT0iIzMwNkZGRCIgc3Ryb2tlLXdpZHRoPSI0IiB4PSIyIiB5PSI2NyIgd2lkdGg9IjU2IiBoZWlnaHQ9IjUzLjc3MDU3MjYiIHJ4PSIyIj48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZSIgc3Ryb2tlPSIjMzA2RkZEIiBzdHJva2Utd2lkdGg9IjQiIHg9IjY5IiB5PSI2NyIgd2lkdGg9IjU2IiBoZWlnaHQ9IjU0IiByeD0iMiI+PC9yZWN0PgogICAgICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMyIgZmlsbD0iI0ZGOTQwMCIgb3BhY2l0eT0iMC42IiB4PSIwIiB5PSIwIiB3aWR0aD0iNjAiIGhlaWdodD0iMTIzIj48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZSIgc3Ryb2tlPSIjMzA2RkZEIiBzdHJva2Utd2lkdGg9IjQiIHg9IjEzNSIgeT0iNjciIHdpZHRoPSI1NiIgaGVpZ2h0PSI1My43NzA1NzI2IiByeD0iMiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K

Thanks

Typo on index

"It will be the element that has thedisplay: grid or display: inline-grid property on it."

space between 'the' and display: grid

Tweeted URL for `/&utm_source…` path leads to 404

The link in https://twitter.com/firefox/status/912475974687707136 leads to https://mozilladevelopers.github.io/playground/&utm_source=twitter&utm_medium=social&utm_campaign=DevelopersQ3&utm_content=A144_A252_C003300 which is a 404. I assume there were other query-string parameters to be prepended to the URL.

I would suggest deleting the Tweet campaign for this one, and make a new one with the URL containing ?utm_source=twitter instead of &utm_source.

Wrong license

The MIT License file (LICENSE) hasn't been modified since Gatsby was installed so it's saying this project "belongs" to them.

overflow-y:scroll in .content doesn't let scroll using keyboard

Using Firefox Developer Edition on Ubuntu 16.04
Pages: /playground/*
Issue: If someone clicks inside the content div and then tries to scroll using keyboard, one cannot scroll as the .content has overflow-y: scroll. (See screenshot)
screenshot from 2017-11-23 16-53-16

Quick fix: src/styles/layout/_layout.scss : .content { overflow-y: hidden; }

Also, the blank scrollbar doesn't look good either and is redundant.

Other than that, this works fine in Chrome but Firefox doesn't let scroll in parent container after focusing on scrolling child container with no more scroll space (Issue?)

Inconsistencies within the Debugger PlayGround documentation

Issues with Debugger Documentation

I have found some issues with the "Introduction to Debugger" documentation. I will list the issues below.

Page 1: Introduction

  1. The command given to open the debugger on windows is "shift + ctrl + s". This command should instead be "shift + ctrl + i".

    • Please see section A within the screenshot labeled "wrong_debugger_labels.png".
    • wrong_debugger_labels
  2. The picture labeled "All of the tools available in the tools pane" is mislabeled. The top two panes should be listed as the toolbar and watch expressions.

    • Please see the attached picture labeled "wrong_debugger_labels.png".
    • wrong_debugger_labels

Page 2: Find the Value of a Variable

  1. There is no source code provided to the user. They are unable to edit the associated JavaScript file (see error #2 below).
  2. When trying to edit the JavaScript within the debugger, the user is unable to modify the JavaScript within the debugger. The documentation states:

If we use one of the three methods to look at the value of title, we can spot our issue. The value isn’t a string like we’d expect, but rather it is an entire object! If we hover over title and scroll through its different properties, we’ll find that we should have referenced the ‘value’ property of the object instead of the entire object itself. Fix line 14 and the app will work properly.

The documentation does not tell us how to fix the line, or provide the source files so that we can fix the function locally and test it out using Brackets or some other IDE.

Page 3: The Call Stack

  1. Once again, the page mentions fixing a line within the removeSingle function. Please see below for the quote:

If we hover over index (or number), we see that it is undefined. If we hover over dataset we’ll see that there is no number property. There is only index. A typo! The line should say:

Page 4: Conditional Breakpoints

Nothing wrong was found on this page.

Page 5: Learn More

Nothing wrong was found on this page.

Thank you!

Repo maintenance

Hi. I see a few issues and pull requests from good people. But no one review them. I can help with it!

@slightlyoffbeat maybe you know someone who can grant me access to review and merge pull requests?

A week ago I translated articles about debugger to Russian for our community. And I rechecked all information. It's almost still correct. So it's possible to fix these 8 issues quickly.

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.