Spaces:
Running
Running
File size: 2,355 Bytes
144940a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AutoSite Test Page</title>
<style>
body {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
line-height: 1.6;
}
h1 {
color: #333;
border-bottom: 2px solid #eee;
padding-bottom: 10px;
}
.container {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-top: 20px;
}
.card {
flex: 1 1 300px;
border: 1px solid #ddd;
border-radius: 8px;
padding: 15px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
button {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 15px;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
margin-top: 10px;
}
button:hover {
background-color: #45a049;
}
img {
max-width: 100%;
height: auto;
border-radius: 4px;
}
</style>
</head>
<body>
<h1>AutoSite Test Page</h1>
<p>This is a test page to verify the functionality of the AutoSite application. It includes various HTML elements to test the rendering and editing capabilities.</p>
<div class="container">
<div class="card">
<h2>Feature 1</h2>
<p>This card demonstrates a basic content block with a heading and paragraph.</p>
<button id="btn1">Click Me</button>
</div>
<div class="card">
<h2>Feature 2</h2>
<p>This card includes an image element to test media handling.</p>
<img src="https://via.placeholder.com/300x200" alt="Placeholder Image">
</div>
<div class="card">
<h2>Feature 3</h2>
<p>This card includes a form element to test input handling.</p>
<form>
<input type="text" placeholder="Enter your name" style="width: 100%; padding: 8px; margin-bottom: 10px;">
<button type="button">Submit</button>
</form>
</div>
</div>
<script>
// Simple script to test JavaScript functionality
document.getElementById('btn1').addEventListener('click', function() {
alert('Button clicked!');
});
// Log to console to test console output
console.log('Test page loaded successfully');
</script>
</body>
</html> |