Whether a girl can go to a temple during her period is different.

You can go now, no problem! Nuns live in this environment all day, and they don't say no. If they can't live, why not? If they say no, there is no reason, no basis and no source, so don't listen to those incorrect ones! Generally speaking, be respectful. Don't wear too much, don't be too special, don't be too loud, and treat it with respect and courtesy. It protects cultural relics from strong light and prevents color decay. Many still need your own attention!