Header looks weird and typed.js doesn't show up

89 views Asked by At

I'm a complete beginner in creating websites. My problem is that typed.js doesn't work. Second problem is that the header has rounded corners, even if I didn't say to do that.

Code for Problem 1 :

<script src="js/bootstrap.js"></script>
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/typed.js"></script>
<script>
var options = {
strings: ["HI im am cool", "HI im not cool"],
typeSpeed: 40

}

var typed = new Typed(".typing", options);
});

</script>

Code for Problem 2:

 <body>
    <div class="container-fluid">
      <header class="navbar">
       <div class="row">
        <div class="col-lg-4">
          <p>Fresh. Designz</p>
        </div>
        </div></header>
     .navbar {
         border-radius: none;
        left: 0;
         margin:0;
         padding:0;
         width: 100%;
    height: 50px;
         background: white;
         position: fixed;
             z-index: 100;
1

There are 1 answers

0
Vishal Sholkay On BEST ANSWER
<script src="js/bootstrap.js"></script>
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/typed.js"></script>
<script>
var options = {
strings: ["HI im am cool", "HI im not cool"],
typeSpeed: 40

}

var typed = new Typed(".typing", options);


</script>

I think there is a syntax error in your code try using the above code. After it your typed.js will work.