<!-- uses the html from PartikollenKA -->

[[[https://codepen.io/LOM/pen/57c6573b50f80e93b4500e4e854b99a7]]]
/* Använder CSS-filen från "PartikollenKA" som extern resurs */


  //getting questions from separate file and assigning them to new variables. "fraga11" will be exchanged in the different versions
  var fraga1 = window.fraga1,
    fraga2 = window.fraga2,
    fraga3 = window.fraga3,
    fraga4 = window.fraga4,
    fraga5 = window.fraga5,
    fraga6 = window.fraga6,
    fraga7 = window.fraga7,
    fraga8 = window.fraga8,
    fraga9 = window.fraga9,
    fraga10 = window.fraga15,
    fraga11 = window.fraga12;

  //putting questions in array to be able to reach them dynamically by index
  var fragor = [
    fraga1,
    fraga2,
    fraga3,
    fraga4,
    fraga5,
    fraga6,
    fraga7,
    fraga8,
    fraga9,
    fraga10,
    fraga11
  ];

  

External CSS

  1. https://codepen.io/LOM/pen/57c6573b50f80e93b4500e4e854b99a7

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
  2. https://s3-us-west-2.amazonaws.com/s.cdpn.io/2076398/fragor15.js
  3. https://s3-us-west-2.amazonaws.com/s.cdpn.io/2076398/partikollen.js