Posts

Showing posts from July, 2021

Alternative Colored table using HTML and CSS only.

Image
HTML for Table  <!DOCTYPE html>  <html>    <head>      <title>Colored Table | HTML</title>     <link rel="stylesheet"  type =" text/css" href="style.css">    </head>    <body>      <table id="a">        <tr>          <th>id</th>          <th>Name</th>          <th>roll</th>          <th>class</th>        </tr>        <tr>          <td>1</td>          <td>ram</td>          <td>3</td>          <td>six</td>        </tr>        <tr>          <td>1</td>          <td>ram</td>          <td>3</td>          <td>six</td>        <tr>          <td>1</td>          <td>ram</td>          <td>3</td>          <td>six</td>        </tr>        <tr>          <td>1</td&

Basic Calculator with HTML and JS

Image
HTML for Basic Calculator <!DOCTYPE html> < html > < head > < title > </ title > < meta name = "viewport" content = "width=device-width, initial-scale=1" > < link rel = "stylesheet" type = "text/css" href = " style.css" >        < link r el = "stylesheet" ref = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" > < script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js" > </ script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" > </ script > < script src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" > </ script > </ head > < body > < div class = "container" > < h2 > Basic Cal