The F Major guitar takes a little bit of practice and is often the first chord that beginners learn to play using a barre. This is where one finger is laid flat to hold down more than one string. In this case the first finger is laid flat over the top E and B strings at the first fret. Using the edge of your finger rather than placing your finger flat helps the notes to sound clearly.
If you've got the hang of this, you can also play the F major chord as a barre chord. Here the first finger is lying across all of the strings on the 1st fret. It takes a little more practice to play, but it does mean you can play all 6 strings.
Practice changing between the Fmajor chord and the C major chord and try working through all of the beginner guitar chords listed here.