FYI All questions

Why do astronauts float when Earth's gravity is still pulling on them?

They are in continuous free fall. Their spacecraft and everything inside it fall around Earth together, creating the experience of weightlessness.