Skip to main content
Loot
Inspiring
Jan 11, 2021 7:07 PM UTC
Answered

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

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

const BMIMark = massMark / heightMark ** 2;

and this 

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Jon Fritz
    Jon FritzCorrect answer
    Community Expert
    Jan 11, 2021 7:18 PM UTC

    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
    Jan 11, 2021 7:18 PM UTC

    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.

    Translate