Go to www.hooktheory.com

Unable to type melody

when I type 1-7 I only get one chord and it doesn’t allow me to put in other melodies

You need to click in the area for the melody for it to input melody. IIRC it defaults in the chord area.