From 53a9d7a9283c233c77eefb28a0fa548926432476 Mon Sep 17 00:00:00 2001 From: Jagpreet Singh Khurana <119691733+Jagpreet153@users.noreply.github.com> Date: Mon, 25 Mar 2024 17:12:39 +0530 Subject: [PATCH 1/2] feat:styled navbar and made responsive added current tab feature --- Unit Converter/CSS/Currency.css | 3 + Unit Converter/CSS/length.css | 7 ++- Unit Converter/CSS/temperature.css | 3 + Unit Converter/CSS/volume.css | 3 + Unit Converter/CSS/weight.css | 3 + Unit Converter/HTML/currency.html | 25 +++++++- Unit Converter/HTML/length.html | 25 +++++++- Unit Converter/HTML/temperature.html | 26 ++++++++- Unit Converter/HTML/volume.html | 26 ++++++++- Unit Converter/HTML/weight.html | 26 ++++++++- Unit Converter/index.html | 35 ++++++----- Unit Converter/script.js | 11 +++- Unit Converter/styles.css | 86 +++++++++++++++++++++------- 13 files changed, 231 insertions(+), 48 deletions(-) diff --git a/Unit Converter/CSS/Currency.css b/Unit Converter/CSS/Currency.css index e69de29..b2687f0 100644 --- a/Unit Converter/CSS/Currency.css +++ b/Unit Converter/CSS/Currency.css @@ -0,0 +1,3 @@ +.cur{ + background-color: grey; +} \ No newline at end of file diff --git a/Unit Converter/CSS/length.css b/Unit Converter/CSS/length.css index b6e9cb2..eb6a9fd 100644 --- a/Unit Converter/CSS/length.css +++ b/Unit Converter/CSS/length.css @@ -1,5 +1,4 @@ -body { - margin: 0; +body{ font-family: Arial, sans-serif; background-color: #f5f5f5; } @@ -14,7 +13,9 @@ body { background-size: cover; background-position: center; } - +.len{ + background-color: grey; +} .containment { display: flex; flex-direction: column; diff --git a/Unit Converter/CSS/temperature.css b/Unit Converter/CSS/temperature.css index e69de29..98df40f 100644 --- a/Unit Converter/CSS/temperature.css +++ b/Unit Converter/CSS/temperature.css @@ -0,0 +1,3 @@ +.temp{ + background-color: grey; +} \ No newline at end of file diff --git a/Unit Converter/CSS/volume.css b/Unit Converter/CSS/volume.css index e69de29..b1d390a 100644 --- a/Unit Converter/CSS/volume.css +++ b/Unit Converter/CSS/volume.css @@ -0,0 +1,3 @@ +.vol{ + background-color: grey; +} \ No newline at end of file diff --git a/Unit Converter/CSS/weight.css b/Unit Converter/CSS/weight.css index e69de29..7bff833 100644 --- a/Unit Converter/CSS/weight.css +++ b/Unit Converter/CSS/weight.css @@ -0,0 +1,3 @@ +.wei{ + background-color: grey; +} \ No newline at end of file diff --git a/Unit Converter/HTML/currency.html b/Unit Converter/HTML/currency.html index fb4da95..b82e043 100644 --- a/Unit Converter/HTML/currency.html +++ b/Unit Converter/HTML/currency.html @@ -4,9 +4,30 @@
This is a simple unit converter.
@@ -42,6 +63,6 @@ - +