WordPress-child problem with many css files in parent theme

I saw unstyled content in a child theme when I mistakenly changed the theme name in ‘style.css’ while it was still selected as the active theme in WordPress. So it wasn’t picking up anything from the theme or the parent. Maybe check the names and filepaths match up?

error code: 523