<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<h1 class="title">Hello </h1>
<p id="currentTime"></p>
<script src="script.js"></script>
</body>
</html>
<title>Page Title</title>
</head>
<body>
<h2 class="welcome">Welcome to Search With Me!</h2>
<p>search the web freely.</p>
<p>The world's next search engine</p>
<form>
<input type="text" placeholder=" Search:a world of possibilities..." name="search">
<br><button type="search" class="box">search</button></br>
</form>
<br>
<body>
Have an account! Enter email here
</html>
</br>
<br>
<html>
<input type="email" class="password">
</body>
</br>
<p>
Password enter here!
</p>
<input type="password">
<br>
<button class="cool" name="button" value="OK" type="button" onclick="hello()">Quote of the day.</button>
</br>
<script>
<body>
<body style="background-color:powderblue;">
function hello(){
alert("There is nothing to fear but fear it selft");
}
</script>
<button ="coool">stop</button>
<body>
<body style="background-color: powderblue;">
</head>
<a href="page2.html">About Us</a>
</body>
</html>
<a href="page3.html">reload page</a>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Form</title>
</head>
<body>
<a href="gamepage.html">games</a>
body{
padding: 25px;
}
.title {
color: #2055;
}
.welcome {
color: #2054;
font-family: impact;
}
.box{
color: #2054;
}
p {
background-image: url('');
}
.password{
color: black;
}
.1234{
width: 0;
height: 0;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-bottom: 20px solid crimson;
}
.cool {
border-radius: 10px; /* value higher than height of the button */
padding: 10px 50px;
background-color: #2054;
border: none;
color: black;
font-size: 10px;
}
.box {
cursor: pointer;
border: none;
outline: none;
padding: 10px 15px;
position: relative;
function showTime() {
document.getElementById('currentTime').innerHTML = new Date().toUTCString();
}
showTime();
setInterval(function () {
showTime();
}, 1000);
<script>
function hello(){
alert("hello javatpoint user");
}
</script>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple HTML Page</title>
<style>
body {
font-family: Comic Sans MS;
margin: 20px;
padding: 20px;
background-color: #f4f4f4;
}
h1 {
color: #333;
}
p {
color: #668;
}
</style>
</head>
<body>
<header>
<h1>About the website</h1>
</header>
<main>
<p>Me and my friend has been making and coding websites. This is our latest one 😁</p>
<p>Go back to page one and search the web freely. FOR FREE 🤯.</p>
</main>
<footer>
<p>© 2024 Short Shearch</p>
</footer>
</body>
</html>
<a href="index.html">Go back to Home Page</a>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
.reload-button {
background-color: #3498db;
color: #fff;
padding: 10px 20px;
font-size: 1.2em;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease-in-out;
}
.reload-button:hover {
background-color: #2980b9;
}
</style>
<title>Fancy Reload Button</title>
</head>
<body>
<button class="reload-button" onclick="location.reload()">Reload</button>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Number Guessing Game</title>
<style>
body {
text-align: center;
}
#output {
font-size: 24px;
margin-top: 20px;
}
</style>
</head>
<body>
<h1>Number Guessing Game</h1>
<p>Guess a number between 1 and 10:</p>
<input type="text" id="guessInput">
<button onclick="checkGuess()">Submit Guess</button>
<div id="output"></div>
<script>
// Generate a random number between 1 and 10
const secretNumber = Math.floor(Math.random() * 10) + 1;
function checkGuess() {
// Get user input
const userGuess = document.getElementById('guessInput').value;
// Check if the guess is correct
if (userGuess == secretNumber) {
document.getElementById('output').innerHTML = 'Congratulations! You guessed the correct number! CLICK THE RUN BUTTEN OR RELOAD THE PAGE TO DO IT AGIEN';
} else {
document.getElementById('output').innerHTML = 'Sorry, try again!';
}
}
</script>
</body>
</html>