I'm not sure what you mean by 'How do you create a portfolio?', they come in different presentations.
It's merely just a matter of showcasing (usually your best or favorite) pieces of work, with pixel art, I'd suggest keeping everything neat and tidy in a folder. A website is definitely a great place to showcase your work, however I have no know-how of creating websites, so I can't help you there.