Yes and no. Hope I helped.
No but seriously, as cliché as it sounds, personality > looks. Looks will initially attract you to the person, but if they're boring af or have a trait you don't like, you'll quickly lose interest. As far as looks go, just maintain good hygiene and try to stay in shape, you'll feel more confident as a result too.
Also, this question is very subjective. Some girls/ guys will find looks to be very important, whereas others won't. All depends on the person. But regardless to whether they find looks to be important or not, you'll need an interesting/ fun/ attractive personality to maintain that attraction.