How to make dropdown?

I can't get the code in order to get it right. There are two problems:

1) Property :the hover works correctly when the mouse hover on the edge of the element(background) the text does not change color, it changes only if clearly if you hover the mouse over the text. This applies to items navbar'a and dropdown elements.
2) can't make dropdown. Doesn't get up there and takes the color of the navbar elements. Then if he just separately add the other colors, so it will be normal? Or is it not best practice?

My code:

Here is the original as I want to do:
April 19th 20 at 12:48
1 answer
April 19th 20 at 12:50

Find more questions by tags CSS