Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.16 KB

File metadata and controls

49 lines (42 loc) · 1.16 KB

jquery-basic-list

1. Afficher les données ci-dessus sous forme de liste dans une page html.

Vous devez utilisez la librairie jQuery :

http://api.jquery.com/

Apprentissage possible : https://github.com/simplonco/jquery-paint

var books = [
{
  title: 'CSS: The Definitive Guide',
  author: 'Eric Meyer',
  link: 'http://shop.oreilly.com/product/0636920012726.do',
  type: 'css'
},
{
  title: 'CSS Development with CSS3',
  author: 'Zachary Kingston',
  link: 'http://shop.oreilly.com/product/0636920057970.do',
  type: 'css'
},
{
  title: 'You Don\'t Know JS: Up & Going',
  author: 'Kyle Simpson',
  link: 'http://shop.oreilly.com/product/0636920039303.do'
  type: 'js'
},
{
  title: 'Programming JavaScript Applications',
  author: 'Eric Elliott',
  link: 'http://shop.oreilly.com/product/0636920033141.do'
  type: 'js'
},
{
  title: 'Modern JavaScript',
  author: 'unknown',
  link: 'http://www.oreilly.com/web-platform/free/modern-javascript.csp'
  type: 'js'
}
] ;

NB : n'oubliez pas de rajouter du style css.

2. Ajouter 2 boutons intitulés JS et CSS dans la page html qui permettent de filtrer, respectivement, les livres de type CSS et JS.