function parameter and looping
styled paragraph appends words with no spaces