11) Option One: Online
2https://magic.reactjs.net/htmltojsx.htm
3or
4https://transform.tools/html-to-jsx
5
62) Option Two: System (assuming you have npm)
7npm install html-to-jsx
1<script type="text/javascript">
2
3 function toggle_visibility(id) {
4 var e = document.getElementById(id);
5 var z=document.getElementById('quizresult');
6 if(e.style.display == 'block'){
7 e.style.display = 'none';
8 }
9 else{
10 e.style.display = 'block';
11 z.style.display = 'none';
12 }
13
14
15
16
17 }
18
19 function setradval(intp,vals){
20
21 document.getElementById(intp).value=vals;
22 }
23 function closequiz(){
24
25 document.getElementById('quizformat').style.display='none';
26 document.getElementById('sliderback').style.backgroundImage = "url('slider/slider1.jpg')";
27
28 }
29
30</script>