Skip to content

Instantly share code, notes, and snippets.

@pixmin
Last active May 17, 2018 09:44
Show Gist options
  • Select an option

  • Save pixmin/6cf2a379b615db5daaed4c249c599aa0 to your computer and use it in GitHub Desktop.

Select an option

Save pixmin/6cf2a379b615db5daaed4c249c599aa0 to your computer and use it in GitHub Desktop.
Codi #3 - Challenge 1

Par où commencer une intégration + Challenge 1

Structure

code/
  challenge1/
    index.html
      css/style.css
      img/

Rappels

  • <img> toujours alt
  • CSS > Liens relatifs vers les images (../)
  • font-weight (keywords / value)
  • nommer les classes: .selected vs .yellow

Buttons

<a> vs <input type='button'> vs <button> ?

a => link input => in a form button => action out of a form / JS (ex: add to cart)

Balises HTML

header, nav, ul, article, section

Problem

  1. Check HTML (valid)
  2. Check CSS (valid)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment