From 566da12254df7557092fb29fa19465941ed60ce9 Mon Sep 17 00:00:00 2001 From: nigam Date: Fri, 4 Oct 2024 21:05:05 +0530 Subject: [PATCH] design change and comment out remove --- index.html | 181 +++++++++++++++++++---------------------------------- style.css | 2 + 2 files changed, 66 insertions(+), 117 deletions(-) diff --git a/index.html b/index.html index fcdcbb8..3a920fd 100644 --- a/index.html +++ b/index.html @@ -1,43 +1,43 @@ - - - - + + + Code Snippets - - + + - +
-
- - - -
- + + +
-
Hello World
-

- ==================Hello World===========================
- using System;
+      
Hello World
+

+  using System;
  class HeloWorld{
      static void Main(string[args]){
          Console.WriteLine("Hello, World!");
      }
  }
-======================= End ========================
-        
+
-
Swapping
-

-======================= Swapping ========================
- using System;
+      
Swapping
+

+  using System;
 
  class swapping
  {
@@ -55,15 +55,13 @@
          Console.WriteLine($"After swapping: a = {a}, b = {b}");
      }
  }
-======================= End ========================
-        
+
-
Fahrenheit
-

-======================= Fahrenheit ========================
- using System;
+      
Fahrenheit
+

+  using System;
 
  class Fahrenheit
  {
@@ -77,13 +75,12 @@
          Console.WriteLine($"Temperature in Celsius: {celsius:F2}");
      }
  }
-======================= End ========================
         
-
Rectangle Area & Perimeter
-

+      
Rectangle Area & Perimeter
+

 ======================= Find the area and perimeter of a rectangle ========================
  using System;
 
@@ -104,14 +101,12 @@
          Console.WriteLine($"Perimeter of the rectangle: {perimeter}");
      }
  }
-======================= End ========================
         
-
Simple Interest
-

-======================= Simple Interest ========================
+      
Simple Interest
+

  using System;
 
  class simpleInterest
@@ -132,14 +127,12 @@
          Console.WriteLine($"Simple Interest (SI) = {simpleInterest}");
      }
  }
-======================= End ========================
         
-
Compound Interest
-

-======================= Compound Interest ========================
+      
Compound Interest
+

  using System;
 
  class compoundInterest
@@ -163,14 +156,12 @@
          Console.WriteLine($"Compound Interest (CI) = {compoundInterest:F2}");
      }
  }
-======================= End ========================
         
-
radiusCircle
-

-            ======================= radiusCircle ========================
+      
radiusCircle
+

 
              using System;
             
@@ -190,17 +181,12 @@
                  }
              }
             
-            ======================= End ========================
-            
+                        
         
-
positive
-

-            ======================= positive ========================
-
-
-
+      
positive
+

              using System;
             
              class positive
@@ -229,17 +215,12 @@
                  }
              }
             
-            ======================= End ========================
-            
+                        
         
-
EvenOdd
-

- 
-======================= EvenOdd ========================
-
-
+      
EvenOdd
+
 
  using System;
 
  class EvenOdd
@@ -260,17 +241,12 @@
      }
  }
 
-======================= End ========================
 
         
-
Print Day Using Arrary
-

-
-            ======================= dayUsingArrary ========================
-
-
+      
Print Day Using Arrary
+
 
              using System;
             
              class dayUsingArrary
@@ -307,16 +283,12 @@
                  }
              }
             
-            ======================= End ========================
-            
+                        
         
-
DayUsingElseif
-

-
-            ======================= DayUsingElseif ========================
-
+      
DayUsingElseif
+
 
              using System;
             
              class DayUsingElseif
@@ -375,17 +347,13 @@
                  }
              }
             
-            ======================= End ========================
-            
+                        
         
-
Discriminant
-

-            ======================= discriminant ========================
-
-
+      
Discriminant
+
 
              using System;
             
              class discriminant
@@ -416,16 +384,12 @@
                  }
              }
             
-            ======================= End ========================
-            
+                        
         
-
Greater among two number
-

-
-            ======================= greater ========================
-
+      
Greater among two number
+
 
              using System;
              class greater {
                  static void Main (string[]args)
@@ -444,16 +408,12 @@
                  }
              }
             
-            ======================= End ========================
-            
+                        
         
-
Vowel
-

-
-            ======================= Vowel ========================
-
+      
Vowel
+
 
              using System;
             
              class Vowel
@@ -485,17 +445,12 @@
              }
             
             
-            ======================= End ========================
-            
+                        
         
-
Eligibility
-

-
-            ======================= Eligibility ========================
-
-
+      
Eligibility
+
 
              using System;
              class Eligibility
              {
@@ -521,17 +476,12 @@
                  }
              }
             
-            ======================= End ========================
-            
+                        
         
-
Rectangle to Square
-

-
-            ======================= rectangletosquare ========================
-
-
+      
Rectangle to Square
+

             using System;
             
             class rectangletosquare
@@ -555,11 +505,8 @@
                 }
             }
             
-            ======================= End ========================
-            
+                        
         
- - - - \ No newline at end of file + + diff --git a/style.css b/style.css index cf9937b..a6d9329 100644 --- a/style.css +++ b/style.css @@ -71,4 +71,6 @@ header { font-size: 1.4rem; color: #ffa500; margin-bottom: 10px; + text-align: center; + text-transform: uppercase; } \ No newline at end of file