{"size": 675, "ext": "js", "max_stars_repo_path": "boulot-a/public/js/instagram.js", "max_stars_repo_name": "mperreir/Hyblab2021", "max_stars_repo_stars_event_min_datetime": "2021-01-26T08:09:36.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-29T13:53:05.000Z", "max_issues_repo_path": "boulot-a/public/js/instagram.js", "max_issues_repo_name": "Drarig29/Hyblab2021", "max_issues_repo_issues_event_min_datetime": "2021-01-16T11:26:02.000Z", "max_issues_repo_issues_event_max_datetime": "2021-02-08T18:29:49.000Z", "max_forks_repo_path": "boulot-a/public/js/instagram.js", "max_forks_repo_name": "Drarig29/Hyblab2021", "max_forks_repo_forks_event_min_datetime": "2021-01-08T16:56:04.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-27T09:57:54.000Z"}
{"max_stars_count": 6, "max_issues_count": 21, "max_forks_count": 15, "avg_line_length": 33.75, "max_line_length": 79, "alphanum_fraction": 0.7081481481}

const instaslide = function(section,data,texte) {

  var instaPicture = section.querySelector("#instaPicture");
  var description = section.querySelector("#description");
  var instagram = section.querySelector("#instagram");
  var lapin   = section.querySelector(".lapin");
  var category =section.querySelector("#category");
  console.log(data.image);
  if(data.image===""){
    instaPicture.src = "data/ILLUSTRATION SVG/CAROUSEL/Illu_"+data.type+".svg";
  }else{
    instaPicture.src = data.image;
  }
  instagram.style.transform = "scale(1)";
  category.innerText= data.name;
  description.innerText = texte;
  lapin.src = 'data/LAPIN%20SVG/Lapin_' +data.type +'.svg'
}
