html - Text Not Appearing header -


i tried troubleshooting problem, no avail. perhaps dimensions not allowing me see text display below header? here's code have. appreciate insight. paragraph not appear @ bottom of header. again, appreciated.

<script>   $(document).ready(function()){   });  </script>  <style>   .body{     margin: 0px;       }   .homebutton{     width: 40px;    }   #midport{     background-image: url("");     height:750px;     width:1050px;     background-size:cover;   }   .topnav{     font-size: 20px;     font-family: times new roman;     position:fixed;     top 0;     width:100%;   }   #bg2{     background-color:red;    }     ul{     list-style-type:none;     margin:0;     padding:0;     overflow: hidden;     background-color: #333   }   li{     float:left;     border-right:1px solid #bbb;      }        li {     display: block;     color: white;     text-align: center;     padding: 14px 16px;     text-decoration: none;   }   li a:hover {     background-color: red;   }          .active{     background-color:#4caf50;   }   li a:hover:not(.active)    {     background-color: #111;    }   li:last-child{     border-right:none;   } </style>  <!-- check see if navigation bar remains @ bottom if use nav class instead of ul. if not, revert ul when user scrolls down-->  <div>   <header>     <!--<div class="container">-->     <h2 class="topnav" id="cs2">       <ul>         <li><a class="active" href="/home">home</li></a>         <li><a  href="/about me">about me</li></a>         <li><a href="contact">contact</li></a>       </ul>     </h2>   </header> </div> <main>   <header>     <div class="intro-text">       <p>front-end developer , economist, experience in project management, machine learning, , leadership roles; devoted functional programming , analyzing mathematical models solve ongoing economic</p>     </div>   </header> </main> <!--setup home button @ bottom-->       

to start, horrible html! should never have tags this:

<a><b></a></b> 

you must nest tags!! i.e.

<a><b></b></a> 

fix that, , see you're at.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -