Code Monkey home page Code Monkey logo

hubble-landing-page-v2's People

Forkers

arkive

hubble-landing-page-v2's Issues

bootstrap - easy pie chart conflict

Hello gays!
I try to embed easy pie chart.js in my bootstrap page, but something gets wrong always and I can not realize what it's and how to fix it.
Please, help
Here is my HTML code:


<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>

<link rel="icon" type="image/png" href="images/favicon.ico">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" class="rel">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/superslides/0.6.2/stylesheets/superslides.css" class="rel">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fancyapps/[email protected]/dist/jquery.fancybox.min.css" />
<link rel="stylesheet" href="style.css" class="rel">    
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css">
<link rel="stylesheet" href="styles.css" /> 

<!-- <script src="jquery.easypiechart.js"></script> -->      
<title>Document</title>
BootChilPage

I have known as DevChil ...

No, I am not so anonymous...I just like a lot my nickname:)

All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words.

The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable.

programming-learn

Techical skills

Here is a presentation of my front-end skills used in this project

Refresh the page to see the effect

  <div class="box">
    <div class="chart mt-4" data-percent="93">93%
      <h5>HTML5</h5>
    </div>
  </div>

  <div class="box">
    <div class="chart mt-4" data-percent="90">90%
      <h5>CSS3</h5>
    </div>
  </div>

  <div class="box">
    <div class="chart mt-4" data-percent="68">68%
      <h5>jQuery</h5>
    </div>
  </div>

  <div class="box">
    <div class="chart mt-4" data-percent="72">82%
      <h5>Bootstrap4</h5>
    </div>
 </div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.6/isotope.pkgd.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/easy-pie-chart/2.1.6/jquery.easypiechart.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.10/typed.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/superslides/0.6.2/jquery.superslides.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> <script src="JS/boot.js"></script>

here is my CSS: @import url('https://fonts.googleapis.com/css?family=Montserrat|Rokkitt');
@import url('https://fonts.googleapis.com/css?family=Josefin+Slab:600');
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface|Montserrat');
@import url('https://fonts.googleapis.com/css?family=Raleway');

html {
scroll-behavior: smooth;
}

body {
background-color: #E1DCD9;
font-family: 'Rokkitt', serif;
}

.navbar {
background: maroon !important;
width: 95%;
margin: 0 auto;
}

.navbar-brand {
color: white;
letter-spacing: 4px;
text-shadow: 2px 2px 5px black;
font-weight: bold;
font-size: 1.75rem;
}

.nav-link {
color: white;
font-size: 1.30rem;
font-family: 'Rokkitt', serif;
}

.navbar-brand {
font-family: 'Josefin Slab', serif;
font-weight: bold;
}

#main-container {
background-image: url("images/working-desk.jpg");
background-size: cover;
background-repeat: no-repeat;
//position: center center;
min-height: 650px;
max-width: 95%;
border: 2px solid black;
}

#main-container img {
max-width: 100%;
}

#main-container .sub {
position: absolute;
top:70%;
left:50%;
transform: translate(-50%, -50%);
width: 95%;
text-align: center;
color:white;
text-shadow: 2px 2px 2px black 1px 1px 1px maroon;
margin: 0;
padding: 0;
font-size: 2.0rem;
letter-spacing: 2px;
font-weight: bold;
text-transform: uppercase;
}

#main-container h2 span {
color: maroon;
}

.container-fluid {
background-color: #082d57e6;
min-height: 400px;
max-width: 95%;
margin-top:60px;
}

.container-fluid h4, p {
color:white;
background-color: transparent;
text-shadow: 2px 2px 1px maroon;
}

.container-fluid h4 {
font-size: 28px;
}

.container-fluid p {
font-size:18px;
letter-spacing: 2px;
}

#gray {
color: maroon;
text-shadow: 1px 2px 4px white;
font-weight: bold;
}
.container-fluid img {
max-width: 90%;
padding: 5px;
border: 1px solid white;
margin: 16px;
}

#skills {
background-color: maroon;
min-height: 400px;
max-width: 95%;
margin-top:60px;
}

.white-line {
height: 4px;
color: white;
border-bottom: 1px solid white;
}

#skills h2 {
color: white;
font-size:40px;
text-shadow: 1px 2px 1px black;
letter-spacing: 2px
}

.tech-2 {
letter-spacing: 3px;
}

.box {
width: 25%;
float: left;
color: white;
}

.chart {
position: relative;
width: 110px;
height: 110px;
margin: 0 auto;
text-align: center;
font-size: 28px;
}

.mySlides {display:none;}

.footer {
width: 95%;
margin: 0 auto;
background: black;
height: 120px;
}
.footer p {
color: white;
font-size: 22px;
}

.rights {
text-align: center;
padding: 22px 0;
font-weight: bold;
letter-spacing: 2px;
}

.rights a {
color: maroon;
text-shadow: 1px 1px 1px white;
font-size: 1.50rem;
letter-spacing: 3px;
}
.fab {
margin-right: 16px;
color: maroon;
text-decoration: none;
text-shadow: none;
font-size: 22px;
background: #E1DCD9;
opacity: 0.5;
padding: 6px;
border-radius: 4px;
transition: 0.3s ease;
width: 55px;
}

.fab:hover {
opacity: 1;

}

.footer span {
line-height: 60px;
}

here is my JS: var typed = new Typed(".typed", {
strings: [
"I am DevChil",
"I am a Front End Developer",
"Welcome to My Bootstrap page challenge "
],
typeSpeed: 50,
loop: true,
startDelay: 1000,
showCursor: false

});

var element = document.querySelector('.chart');
new EasyPieChart(element, {
// your options goes here
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.