Think about it in terms of conjugate base.
First, remove the proton H from both molecules and make the Oxygen negative charge (i'm sure you know this part but just to be thorough)
so you have a negative charge on oxygen, and you also know that the stronger acid has the weaker conjugate base (more stable base). comparing fluorine and chlorine, which one is more electronegative? Fluorine. So, fluorine will withdraw electrons from the negative charge on oxygen, which stabilizes the negative charge. Since the conjugate base is more stable, the acid with the fluorine is a stronger acid.