From 9d783285ef04b4669ec5a8ff83febaa3f07a6bfb Mon Sep 17 00:00:00 2001 From: Sam12354 <161862599+Sam12354@users.noreply.github.com> Date: Fri, 3 Apr 2026 15:26:09 +0300 Subject: [PATCH] Fix typos and improve spacing in quotes --- RandomQuote/MaxBR97/index.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/RandomQuote/MaxBR97/index.js b/RandomQuote/MaxBR97/index.js index 87b84e53d..7dea450d8 100644 --- a/RandomQuote/MaxBR97/index.js +++ b/RandomQuote/MaxBR97/index.js @@ -1,15 +1,15 @@ const allQuotes = [ - {sentence: "Two things are infinite: the universe and human stupidity, and I'm not sure about the universe.", person: "Albert Einstein"}, - {sentence:"You can't reason with a tiger when your head is in its mouth." , person:"Winston Churchill"}, - {sentence:"An appeaser is one who feeds a crocodile, hoping it will eat him last.", person:"Winston Churchill"}, - {sentence:"Peace will come when the Arabs will love their children more than they hate us.", person:"Golda Meir"}, - {sentence:"Anyone who doesn't belive in miracles is not a realist." , person:"David Ben Gurion" }, - {sentence:"We Jews have a secret weapon in our struggle with the Arabs; We have no place to go." , person: "Golda Meir" }, - {sentence:"We shall fight in France, we shall fight on the seas and oceans, we shall fight with growing confidence and growing strength in the air, we shall defend our island, whatever the cost may be. We shall fight on the beaches, we shall fight on the landing grounds, we shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender." , person: "Winston Churchill"}, - {sentence:"One thing can't be defeated is love.You can conquer hate by ignoring it. You can destroy it by loving the person next to you. So I want everybody here tonight to look at the person standing next to you and just tell them you love them or happy that they are here with you tonight and having a good time, listening to music,celebrating life. We don't care what are you look like,we don't care where are you come from,we don't care what you believe in.We love every single one of you out there and nothing will ever change that." , person:"Chester Bennington" }, - {sentence:"When life leaves us blind, love keeps us kind." , person: "Chester Bennington" }, - {sentence:"I try so hard and got so far in the end it doesn't even matter" , person: "Chester Bennington"}, - {sentence:"Have you got colour in your cheecks?", person:"Alex Turner"} + { sentence: "Two things are infinite: the universe and human stupidity, and I'm not sure about the universe.", person: "Albert Einstein" }, + { sentence: "You can't reason with a tiger when your head is in its mouth." , person: "Winston Churchill" }, + { sentence: "An appeaser is one who feeds a crocodile, hoping it will eat him last.", person: "Winston Churchill" }, + { sentence: "Peace will come when the Arabs will love their children more than they hate us.", person: "Golda Meir" }, + { sentence: "Anyone who doesn't believe in miracles is not a realist." , person: "David Ben Gurion" }, + { sentence: "We Jews have a secret weapon in our struggle with the Arabs; We have no place to go." , person: "Golda Meir" }, + { sentence: "We shall fight in France, we shall fight on the seas and oceans, we shall fight with growing confidence and growing strength in the air, we shall defend our island, whatever the cost may be. We shall fight on the beaches, we shall fight on the landing grounds, we shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender.", person: "Winston Churchill" }, + { sentence: "One thing can't be defeated is love.You can conquer hate by ignoring it. You can destroy it by loving the person next to you. So I want everybody here tonight to look at the person standing next to you and just tell them you love them or happy that they are here with you tonight and having a good time, listening to music,celebrating life. We don't care what are you look like, we don't care where are you come from,we don't care what you believe in.We love every single one of you out there and nothing will ever change that." , person: "Chester Bennington" }, + { sentence: "When life leaves us blind, love keeps us kind." , person: "Chester Bennington" }, + { sentence: "I try so hard and got so far in the end it doesn't even matter" , person: "Chester Bennington" }, + { sentence: "Have you got colour in your cheecks?", person: "Alex Turner" } ]; const generateQuote = () => { @@ -18,7 +18,7 @@ const generateQuote = () => { const formattedPerson = ` - `.concat(person); document.querySelector("div.quote").textContent = formattedSentence; document.querySelector("div.person").textContent = formattedPerson; - document.querySelector("a.twitter-share-button").setAttribute("data-size",formattedSentence.concat(formattedPerson)) + document.querySelector("a.twitter-share-button").setAttribute("data-size",formattedSentence.concat(formattedPerson)); } document.getElementById("generate").addEventListener("click", generateQuote) \ No newline at end of file