Compile code error

Just get this all the time after entering the SASS command into the terminal.

Error: Invalid CSS after "@import ": expected file to import (string or url()), was “{”
on line 1 of main.scss

sass main.scss main.css
Any idea what I’m doing wrong?

Hello @garynortheast,

Can you please post your CSS code over here. Thanks

Hi Gary,

Did you somehow get a { on line 1 of your main.scss file?

You can look under “Get Help” for the “I want to restart this exercise” option. That will put the default files back to the way they should be.

Please read

Thanks for your replies. I have it working now after resetting the exercise and starting again.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.