Why doesn't this bootstrap navbar example run on my Codepen

I don’t understand. The content is all displayed centred when it should be horizontal? I’m really frustrated, whats going on?

You’ve already imported bootstrap in the HTML code, so the imports in the CSS settings are unnecessary (and conflict with those in the <head>).


In the head section, you don’t need to include CSS and JavaScript. Just do it in your pen settings. You just need to include one CSS, this one => https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css
You can check this fork => http://codepen.io/fgil/pen/yMvBPJ

I hope this helps.

You also don’t need the head and body tags.