what does it mean by divide by 2 and 5 counters i saw it on the datasheet but i was unsure what they were.
counting is dividing. For example, if you count to 10, then output a pulse, you will easily see that every 10th count (10 clocks) is an output pulse. Thus you have divided a clock by 10, while counting to 10.
So counters are also dividers, more generically.
The part (74HC390) has 2 separate dividers in each half of the chip, and each divider has a separate clock and common resets (per half)
It can be wired as divide-by-2, 4, 5, 10, 20, 25, 50 or 100. You can think of these as count-to-2, 4, 5, 10, 20, 25, 50 or 100. same thing.
So to divide by 10 (count to 10) first divide by 2 then divide by 5. So you need to wire the divide-by-2 Q output to the divide-by-5 clock input.
the other divide-by's are available if you wire them up.. for example.. ÷2 -> ÷2 -> ÷5 = ÷20 , ÷2 -> ÷5 -> ÷2 -> ÷5 = ÷100, etc.
the divide by 100 configuration gives you a BCD counter 00-99 in one chip, just as you've wired it, with the last output (of the ÷5) going to the ÷2 clock input of the next stage. But as it's been said already, you also need to wire the ÷2 output to the clock input of the ÷5 in each stage (to make each stage a ÷10). Don't ground the second clock input as drawn in your schematic.