Ok for those that do not know, The pixel 5 you need the model number from it to be sure the part you get is for that phone, you can find the model number in about section, regulatory labels, yes it's a pixel 5 but it still has a model number for it and they a different from carrier to carrier and what not so be sure you got the right model of your pixel 5 that will solve most of your problems getting wrong parts
make sure you have the right model number in there its in the about section under regulatory labels, model number will be at top, search for screen using model number to be sure