Skip to content

rperry99/Query-selector-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Query Selector Playground

Screenshot of the "Select Ice Types" filter being used.

I am practicing my query selector knowledge by creating a little app that shows selecting different pieces of a table using buttons.

When you click on a button, it will highlight certain parts of certain tables. A brief description of the query selector used and any additional code will be shown to explain what is going on.

You can check out a live version of this project hosted on GitHub Pages here

Functionality

  • You can select all the odd number rows in both tables.
  • You can select specific rows or cells, that have pre-determined attributes.
    • The "Glaceon" and "Talonflame" rows have this data attribute.
    • The cells "Weavile" and "Arcanine" have this data attribute.
  • You can select only the ice type Pokemon while not selecting the header row.
  • You can select all of the Pokemon with a base stat total of 530 and above.

About

Getting some practice in using query selectors with an interactive little app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published