Skip to content

Commit

Permalink
design change and comment out remove
Browse files Browse the repository at this point in the history
  • Loading branch information
nigammishra committed Oct 4, 2024
1 parent 105b465 commit 566da12
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 117 deletions.
181 changes: 64 additions & 117 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Code Snippets</title>
<link rel="stylesheet" href="style.css">
</head>
<link rel="stylesheet" href="style.css" />
</head>

<body>
<body>
<header>
<div class="logo-container">
<a href="https://nigammishra.github.io/Nigam_Portfolio2/" target="_blank">
<img src="logo.png" alt="Logo" class="logo"> <!-- Replace 'logo.png' with your logo image file -->
</a>
</div>
<!-- <div class="portfolio-btn">
<div class="logo-container">
<a
href="https://nigammishra.github.io/Nigam_Portfolio2/"
target="_blank"
>
<img src="logo.png" alt="Logo" class="logo" />
<!-- Replace 'logo.png' with your logo image file -->
</a>
</div>
<!-- <div class="portfolio-btn">
<a href="#portfolio">Portfolio</a>
</div> -->
</header>
<div class="code-container">
<div class="section-title">Hello World</div>
<pre class="code-block"><code>
==================Hello World===========================
using System;
<div class="section-title">Hello World</div>
<pre class="code-block"><code>
using System;
class HeloWorld{
static void Main(string[args]){
Console.WriteLine("Hello, World!");
}
}
======================= End ========================
</code></pre>
</code></pre>
</div>

<div class="code-container">
<div class="section-title">Swapping</div>
<pre class="code-block"><code>
======================= Swapping ========================
using System;
<div class="section-title">Swapping</div>
<pre class="code-block"><code>
using System;

class swapping
{
Expand All @@ -55,15 +55,13 @@
Console.WriteLine($"After swapping: a = {a}, b = {b}");
}
}
======================= End ========================
</code></pre>
</code></pre>
</div>

<div class="code-container">
<div class="section-title">Fahrenheit</div>
<pre class="code-block"><code>
======================= Fahrenheit ========================
using System;
<div class="section-title">Fahrenheit</div>
<pre class="code-block"><code>
using System;

class Fahrenheit
{
Expand All @@ -77,13 +75,12 @@
Console.WriteLine($"Temperature in Celsius: {celsius:F2}");
}
}
======================= End ========================
</code></pre>
</div>

<div class="code-container">
<div class="section-title">Rectangle Area & Perimeter</div>
<pre class="code-block"><code>
<div class="section-title">Rectangle Area & Perimeter</div>
<pre class="code-block"><code>
======================= Find the area and perimeter of a rectangle ========================
using System;

Expand All @@ -104,14 +101,12 @@
Console.WriteLine($"Perimeter of the rectangle: {perimeter}");
}
}
======================= End ========================
</code></pre>
</div>

<div class="code-container">
<div class="section-title">Simple Interest</div>
<pre class="code-block"><code>
======================= Simple Interest ========================
<div class="section-title">Simple Interest</div>
<pre class="code-block"><code>
using System;

class simpleInterest
Expand All @@ -132,14 +127,12 @@
Console.WriteLine($"Simple Interest (SI) = {simpleInterest}");
}
}
======================= End ========================
</code></pre>
</div>

<div class="code-container">
<div class="section-title">Compound Interest</div>
<pre class="code-block"><code>
======================= Compound Interest ========================
<div class="section-title">Compound Interest</div>
<pre class="code-block"><code>
using System;

class compoundInterest
Expand All @@ -163,14 +156,12 @@
Console.WriteLine($"Compound Interest (CI) = {compoundInterest:F2}");
}
}
======================= End ========================
</code></pre>
</div>

<div class="code-container">
<div class="section-title">radiusCircle</div>
<pre class="code-block"><code>
======================= radiusCircle ========================
<div class="section-title">radiusCircle</div>
<pre class="code-block"><code>

using System;

Expand All @@ -190,17 +181,12 @@
}
}

======================= End ========================


</code></pre>
</div>
<div class="code-container">
<div class="section-title">positive </div>
<pre class="code-block"><code>
======================= positive ========================



<div class="section-title">positive</div>
<pre class="code-block"><code>
using System;

class positive
Expand Down Expand Up @@ -229,17 +215,12 @@
}
}

======================= End ========================


</code></pre>
</div>
<div class="code-container">
<div class="section-title"> EvenOdd</div>
<pre class="code-block"><code>

======================= EvenOdd ========================


<div class="section-title">EvenOdd</div>
<pre class="code-block"><code>
using System;

class EvenOdd
Expand All @@ -260,17 +241,12 @@
}
}

======================= End ========================

</code></pre>
</div>
<div class="code-container">
<div class="section-title"> Print Day Using Arrary </div>
<pre class="code-block"><code>

======================= dayUsingArrary ========================


<div class="section-title">Print Day Using Arrary</div>
<pre class="code-block"><code>
using System;

class dayUsingArrary
Expand Down Expand Up @@ -307,16 +283,12 @@
}
}

======================= End ========================


</code></pre>
</div>
<div class="code-container">
<div class="section-title">DayUsingElseif </div>
<pre class="code-block"><code>

======================= DayUsingElseif ========================

<div class="section-title">DayUsingElseif</div>
<pre class="code-block"><code>
using System;

class DayUsingElseif
Expand Down Expand Up @@ -375,17 +347,13 @@
}
}

======================= End ========================


</code></pre>
</div>

<div class="code-container">
<div class="section-title">Discriminant </div>
<pre class="code-block"><code>
======================= discriminant ========================


<div class="section-title">Discriminant</div>
<pre class="code-block"><code>
using System;

class discriminant
Expand Down Expand Up @@ -416,16 +384,12 @@
}
}

======================= End ========================


</code></pre>
</div>
<div class="code-container">
<div class="section-title">Greater among two number </div>
<pre class="code-block"><code>

======================= greater ========================

<div class="section-title">Greater among two number</div>
<pre class="code-block"><code>
using System;
class greater {
static void Main (string[]args)
Expand All @@ -444,16 +408,12 @@
}
}

======================= End ========================


</code></pre>
</div>
<div class="code-container">
<div class="section-title">Vowel </div>
<pre class="code-block"><code>

======================= Vowel ========================

<div class="section-title">Vowel</div>
<pre class="code-block"><code>
using System;

class Vowel
Expand Down Expand Up @@ -485,17 +445,12 @@
}


======================= End ========================


</code></pre>
</div>
<div class="code-container">
<div class="section-title"> Eligibility</div>
<pre class="code-block"><code>

======================= Eligibility ========================


<div class="section-title">Eligibility</div>
<pre class="code-block"><code>
using System;
class Eligibility
{
Expand All @@ -521,17 +476,12 @@
}
}

======================= End ========================


</code></pre>
</div>
<div class="code-container">
<div class="section-title">Rectangle to Square </div>
<pre class="code-block"><code>

======================= rectangletosquare ========================


<div class="section-title">Rectangle to Square</div>
<pre class="code-block"><code>
using System;

class rectangletosquare
Expand All @@ -555,11 +505,8 @@
}
}

======================= End ========================


</code></pre>
</div>

</body>

</html>
</body>
</html>
2 changes: 2 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,6 @@ header {
font-size: 1.4rem;
color: #ffa500;
margin-bottom: 10px;
text-align: center;
text-transform: uppercase;
}

0 comments on commit 566da12

Please sign in to comment.