Store Data with Sass Variables issue

Store Data with Sass Variables issue
0

#1

Tell us what’s happening:
This doesn’t make one tiny bit of sense.

Your code so far
Code that works:


<style type='text/sass'>
  
  $text-color: red;
  .header{

Code that doesn’t work:


<style type='text/sass'>
  $text-color: red;

  .header{

I think the script should check for the colour value and not the regex.

I had a guess there’s a check only for the regex so i looked at the layout of the code. For some unknown reason there’s a bias to have a space between the style tag and the css styling, but no more spaces until the closing style tag. So i figured i need to leave first line blank and then type in the one liner, obviously with perfect tab count before the line.

So why is this checked based on regex? The challenge is how good i am at guessing your prefered code formatting and structuring. :confused: