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

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

#1

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


#2

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>).


#4

Hi,

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.


#5

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