Skip to content

UFO Sightings


Setup

You own and operate ufosightings.com, a website with information about UFOs .

Run the following commands to build your project.

cd path/to/parent/dir/
mkdir ufo-sightings && cd ufo-sightings
git init
touch > index.html
echo "background-color: red;" > style.css
git add .
git commit -m "initial commit"

Challenge

You'd like to experiment with different background colors for your site. Create a branch named green and another branch named purple. Tweak the contents of style.css accordingly.

  • Make at least one commit in each branch.
  • Then merge main with the purple branch.
  • Finally, delete the green and purple branches.

See the solution