Troubles with navbar

I’m trying to do the portfolio project and I looked up the navbar function.

It seems to work, but for some reason the text drops down a line so that they aren’t all even.
I’m just wondering what I’m doing wrong. Or even better…if someone could explain WHY the text suddenly jumps down a line.

This is my code:

<!DOCTYPE html>
<html >
  <meta charset="UTF-8">
  <link rel='stylesheet prefetch' href=''>

  <nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="#">About</a>
      <ul class="nav navbar-nav">
        <li><a href="#">portfolio</li>
        <li><a href="#">about</li>
        <li><a href="#">contact</li>
        <li><a href="#">more information</li>
  <script src=''></script>


you forgot to put ending link tag </a>
try this : <li><a href="#">portfolio</a></li>

good luck with your project…

1 Like

OMG! I can’t believe I missed that. Thank you so much. It’s getting too late for me, I better get to bed so as not to make silly errors like that!

PS: I tried to respond yesterday, but there was something wrong with my log in and I kept getting 500 errors.