use add class for color instead of directly placing in li tag