As the resident chemist, let me chip in. You DON’T need to remember it. That’s why we write it down. What’s really important is that when you study chemistry you understand WHY it has the shape it does. That’s the important thing. It’s like a pack of cards. Who cares what the order is, so long as you know how to play a game of cards.
Hey, I’m a chemist too!! You do not need to remember the periodic table. Not ever. There is A LOT of information crammed into that table like groups of metals, non-metals, things that are kind of like metals and non-metals as well at things that go bang.
The important thing is to know how the Periodic Table is arranged and know where groups of elements are, like the non-metals are on the right side. The long bit in the middle are a group of transition metals that have really neat chemistry and do all sorts of things that break some of the “rules” just because they can.
Once you know why and how the Periodic Table is arranged, you can get all sorts of information from it like what two things can react and what won’t. To be honest, right now, I would struggle to fill in the first 20 elements of the Periodic Table and I’m okay with that. Some people might see that as a failure in a chemist but recalling the exact locations of elements on the Periodic Table isn’t a good measure of knowing how to use chemistry.