Not operator help please

I am confused on how to use the not ! operator particularly in this lesson
https://www.codecademy.com/courses/introduction-to-javascript/lessons/control-flow/exercises/logical-operators

let mood = 'sleepy';
let tirednessLevel = 6;

if (mood === 'sleepy' ! tirednessLevel > 8) {
  console.log('time to sleep')
} else {
  console.log('not bed time yet')
}

It keeps giving me a syntax error of unexpected token. The other operators seem to work just fine there. What am I doing wrong?

for ‘and’ the correct operator is &&

ok, but the exercise asked to do these steps
After you press “Run”, play around with the || operator and the ! operator! What happens if you negate the value of the entire statement with ! and switch to || instead of && ?

where do i place the ! at?

Yea your supposed to negate the value of the entire statement:

(!mood === ‘sleepy’ || tirednessLevel > 8

let mood = 'sleepy'; let tirednessLevel = 6; if (!mood === 'sleepy' || tirednessLevel > 8){ console.log('time to sleep'); } else { console.log('not bed time yet'); }

Oh I C, thank you for the help!