Responsive Web Design Projects - Build a Survey Form. Problem with media query

Responsive Web Design Projects - Build a Survey Form. Problem with media query
0

#1

Hi

Im having a problem with getting media query to work. At the moemnt it’s set to just change background color, but doesnt seem to kick in at all. Where did I make a mistake? Here’s codepen link: https://codepen.io/akolomanski/pen/vzGPav


#2

Hi,

You missed to put parenthesis around max-width: 1000 while writing media query


#3

You seem to have caught me mid trying out different stuff and indeed i managed to make it work with @media (max-width: 1000px). At time of posting it was @media screen and (max-width: 1000px) and didn’t want to kick in. I changed it back to it and it magically started working, but youre correct it was probably just stupid syntax error. Anywas thank for help.