Why does the Whitehouse government page say John F Kennedy was the youngest elected president when he wasn't? I'm really confused by this

Btw the real youngest president is Theodore Roosevelt