Комментарии:
Thank you
Ответитьthanks
ОтветитьThank you!!!
ОтветитьThank youu😊
ОтветитьWow thank alot I've struggled with it for one week
ОтветитьThis was helpful
Thanks!
Useful information 🙂
ОтветитьMany thanks bro
Ответитьcan someone help me ( in my page i can sea the head.body. html and Theis things how can i hide them)
ОтветитьMines still is not showing the text or coding in my browser can someone help?
Ответитьin my page with a right click i can not find open with browser
Ответитьi like your way of explain of html
Ответитьi can’t open default browser😢 pls help me😢😢😢😢😢
ОтветитьThank you so much. ❤❤❤❤
Ответить😂😂😘😘😘
Ответитьhehe i can hear the Namaz in the Background
ОтветитьVery helpful ❤❤
ОтветитьWhat's the name of two icons below extension's icon?
Ответитьvery nice accent
ОтветитьThank you so much❤❤❤
ОтветитьI love you brother
Ответить<!DOCTYPE html>
<html>
<head>
<title>Guess the Number</title>
</head>
<body>
<h1>Guess the Number Game</h1>
<p>Try to guess the number between 1 and 100:</p>
<input type="number" id="userGuess">
<button onclick="checkGuess()">Submit</button>
<p id="result"></p>
<script>
// Generate a random number between 1 and 100
const secretNumber = Math.floor(Math.random() * 100) + 1;
let attempts = 0;
function checkGuess() {
const userGuess = parseInt(document.getElementById('userGuess').value);
attempts++;
if (isNaN(userGuess) || userGuess < 1 || userGuess > 100) {
document.getElementById('result').textContent = 'Please enter a valid number between 1 and 100.';
} else if (userGuess === secretNumber) {
document.getElementById('result').textContent = `Congratulations! You guessed the number ${secretNumber} in ${attempts} attempts.`;
document.getElementById('userGuess').disabled = true;
} else if (userGuess < secretNumber) {
document.getElementById('result').textContent = 'Too low. Try again!';
} else {
document.getElementById('result').textContent = 'Too high. Try again!';
}
}
</script>
</body>
</html>
Thank you very much.
Ответитьvery helpful thankyou soooooo much sir😍😍
Ответитьhello, when i did the right click to open in default browser, it's not showing the result of my website saying "welcome to my website", instead it left a blank, issue?
ОтветитьWhen I write open in the browser it till me "we cannot connect to the extensions" what is the problem??
Ответитьbut still it is showing blank space what should i do?
ОтветитьThanks alot sir❤
ОтветитьWhich version you are using?
Ответитьhow did you save?
ОтветитьThank you so much sir
ОтветитьThank you
Ответитьthank you so much, you save me!!!
ОтветитьBut I have different I'ds in chrome browser and I want to particular chrome browser then how will de ?
Ответитьit doesnt work
Ответитьthank you so much sir!
Ответитьmashallah .. thanks bro
ОтветитьThis was very helpful! Thank you!!!
Ответитьr('y
ОтветитьVery helpful, thanks!
Ответитьthank you so much your awesome! I am new in the world of coding.🥰
ОтветитьYo just wanna say that GOD loved the world so much he sent his only begotten
son Jesus to die a brutal death for us so that we can have eternal life
and we can all accept this amazing gift this by simply believing in him (Jesus) asking for the forgiveness of your sins
and forming a relationship with heavenly father.
Thank you so much 😊
ОтветитьThank you so much. Lots of love from india❤
ОтветитьThanks! I'm new to coding and this was so simple, you've made me become a subscriber.👍🏽
ОтветитьYou saved my whole night sir.
Thanks a lot <3
Merci pour votre aide
Ответитьthx broo
ОтветитьNever realized Life of Boris made web dev videos!
Ответить