BM: Baca dalam Bahasa Melayu
World 5: Teamwork
Write a great README
You will learn: what a great README says, and in what order.
The problem
quiz
stuff
Samβs quiz game might be fun. But the README just says βstuffβ. What is it? How do you play? Most visitors leave right here.
Try it
A great README: The front-door file of a repo. It says what the project is and how to start. answers five questions. Put them in a good order.
First question at the top. Put these in order. Use the arrows, or drag.
- Why is it useful?
- What does the project do?
- Who keeps it going?
- How do I get started?
- Where can I get help?
Hint
Start with what it is. End with the people behind it.Try it
Fix Samβs README. Add a line that says what the game does. Then add a Get started section with a command in backticks.
Add a short description, a ## Get started heading and one command in backticks.
Preview
Quiz Game
0 of 3 goals done
Hint
Need ideas? A quick maths quiz you play in your browser.Predict
Which first line helps a stranger most?
Pick one answer.
Check
Good README habit, or needs work? Swipe each one.
Swipe right for good, left for needs work. Or use the buttons.
Show the install command in a code block
Try it
Real mission, if you like: give your diary repo on GitHub a great README. Then check it here.
Check it on GitHub
- Your diary repo has a README.mdNot checked yet
You did it!
You can now write a README that welcomes strangers.
Go deeper (optional)
GitHub shows the README from .github/, the top folder or docs/. It checks them in that order. Add pictures with alt text, so everyone knows what they show. Use relative links like [Help](CONTRIBUTING.md): they work in every copy of the repo. A profile README comes in World 12.
Bahasa Melayu
Permainan kuiz Sam mungkin seronok. Tapi README dia cuma tulis βbenda-bendaβ. Apa benda ini? Macam mana nak main? Ramai pelawat terus pergi.
README yang hebat jawab lima soalan. Susun soalan itu ikut urutan yang baik.
Baiki README Sam. Tambah satu baris tentang fungsi permainan itu. Kemudian tambah bahagian Mula di sini, dengan satu arahan dalam backtick.
Baris pertama mana yang paling bantu orang asing?
Tabiat README yang bagus, atau perlu baiki? Leret setiap satu.
Misi sebenar, kalau anda mahu: beri repo diari anda di GitHub README yang hebat. Kemudian semak di sini.
Kini anda boleh tulis README yang mengalu-alukan orang asing.
You finished this before. Practice is always welcome!
Official docs: About READMEs Β· Basic writing and formatting syntax
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?