Completed Front-End Exercises

Exercise 5 and 6 are incomplete. They're tricky, to put it mildly.