Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Layout Techniques Flexbox Layout Providing Fallbacks with Modernizr

Ines Rosas
Ines Rosas
4,476 Points

cannot see the no-flexbox class when in browserstack

Hi! I am trying to do everything Guil does and when I open the index.html in IE 9, the no-flexbox class does not show in the developer tools. what am I doing wrong?

3 Answers

Ines Rosas
Ines Rosas
4,476 Points

I should add that I do see the flexbox class when I look at the same index.html file (the one in floder 4-5) on Chrome, which suggests to me that the modernizr is correctly linked...

Ines Rosas
Ines Rosas
4,476 Points

Looking at the dev tools in IE9 within browserstack, I click on the script tab and see :

SCRIPT1002: Syntax error modernizr.js, line 1 character 1

what does this mean?

Hi Ines,

We checked thoroughly and Modernizr works correctly on IE 9 on BrowserStack. The issue you are facing mostly occurs if the script or HTML tags (such as arrow tags) are not properly defined inside the script block. Please refer - http://bugs.jquery.com/ticket/9221.

Also, please check if the flexbox modules have been included in the Modernizr library you have downloaded - http://modernizr.com/download/#-flexbox-flexboxlegacy-shiv-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-load

If you still have issues, please drop a mail to support@browserstack.com and we will check further.

Mukesh@BrowserStack