Loading a stylesheet conditionally & verifying CSS

If you want to load something on the archive page than, You should use is_archive() rather than is_page( ‘archived-posts’ ), and after that, you can use the keyboard command Ctrl + u to check view source of chrome. Thereafter, use command Ctrl + f to search ‘arch-post-stylesheet’css handle’ (Don’t forget to remove quotes while searching).