Skip to content

Commit 6cd1220

Browse files
committed
minor fixes, UI - gradient
1 parent 1179d98 commit 6cd1220

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# JavaScriptAlgorythms
22

3+
- JavaScript
4+
- CSS 3
5+
- HTML 5
6+
- Bootstrap
7+
38
1. Name Swap
49
- EXAMPLE:
510
1. 'Doe Jane' -> 'Jane Doe'

css/main.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ strong
2828
/*-----------------------------------------*/
2929
.blue-container
3030
{
31-
background-color: #17A2B8;
31+
background: rgb(52,82,96);
32+
background: linear-gradient(90deg, rgba(52,82,96,0.9724264705882353) 0%, rgba(47,116,146,1) 24%, rgba(47,116,146,1) 42%, rgba(23,162,184,1) 71%, rgba(29,177,200,1) 100%);
3233
color: #e2e2e2;
3334
padding: 3rem 0 3rem 0;
35+
margin-bottom:1rem;
3436
}
3537

3638
.algorithms

index.html

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ <h1 class="display-4"> JavaScript Algorithms </h1>
2929
<div class="algorithms">
3030
<div class="row">
3131
<div class="col-4">
32-
3332
<div class="example">
3433
<h1 class="display-4"> Name Swap </h1>
3534
<h3 class="lead"> EXAMPLE </h3>
3635
<h6> Doe Jane -> Jane Doe </h6>
3736
<h6> Nowak Jan -> Jan Nowak </h6>
3837
</div>
39-
4038
<div class="row">
4139
<div class="col-8">
4240
<input class="form-control form-control-lg" type="text" id="nameSwap" name="nameswap">
@@ -45,23 +43,16 @@ <h6> Nowak Jan -> Jan Nowak </h6>
4543
<button onclick="nameSwap()" class="btn btn-dark btn-lg"> Swap! </button>
4644
</div>
4745
</div>
48-
4946
<p class="lead"> RESULT </p>
5047
<strong id="swapNameResult"> ------------ </strong>
51-
52-
5348
</div>
54-
55-
5649
<div class="col-8">
57-
5850
<div class="example">
5951
<h1 class="display-4"> Palindrome </h1>
6052
<h3 class="lead"> EXAMPLE PALIDROMES </h3>
6153
<h6> Never odd or even </h6>
6254
<h6> Do geese see God? </h6>
6355
</div>
64-
6556
<div class="row">
6657
<div class="col-8">
6758
<input class="form-control form-control-lg" type="text" id="palindrome" name="palindrome">
@@ -70,18 +61,15 @@ <h6> Do geese see God? </h6>
7061
<button onclick="palindrome()" class="btn btn-dark btn-lg"> Is palindrome? </button>
7162
</div>
7263
</div>
73-
7464
<p class="lead"> RESULT (true/false) </p>
7565
<strong id="palindromeResult"> ------------ </strong>
76-
7766
</div>
78-
79-
8067
</div>
8168
</div>
8269
</div>
8370
</div>
8471

72+
8573
<!--JS-->
8674
<script src="algorithms.js"></script>
8775

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy