Skip to content

Commit d350886

Browse files
committed
fixed issues
1 parent 66c82d7 commit d350886

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

String Palindrome Checker/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ git clone https://github.com/Ayushparikh-code/Web-dev-mini-projects.git
2929

3030
<h3> Video Demo </h3>
3131

32-
<video controls width="960" alt="">
33-
<source src="">
32+
<video controls width="960" alt="palindrome">
33+
<source src="https://user-images.githubusercontent.com/78655439/127328702-50b0e983-cd63-4dd9-94d8-513bc7b8d467.mp4">
3434
</video>
3535

3636
<br>

String Palindrome Checker/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ document.getElementById("btn").addEventListener("click", function() {
66
let new_revstring = string_rev.toUpperCase();
77

88
if (new_string == new_revstring) {
9-
let string_pal = document.getElementById('stringPal').value = "Yes";
9+
document.getElementById('stringPal').value = "Yes";
1010
} else {
11-
let string_pal = document.getElementById('stringPal').value = "No";
11+
document.getElementById('stringPal').value = "No";
1212
}
1313

1414
document.getElementById('stringLength').value = string_length;

String Palindrome Checker/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ label {
5656
position: relative;
5757
width: 30%;
5858
height: 50px;
59-
border: none;
6059
margin: 15px 0 20px;
6160
background: #fff;
6261
border: 2px solid lightgrey;

0 commit comments

Comments
 (0)