7-Segment display won't light up fully for each number in 2-Bit Counter
Okay, so the E segment does not turn on according to your description.
The E segment is pin '1' on the LED digit (assuming standard pinout). It is driven by the HC04 inverter pin 2. The inverter is driven by pin 13 of the Arduino.
You do not initialize pin 13 as an output and do not attempt to alter its output state, so not sure what good things you expect are going to happen.