Learning a bit of responsive design and localStorage API