-
Notifications
You must be signed in to change notification settings - Fork 32
Durga-html-project #528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Durga-html-project #528
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
|
|
||
| * { | ||
| margin: 0; | ||
| padding: 0; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| body { | ||
| font-family: Arial, sans-serif; | ||
| line-height: 1.6; | ||
| } | ||
|
|
||
| header { | ||
| background: #0d0a99; | ||
| color: #fff; | ||
| padding: 20px; | ||
| text-align: center; | ||
| } | ||
|
|
||
| nav ul { | ||
| list-style: none; | ||
| display: flex; | ||
| justify-content: center; | ||
| gap: 20px; | ||
| margin-top: 10px; | ||
| } | ||
|
|
||
| nav a { | ||
| color: #fff; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| main { | ||
| display: flex; | ||
| padding: 20px; | ||
| gap: 20px; | ||
| } | ||
|
|
||
| article { | ||
| flex: 3; | ||
| background: #2c13a8; | ||
| color: #fff; | ||
| padding: 20px; | ||
| border-radius: 8px; | ||
| } | ||
|
|
||
| aside { | ||
| flex: 1; | ||
| background: #4d119b; | ||
| color: #fff; | ||
| padding: 20px; | ||
| border-radius: 8px; | ||
| } | ||
|
|
||
| footer { | ||
| background: #3f12ba; | ||
| color: #fff; | ||
| text-align: center; | ||
| padding: 15px; | ||
| margin-top: 20px; | ||
| bottom: auto; | ||
| } | ||
|
|
||
| @media (max-width: 768px) { | ||
| main { | ||
| flex-direction: column; | ||
| flex:1; | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <title>CSS Animation & Media Queries</title> | ||
| <style> | ||
| body { | ||
| font-family: Arial, sans-serif; | ||
| margin: 0; | ||
| padding: 0; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| height: 100vh; | ||
| background: #f0f0f0; | ||
| } | ||
| .box { | ||
| width: 150px; | ||
| height: 150px; | ||
| background: #3498db; | ||
| border-radius: 10px; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| color: white; | ||
| font-weight: bold; | ||
| animation: bounce 2s infinite; | ||
| } | ||
| @keyframes bounce { | ||
| 0%, 100% { | ||
| transform: translateY(0); | ||
| } | ||
| 50% { | ||
| transform: translateY(-50px); | ||
| } | ||
| } | ||
| @media (max-width: 768px) { | ||
| .box { | ||
| width: 120px; | ||
| height: 120px; | ||
| font-size: 14px; | ||
| background: #e67e22; | ||
| } | ||
| } | ||
|
|
||
| @media (max-width: 480px) { | ||
| .box { | ||
| width: 90px; | ||
| height: 90px; | ||
| font-size: 12px; | ||
| background: #2ecc71; | ||
| } | ||
| } | ||
| </style> | ||
|
Comment on lines
+7
to
+55
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The CSS styles are embedded within the HTML file using a |
||
| </head> | ||
| <body> | ||
| <div class="box">Hello Guys..!</div> | ||
| </body> | ||
| </html> | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,54 @@ | ||||||
| <!DOCTYPE html> | ||||||
| <html lang="en"> | ||||||
| <head> | ||||||
| <meta charset="UTF-8"> | ||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||||
| <title>My personal Homepage</title> | ||||||
| <link rel="stylesheet" href="style.css"> | ||||||
| </head> | ||||||
| <body> | ||||||
| <header> | ||||||
| <h1> Sai Durga </h1> | ||||||
| <p> Solutions Engineer </p> | ||||||
| </header> | ||||||
| <section id="about"> | ||||||
| <h2>About Me</h2> | ||||||
| <p>Enthusiastic web developer</p> | ||||||
| </section> | ||||||
| <section id="Education"> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||
| <h2> Educational Details </h2> | ||||||
| <ul> | ||||||
| <li>Graduated in Sreenidhi institute of science and technologt (2021-2025)</li> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||
| <li>Narayana junior college (2019-2021)</li> | ||||||
| </ul> | ||||||
| </section> | ||||||
| <section id="skills"> | ||||||
| <h2> Skills </h2> | ||||||
| <ul> | ||||||
| <li> Html, CSS, JavaScript</li> | ||||||
| <li>Java, Springboot framework, python, Sql</li> | ||||||
| </ul> | ||||||
| </section> | ||||||
| <section id="contact"> | ||||||
| <h2> Contact form </h2> | ||||||
| <form action="semantics.html" method="post"> | ||||||
| <label for="name">Name:</label> | ||||||
| <input type="text" id="name" name="name" required><br><br> | ||||||
|
|
||||||
| <label for="phno">Phone Number:</label> | ||||||
| <input type="number" id="phno" name="phone number" required><br><br> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Suggested change
|
||||||
|
|
||||||
| <label for="email">Email:</label> | ||||||
| <input type="email" id="email" name="email" required><br><br> | ||||||
|
|
||||||
| <label for="date">Date:</label> | ||||||
| <input type="date" id="date" name="date" required><br><br> | ||||||
|
|
||||||
| <label for="message">Message:</label> | ||||||
| <input type="text" id="message" name="message" required><br><br> | ||||||
|
Comment on lines
+36
to
+48
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For a 'Message' field that expects multi-line input, it's more appropriate to use a
Suggested change
|
||||||
| <button type="submit">Send</button> | ||||||
| </form> | ||||||
| </section> | ||||||
| <footer> © 2025 All rights reserved</footer> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||
| </body> | ||||||
| </html> | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,115 @@ | ||||||
|
|
||||||
| body { | ||||||
| margin: 0; | ||||||
| font-family: Arial, Helvetica, sans-serif; | ||||||
| line-height: 1.6; | ||||||
| color: #333; | ||||||
| background-color: #f9f9f9; | ||||||
| } | ||||||
|
|
||||||
| h1, h2 { | ||||||
| color: #2c3e50; | ||||||
| } | ||||||
|
|
||||||
| a { | ||||||
| color: #3498db; | ||||||
| text-decoration: none; | ||||||
| } | ||||||
|
|
||||||
| a:hover { | ||||||
| text-decoration: underline; | ||||||
| } | ||||||
|
|
||||||
| header { | ||||||
| background: #3498db; | ||||||
| color: #fff; | ||||||
| padding: 2rem; | ||||||
| text-align: center; | ||||||
| } | ||||||
|
|
||||||
| header h1 { | ||||||
| margin: 0; | ||||||
| font-size: 2.5rem; | ||||||
| } | ||||||
|
|
||||||
| header p { | ||||||
| margin-top: 0.5rem; | ||||||
| font-size: 1.2rem; | ||||||
| } | ||||||
|
|
||||||
|
|
||||||
| section { | ||||||
| padding: 2rem; | ||||||
| max-width: 800px; | ||||||
| margin: auto; | ||||||
| background: #fff; | ||||||
| margin-bottom: 1.5rem; | ||||||
| border-radius: 10px; | ||||||
| box-shadow: 0 2px 6px rgba(0,0,0,0.1); | ||||||
| } | ||||||
|
|
||||||
| section h2 { | ||||||
| border-bottom: 2px solid #3498db; | ||||||
| padding-bottom: 0.5rem; | ||||||
| margin-bottom: 1rem; | ||||||
| } | ||||||
|
|
||||||
| ul { | ||||||
| list-style-type: square; | ||||||
| margin-left: 1.5rem; | ||||||
| } | ||||||
|
|
||||||
|
|
||||||
| form { | ||||||
| display: flex; | ||||||
| flex-direction: column; | ||||||
| } | ||||||
|
|
||||||
| label { | ||||||
| margin-top: 0.5rem; | ||||||
| font-weight: bold; | ||||||
| } | ||||||
|
|
||||||
| input, text, button { | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Suggested change
|
||||||
| margin-top: 0.3rem; | ||||||
| padding: 0.7rem; | ||||||
| border: 1px solid #ccc; | ||||||
| border-radius: 5px; | ||||||
| font-size: 1rem; | ||||||
| } | ||||||
|
|
||||||
| text { | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||
| resize: vertical; | ||||||
| } | ||||||
|
|
||||||
| button { | ||||||
| margin-top: 1rem; | ||||||
| background: #3498db; | ||||||
| color: #fff; | ||||||
| border: none; | ||||||
| cursor: pointer; | ||||||
| transition: background 0.3s ease; | ||||||
| } | ||||||
|
|
||||||
| button:hover { | ||||||
| background: #2980b9; | ||||||
| } | ||||||
|
|
||||||
|
|
||||||
| footer { | ||||||
| text-align: center; | ||||||
| padding: 1rem; | ||||||
| background: #2c3e50; | ||||||
| color: #fff; | ||||||
| } | ||||||
|
|
||||||
|
|
||||||
| @media (max-width: 600px) { | ||||||
| header h1 { | ||||||
| font-size: 2rem; | ||||||
| } | ||||||
|
|
||||||
| section { | ||||||
| padding: 1rem; | ||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <title>Product Landing Page</title> | ||
| </head> | ||
| <body> | ||
|
|
||
| <nav> | ||
| <ul> | ||
| <li><a href="#features">Features</a></li> | ||
| <li><a href="#plans">Plans</a></li> | ||
| <li><a href="#video">Video</a></li> | ||
| <li><a href="#contact">Contact</a></li> | ||
| </ul> | ||
| </nav> | ||
|
|
||
| <header> | ||
| <h1>SuperProduct 2025</h1> | ||
| <p>The ultimate solution for productivity and efficiency</p> | ||
| </header> | ||
|
|
||
| <section id="features"> | ||
| <h2>Features</h2> | ||
| <p>SuperProduct 2025 is designed to simplify your workflow and maximize productivity. With cutting-edge tools and an intuitive interface, you’ll accomplish tasks faster and smarter.</p> | ||
| <ul> | ||
| <li>Easy-to-use dashboard</li> | ||
| <li>Cross-platform compatibility</li> | ||
| <li>Advanced analytics and reporting</li> | ||
| <li>24/7 customer support</li> | ||
| </ul> | ||
| </section> | ||
|
|
||
| <section id="video"> | ||
| <h2>See SuperProduct in Action</h2> | ||
| <iframe width="560" height="315" src="https://www.youtube.com/embed/tgbNymZ7vqY" | ||
| title="Product Demo" frameborder="0" allowfullscreen></iframe> | ||
|
Comment on lines
+37
to
+38
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| </section> | ||
|
|
||
| <section id="plans"> | ||
| <h2>Choose Your Plan</h2> | ||
| <table border="1"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
| <caption>SuperProduct Pricing Plans</caption> | ||
| <thead> | ||
| <tr> | ||
| <th>Plan</th> | ||
| <th>Price</th> | ||
| <th>Features</th> | ||
| </tr> | ||
| </thead> | ||
| <tbody> | ||
| <tr> | ||
| <td>Basic</td> | ||
| <td>$10/month</td> | ||
| <td>Core features, Email support</td> | ||
| </tr> | ||
| <tr> | ||
| <td>Pro</td> | ||
| <td>$25/month</td> | ||
| <td>All Basic features + Advanced tools + Priority support</td> | ||
| </tr> | ||
| <tr> | ||
| <td>Enterprise</td> | ||
| <td>$50/month</td> | ||
| <td>All Pro features + Custom integrations + Dedicated support</td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
| </section> | ||
|
|
||
| <section id="contact"> | ||
| <h2>Contact Us</h2> | ||
| <p>Email: support@superproduct.com</p> | ||
| <p>Phone: +1 234 567 890</p> | ||
| </section> | ||
|
|
||
| <footer> | ||
| <p>© 2025 SuperProduct Inc. All rights reserved.</p> | ||
| </footer> | ||
|
|
||
| </body> | ||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -195,6 +195,10 @@ <h2>Assignments</h2> | |
| <summary onclick="showContent(event)">Supriya</summary> | ||
| <iframe data-src="./supriya/index.html"></iframe> | ||
| </details> | ||
| <details> | ||
| <summary onclick="showContent(event)">SaiDurga</summary> | ||
| <iframe data-src="./saidurga/index.html"></iframe> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| </details> | ||
| </div> | ||
| </div> | ||
| <footer> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
flex: 1property here has no effect because themainelement is not a flex item (its parent,body, is not a flex container). This line is redundant and can be removed without changing the layout.