Skip to main content
Loot
Inspiring
January 11, 2021
Answered

why does this return an error when it's not?

  • January 11, 2021
  • 1 reply
  • 182 views

why does this return an error when it's not?

const BMIMark = massMark / heightMark ** 2;

and this 

    This topic has been closed for replies.
    Correct answer Jon Fritz

    Among other problems with it, Dreamweaver's Linting feature doesn't understand fr units.

    If everything validates at http://validator.w3.org/nu you can ignore the Linting errors. If the red line numbers from false positives for errors is as annoying to you as it is to me, you can go to Edit > Preferences > Linting and uncheck Enable Linting. 

    Adobe has said a few times that they're working on it, so maybe the next version will understand valid code.

    1 reply

    Jon Fritz
    Community Expert
    Jon FritzCommunity ExpertCorrect answer
    Community Expert
    January 11, 2021

    Among other problems with it, Dreamweaver's Linting feature doesn't understand fr units.

    If everything validates at http://validator.w3.org/nu you can ignore the Linting errors. If the red line numbers from false positives for errors is as annoying to you as it is to me, you can go to Edit > Preferences > Linting and uncheck Enable Linting. 

    Adobe has said a few times that they're working on it, so maybe the next version will understand valid code.