Commit Message Best Practice Quiz
Multiple Choice Easy
Question
Which is the best commit message?
Hint
Good messages describe what and why.
Explanation
A good commit message describes what the change does and why it was made. "Fix login bug where empty password was accepted" is specific and actionable. Messages like "update", "changed stuff", or "asdf" are useless when reading history months later.
Related Resources
Related Lessons
Related Cheatsheets
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.