This repository was archived by the owner on Apr 18, 2025. It is now read-only.
generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 54
This repository was archived by the owner on Apr 18, 2025. It is now read-only.
[TECH ED] 🧰 Check your setup #53
Copy link
Copy link
Open
Labels
🧠 Prep workPrep material to be completed before Saturday's sessionPrep material to be completed before Saturday's session🎯 Topic Code ReviewReading, understanding, and analysing codeReading, understanding, and analysing code🎯 Topic TeamworkWorking productively with other peopleWorking productively with other people🏕 Priority MandatoryThis work is expectedThis work is expected📅 HTML-CSSTickets for HTML-CSSTickets for HTML-CSS📅 Week 3Assigned during Week 3 of this moduleAssigned during Week 3 of this module🦔 Size TinyLess than 30 minutesLess than 30 minutes
Description
Link to the coursework
Why are we doing this?
You must have the CYF VS Code extension pack installed and Prettier enabled. Don't use another formatter.
🧹 Formatting with Prettier
Using a shared formatting convention makes sure your "diffs" ( differences between the codebase and your changes) only show the code you intentionally wrote, and not a bunch of spaces or tabs. It will also help you read your own code as you work on it.
- In Visual Studio open the settings file (Code > Preferences > Settings)
- Search for editor format
- Set
editor.formatOnSave
andeditor.formatOnPaste
totrue
- Set the "Default Formatter" to be Prettier
- In your editor, write some html and save the file. It should be formatted (indented) automatically.
Maximum time in hours
.15
How to get help
Ask for help on Slack if you are having trouble with Prettier. We will work together on the same code in our components workshop, so if you don't have this set up, you will be blocked and unable to participate.
How to submit
It will be entirely obvious if you don't do this. 😜
Priscilla-MacGatus and Maheag
Metadata
Metadata
Assignees
Labels
🧠 Prep workPrep material to be completed before Saturday's sessionPrep material to be completed before Saturday's session🎯 Topic Code ReviewReading, understanding, and analysing codeReading, understanding, and analysing code🎯 Topic TeamworkWorking productively with other peopleWorking productively with other people🏕 Priority MandatoryThis work is expectedThis work is expected📅 HTML-CSSTickets for HTML-CSSTickets for HTML-CSS📅 Week 3Assigned during Week 3 of this moduleAssigned during Week 3 of this module🦔 Size TinyLess than 30 minutesLess than 30 minutes
Type
Projects
Status
📋 Backlog
Status
📋 Backlog
Status
No status