Liquid Level Sensor

I am learning the Arduino

Start with the simple examples that come with the Arduino IDE (development software). They teach you how to read the voltage on the analog input, among MANY other things.

Menu > File > Examples >