Kizspy | Question: 27
(Choose 1 answer)
<body>
<p id="demo"></p>
<script>if (Math.random() < 0.5) {
text = "<a href='https://w3schools.com'>Visit W3Schools</a>";
} else {
text = "<a href='http://wwf.org'>Visit WWF</a>";
} document.getElementById("demo").innerHTML = text;
</script>
</body>
What is the output?
A. write a link to either VisitW3Schools or to VisitWWF
B. write a link to VisitW3Schools
C. write a link to VisitWWF
D. All of the others
FUOVER