Create a E-learning Platform for Python that uses Java, JS and CS. this platform has a feature that can give users the module depending on the Pre assessment score
935ac9d verified | class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| :host { | |
| display: block; | |
| background-color: #1e293b; | |
| color: white; | |
| padding: 2rem 0; | |
| margin-top: 4rem; | |
| } | |
| .footer-container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 2rem; | |
| } | |
| .footer-section h3 { | |
| font-size: 1.125rem; | |
| font-weight: 600; | |
| margin-bottom: 1rem; | |
| color: #e2e8f0; | |
| } | |
| .footer-section ul { | |
| list-style: none; | |
| padding: 0; | |
| margin: 0; | |
| } | |
| .footer-section li { | |
| margin-bottom: 0.5rem; | |
| } | |
| .footer-section a { | |
| color: #94a3b8; | |
| text-decoration: none; | |
| transition: color 0.2s; | |
| } | |
| .footer-section a:hover { | |
| color: #e2e8f0; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: 1rem; | |
| margin-top: 1rem; | |
| } | |
| .social-links a { | |
| color: #94a3b8; | |
| transition: color 0.2s; | |
| } | |
| .social-links a:hover { | |
| color: #e2e8f0; | |
| } | |
| .copyright { | |
| text-align: center; | |
| margin-top: 2rem; | |
| padding-top: 2rem; | |
| border-top: 1px solid #334155; | |
| color: #94a3b8; | |
| font-size: 0.875rem; | |
| } | |
| @media (max-width: 640px) { | |
| .footer-container { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| </style> | |
| <div class="footer-container"> | |
| <div class="footer-section"> | |
| <h3>Python Pathfinder</h3> | |
| <p class="text-slate-400">Your personalized journey to mastering Python, Java, and CS fundamentals.</p> | |
| <div class="social-links"> | |
| <a href="#"><i data-feather="twitter"></i></a> | |
| <a href="#"><i data-feather="github"></i></a> | |
| <a href="#"><i data-feather="linkedin"></i></a> | |
| <a href="#"><i data-feather="youtube"></i></a> | |
| </div> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Learning Paths</h3> | |
| <ul> | |
| <li><a href="/beginner.html">Beginner</a></li> | |
| <li><a href="/intermediate.html">Intermediate</a></li> | |
| <li><a href="/advanced.html">Advanced</a></li> | |
| <li><a href="#">Java Integration</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Resources</h3> | |
| <ul> | |
| <li><a href="#">Documentation</a></li> | |
| <li><a href="#">Cheat Sheets</a></li> | |
| <li><a href="#">Code Challenges</a></li> | |
| <li><a href="#">Community</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Company</h3> | |
| <ul> | |
| <li><a href="#">About Us</a></li> | |
| <li><a href="#">Careers</a></li> | |
| <li><a href="#">Contact</a></li> | |
| <li><a href="#">Blog</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="copyright"> | |
| © ${new Date().getFullYear()} Python Pathfinder. All rights reserved. | |
| </div> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |