Completed exercise 7 using percentage instead of px