From 84c096c5bc1e07d80899df4039af23cd53fff8e5 Mon Sep 17 00:00:00 2001 From: Ghanshyam Singh Date: Mon, 8 Apr 2024 14:22:20 +0530 Subject: [PATCH 1/3] issue-5 resolved --- bug-beatles/score-keeper-project/score_keeper.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bug-beatles/score-keeper-project/score_keeper.js b/bug-beatles/score-keeper-project/score_keeper.js index ec1b916..be513f3 100644 --- a/bug-beatles/score-keeper-project/score_keeper.js +++ b/bug-beatles/score-keeper-project/score_keeper.js @@ -55,6 +55,7 @@ playerOneBtn.addEventListener('click' , function(e){ winner = true ; } }) + playerTwoBtn.addEventListener('click' , function(e){ console.log("btn 2 clicked"); if(playerTwoScore.value == input.value ){ @@ -78,7 +79,7 @@ resetBtn.addEventListener('click' , function(e){ console.log("btn reset clicked"); playerOneScore.value = "0"; playerTwoScore.value = "0"; - input.value = ""; + input.value = `${input.value}`; playerOneScore.innerText = `${playerOneScore.value}`; playerTwoScore.innerText = `${playerTwoScore.value}`; playerOneScore.style.color = "black"; From ca3375702cc35d9e70787bc93733204d28130de1 Mon Sep 17 00:00:00 2001 From: Ghanshyam Singh Date: Mon, 8 Apr 2024 14:32:27 +0530 Subject: [PATCH 2/3] issue-5 resolved --- bug-beatles/score-keeper-project/score_keeper.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bug-beatles/score-keeper-project/score_keeper.js b/bug-beatles/score-keeper-project/score_keeper.js index be513f3..7b6f560 100644 --- a/bug-beatles/score-keeper-project/score_keeper.js +++ b/bug-beatles/score-keeper-project/score_keeper.js @@ -90,7 +90,9 @@ resetBtn.addEventListener('click' , function(e){ }) - +function matchPlayed() { + if(playerOneScore.value == input.value || playerTwoScore.value == input.value +} From dd9b95be60f4199932b60a64af36012309411e30 Mon Sep 17 00:00:00 2001 From: Ghanshyam Singh Date: Mon, 8 Apr 2024 14:56:43 +0530 Subject: [PATCH 3/3] issue-1, chai colour matching html code rearrange but css is left --- bug-beatles/modern_chair/chair.html | 34 +++++++++++++++++++---------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/bug-beatles/modern_chair/chair.html b/bug-beatles/modern_chair/chair.html index 281fb2e..5379c13 100644 --- a/bug-beatles/modern_chair/chair.html +++ b/bug-beatles/modern_chair/chair.html @@ -49,17 +49,29 @@

$254 $530

Choose Color:
- - - - - - - - - - - +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ +