JavaScript learnings from projects