Experiment:14 Create web page using jdoodle platform
Date: / /2024
Problem Statement:
Create web page using jdoodle platform.
Aim:
Theory:
1. <!DOCTYPE html>:
2. <html>:
3. <head>:
4. <meta>:
5. <title>:
6. <body>:
7. <h1>:
8. <div>:
9. <p>:
10. <a>:
11. <style>:
12. <script>:
Algorithm:
Step1->
Step2->
Step3->
Step4->
Step5->
Step6->
Step7->
Step8->
Step9->
Step10->
Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Beautiful Webpage</title>
<style>
/* Global styles */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(to right, #00c6ff, #0072ff);
color: #fff;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
text-align: center;
/* Container for content */
.container {
background: rgba(255, 255, 255, 0.1);
padding: 40px;
border-radius: 15px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
max-width: 600px;
width: 90%;
transition: transform 0.3s ease;
}
/* Hover effect for the container */
.container:hover {
transform: scale(1.05);
h1 {
color: #ffd700;
font-size: 48px;
margin-bottom: 20px;
p{
font-size: 18px;
line-height: 1.6;
color: #f8f9fa;
margin-bottom: 30px;
/* Button styling */
a{
display: inline-block;
padding: 12px 25px;
background-color: #ffd700;
color: #333;
text-decoration: none;
border-radius: 30px;
font-size: 16px;
transition: background-color 0.3s ease;
}
a:hover {
background-color: #ffa500;
/* Footer styling */
footer {
margin-top: 50px;
font-size: 14px;
color: rgba(255, 255, 255, 0.8);
footer a {
color: #ffd700;
text-decoration: none;
footer a:hover {
text-decoration: underline;
</style>
</head>
<body>
<div class="container">
<h1>Welcome to Webpage!</h1>
<p>This is a simple webpage created using html, css , and javascript. Feel free to explore, modify, and enjoy
the design.</p>
<a href="https://www.crescent.education" target="_blank">Visit site</a>
</div>
<script>
console.log('Welcome to the beautifully styled webpage!');
</script>
</body>
</html>
Output:
Result:
The program has been successfully executed and the output has been successfully verified.