Saturday, November 21, 2020

How to create simple Quiz app in Javascript?

 Quiz App in Javascript:

In this tutorial you will learn HTML, CSS, BootStrap and Java library -Jquery. This is fun way to learn these topics by making app.You will learn how to use show, hide and toggle function by making cool app. Video and Source code are included so make and show to world. 



<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Quiz Application</title>
            border:  2px solid black;


    <link rel="stylesheet"
    <div id ="container">
        <h1> Quiz App</h1>
        <h3>1. Tallest Mountin in the world?</h3>
        <p>Mount Averest</p>
        <h3>2. Deepest ocean the world?</h3>
        <h3>3. Longest River in the world?</h3>
        <!-- <button id ="hid"class="btn btn-danger">Hide</button>
        <button id ="sho"class="btn btn-warning">Show</button> -->
        <button id ="tog"class="btn btn-dark">Hide|Show</button>
    <script src=""
        //   $("#hid").click(function(){
        //       $("p").hide();
        //   })
        //   $("#sho").click(function(){
        //       $("p").show();
        //   })

java switch statement | Java Tutorial For Beginners

 Switch statement is alternative and more cleaner way to write code if we have more than two options. we can use else if, this is better way...