Process template: from task to published function
A workflow with Git and testing
§Understand the task
- 01Læs kravet og afklar uklarheder, før du koder
- 02Sketch the solution — which files and parts are affected?
- 03Break the task down into smaller, manageable steps
§Develop
- 01Create a new branch for the feature
- 02Write the code in small, coherent commits
- 03Test in the browser as you build
- 04Keep structure, style and logic separate
§Ensure quality
- 01Review your own code before asking others to look
- 02Check accessibility and responsive design
- 03Confirm that nothing else is broken
§Publish
- 01Send a pull request and have it reviewed
- 02Correct what the review points out
- 03Braid into the main line and publish
- 04Verify that the function works in the published environment