12/16 !judgmental should come before the && operator


12/14 Introduction to React.js Part I

Error message: !judgmental should come before the && operator.
As far as I can tell, !judgemental is coming before the && operator. Any ideas what's wrong here?

var favoriteFoods = (
    <h1>My Favorite Foods</h1>
      <li>Sushi Burrito</li>
      <li>Rhubarb Pie</li>
      { !judgemental && <li>Nacho Cheez Straight Out The Jar</li> }
      <li>Broiled Grapefruit</li>


Its a typo
You typed !judg e mental
You should type !judgmental


Thanks so much! Spelling is hard.


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