Javascript 4

In this example below you will see how to do a Javascript 4 with some HTML / CSS and Javascript

This awesome code was written by 210296, you can see more from this user in the personal repository.
You can find the original code on
Copyright 210296 ©
  • HTML
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

  <meta charset="UTF-8">
  <title>Javascript 4</title>



    <script  src="js/index.js"></script>



/*Downloaded from */
function hkis(){
  var q1 = prompt("What is 2+2?");
  if(q1=== "4"){
    alert("You're right!");
    var q2 = prompt("what is 3+3?");
    if(q2=== "6")