I'm unable to link a ordered list in my HTML file to my CSS file. Can someone please tell me what I'm doing wrong?

I’ve tried using
<ol class=‘main-list’>

in the HTML file
**.main-list li [ **
in the CSS file

without any success. Please advise what I’m doing wrong.
The following is the link:

Thanks in advance.

I noticed you forgot a closing brace for .caption in the css file. Also a couple of closing html tags.

Typo. Can you spot the issue?

That was the first thing I looked for. It wasn’t in his code workspace. Just here in the question.

1 Like

I’m trying to work in the workspace to work things out, but it wont save my changes when I swap between files. Notice you are missing closing tags/braces in the html/css and then try it.

Thanks, I will ensure all my tags and etc… are where they are suppose to be and try it from there. Thank you. :slightly_smiling_face:

Thanks for your reply but the typo was just in the question not in the actual code.

1 Like