The purpose of this exercise is to make lots of changes at once in a very uncoordinated way, to see how it can go wrong. Then we can talk about what happened, how to fix it, and how to avoid it in the first place.
Start by making a fork of https://github.com/HackYourFuture-CPH/module-Git-2-exercises into your own account. Then, clone that fork (from your account) to your laptop.
Open tiny-web-page/index.html
in your browser, to see how the web page looks at the moment.
The page looks great, but the team has been asked to make some changes to make it even better!
Here are the 10 changes:
- The background should be more blue. Let's change it to
rgb(30, 30, 55)
. - The background logo should be more transparent. Please set it to
opacity: 0.06
. - Please change the words "consisting of" to "made up of".
- Change the first list to an unordered list (
<ul>
). - Please reword "just 3 files" to "just three files".
- Please change the background colour to green.
- Add a CSS rule to indent the two lists, using
padding-left: 3em
. - Instead of calling it "tiny web page", let's instead say "small web page" (only in
index.html
; don't worry about the directory / repository names). - Wrap everything inside the body inside a
<div>
. Make sure to indent the file nicely. - Please fix the spelling mistake: "in the first plaice" should say "in the first place".
For each of the 10 changes separately:
- Start on
main
. - Create a new branch to represent this specific change.
- Make the edits required (inside the
tiny-web-page
directory) and commit. - Push your branch (to your fork).
- Make a pull request from your new branch, making sure that
the "base" is set to
HackYourFuture-CPH/module-Git-2-exercises
main
. (The "base" of a pull request means "where you would like it to be merged into").
Prepare the pull requests, but don't merge them yet.
By the end of this, we should have 10 open pull requests in https://github.com/HackYourFuture-CPH/module-Git-2-exercises/pulls, each one representing one of the tasks.