Created
September 26, 2019 14:50
-
-
Save danielnjama/24bcde4c4c07265136a3538eb6ebda5c to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/digayew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| .exam{ | |
| background-color: grey; | |
| font-family: Aerial; | |
| color: yellow; | |
| padding: 10px; | |
| margin: 100px; | |
| font-size: 18px; | |
| width:300px; | |
| height:px; | |
| } | |
| h1{ | |
| margin-top:100px; | |
| text-align:center; | |
| font-size: 170%; | |
| background-color: black; | |
| text-decoration: underline; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class='exam'> | |
| <h1>Select the correct answer</h1> | |
| <div class="q1"><p>How many legs does a cow have?<p> | |
| <form name='ques1'> | |
| <input type="radio" name='ans1' value=4 /> 4<br/> | |
| <input type='radio' name='ans1' value=2 /> 2<br/> | |
| </form> | |
| </div> | |
| <div class='q2'><p> Which direction does the sun set? </p> | |
| <form> | |
| <input type='radio' name='ans2' value="East" /> East <br/> | |
| <input type='radio' name='ans2' value="West"/> West <br/> | |
| </form> | |
| </div> | |
| <div class='q3'><p>What do human beings use for seeing?</p> | |
| <input type='radio' name='ans3' value='nose' /> Nose <br/> | |
| <input type='radio' name='ans3' value='eye' /> Eye <br/> | |
| </div> | |
| </div> | |
| <script id="jsbin-source-css" type="text/css">.exam{ | |
| background-color: grey; | |
| font-family: Aerial; | |
| color: yellow; | |
| padding: 10px; | |
| margin: 100px; | |
| font-size: 18px; | |
| width:300px; | |
| height:px; | |
| } | |
| h1{ | |
| margin-top:100px; | |
| text-align:center; | |
| font-size: 170%; | |
| background-color: black; | |
| text-decoration: underline; | |
| }</script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .exam{ | |
| background-color: grey; | |
| font-family: Aerial; | |
| color: yellow; | |
| padding: 10px; | |
| margin: 100px; | |
| font-size: 18px; | |
| width:300px; | |
| height:px; | |
| } | |
| h1{ | |
| margin-top:100px; | |
| text-align:center; | |
| font-size: 170%; | |
| background-color: black; | |
| text-decoration: underline; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment