HTML/CSS Assessment help ! has a 'form' element that is 600px when the window is wider than 600px

Learning Challenge

HTML/CSS. I got a 11/12 on the first assessment and can’t figure out where to find help for the question i got incorrect

Question

Where can I find how to do (has a ‘form’ element that is 600px when the window is wider than 600px)

What I’ve tried

Screenshots

Hi, @JorgeA95! Welcome to the community.

You’ll want to look into the max-width CSS attribute.

You should be able to apply it directly to the form element to ensure that it never goes over 600px.

Hope that helps. Let me know if you have any other questions!

Since its for the the ‘form’ element would it be like

. form {max-width: 600px}

I just can’t find clear examples of that specific question

form { max-width: 600px }

You should be able to test it out by applying the style and then opening your browser to full screen. Your form should not go all the way across the browser window.

Thank you so much for your help, I was just really stuck on that part, does this look about right? I just really don’t want to waste another attempt