javascript window.innerWidth conditional statement
javascript
Solution
Close:
if (window.innerWidth < 1250 && window.innerWidth > 750) {
Problem
I have a script which shows different content depending on the screen size, it looks like this: ``` if ((window.innerWidth < 1250 )) { //Do something } ``` I am trying to set a greater than value as well as a less than value. I thought the follwoing would work: ``` if ((window.innerWidth < 1250 && > 750)) { //Do something } ``` Can anyone help me out?