This is awkwardly worded. "Do you have pain in your feet" or "do you have foot pain" would be better
Does the word 'ноги' mean feet or legs? I thought this meant 'do your legs hurt?' or 'do you have (a) pain your legs?'
Ноги may mean both feet and legs. To say "feet" we use ступні (singular ступня), but in general we say ноги much more often. У мене болять ноги. Мої ноги болять. These can mean both "my feet ache" and "my legs ache". I would think of ноги as legs below knees in spoken speech.