Kitchen Clean Up

ui

Cleaning up the kitchen after a big meal isn't the best part of the holidays, but someone's got to do it!

I might have had too much eggnog when I made this app, can you refactor it?

Remember, when you're refactoring, its important to change the code quality, not the functionality or styles. Here are some things to consider:

  • Are there areas where you can make a helper function to reuse?
  • Opportunities to use parameters
  • Spacing and indentation
  • Reusable classes for your CSS
  • Naming conventions (HTML, CSS and JS)!
  • Make sure HTML is semantic

BONUS

  • This user interface isn't great either. How could you make it more useable? A few things that stand out:
    • Its not clear which elements are clickable
    • The page refresh is a little jarring
    • The images take a long time to load
    • What else could be better?
  • Additional features:
    • Ability to add a new totally true fact about kitchens
    • Unique facts each time
    • Whatever you think!