second homework from web fundamentals(in progress)