I looked into it, messed around with delta again, and I set the fps to 60 and I could finally got it working, kind of.
Below is the code that I got working.
public void update(GameContainer gc, StateBasedGame sbg, int delta) throws SlickException{
// unit = ms?
counter += delta;
heroYspeed+=gravity*counter;
heroY+=heroYspeed;
if (heroY>=440){
counter=0;
heroYspeed=0;
Input input= gc.getInput();
if(input.isKeyDown(Input.KEY_UP)){
heroY=0;
}
}
I know I didn't use heroY += heroYspeed * time; but the character disappears when I use that code. It made sense that velocity * time would be distance and I wanted it to work, but I'm tired from wrapping my head around a few concepts, ha, ha.... (I spend some time in khan academy, and exercising my brain

)
I also want to find out about the relationship between delta, fps and update time. It's vague to me right now.