[resolved] Bootstrap and p5 invisble canvas in jumbotron


Hello, I’ve got a small problem, I was trying the bootstrap and p5 exemple here and it works great, but not when I try it localy.
I’ve make some modification (path to the sketch) and simplify but the code but nothing worked
My code is simple but the canvas is still invisible

index.html :

    	<meta charset="utf-8">
    	<title>p5 walkthrough</title> 
    	<script src="sketch.js"></script>
    	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.5/css/bootstrap.css">    	
        <div class="container">
            <div id="jumbo-canvas" class="jumbotron">
              <hr />


function setup(){
  var canvas = createCanvas(800, 200)
  background(255, 0, 200)

function draw() {

Does someone can explain me why ?
Thanks !

1 Like

Find the solution x) I suck so much, I did not put the p5.xxxx.js script inport