Preview section isn't reflecting

I am currently working on my portfolio assignment. After writing my HTML/ CSS, the preview isn’t reflecting my CSS code. It’s only the HTML and images. How can I fix it or isn’t it important?