Lesson 6: Practice: tidy and find
Level 1, Meet Your Computer. A mission: tidy the files, then find them again. It follows lesson 5, Meet the terminal. Next comes lesson 7, Level 1 test: Find the Cat.
What the lesson explains
Tidy and find. Everything from Level 1, mixed up. Two files are still loose in Documents. Let’s tidy them, then find them.
A folder for songs. New folder, then Cut and Paste. On the card: music
What you do first
A folder for stories. Make a new folder called stories at C:\Users\you\Documents\stories: click New folder, type the name, press Enter.
The files on the practice computer
This lesson works in one folder. At the start, Documents holds my-project\, song.mp3, story.txt.
Along the way you make the folder music in Documents, move song.mp3 into music, make the folder stories in Documents and move story.txt into stories. Lesson 7 opens with the files just as you leave them.
What you practise
Try it, "A folder for stories": Make a new folder called stories at C:\Users\you\Documents\stories: click New folder, type the name, press Enter.
Mission, "Tidy it, then find it": Move story.txt into stories: click it, Cut, open stories, then Paste here. It ends up at C:\Users\you\Documents\stories\story.txt. Then: Build the path of song.mp3 from tiles, part by part: C:\Users\you\Documents\music\song.mp3. Then: In the practice terminal, type cd stories at the prompt PS C:\Users\you\Documents>; the prompt then reads PS C:\Users\you\Documents\stories>. Then: In the practice terminal, type dir at the prompt PS C:\Users\you\Documents\stories> and the computer answers: Directory: C:\Users\you\Documents\stories / Mode Name / ---- ---- / (empty folder).
In your head, "Where is the song now?": Which is the path of song.mp3? The answer: "C:\Users\you\Documents\music\song.mp3".
Help in every lesson
Everything happens on a pretend computer in your browser, so nothing touches your real files. PlayBuddy and PlayType stand beside the board, cheer you on and say when it is your turn.
A green ring shows where to click the first time. After that you do it on your own, and if you slip twice the ring comes back.
Stars
The lesson has 6 things to do. Up to one slip in ten gives three stars, up to one in four gives two, and finishing always gives at least one. Stars and progress are saved in this browser only; there is no account.
About DayOneCode
DayOneCode is an independent learning site, not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.