Healthy Living Article - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Healthy Living Article</title> <style> body { font-family: 'Georgia', serif; margin: 0; padding: 0; background: #fcfcfc; color: #444; } .article-container { max-width: 800px; margin: 60px auto; background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); } .article-header { border-bottom: 2px solid #e0e0e0; padding-bottom: 10px; } .article-title { font-size: 2.5em; color: #27ae60; font-weight: bold; } .article-date { font-size: 0.85em; color: #aaa; } .article-content { margin-top: 20px; line-height: 1.7; } .article-content p { margin-bottom: 20px; } .article-content h2 { margin-top: 40px; font-size: 2em; color: #27ae60; } .quote { background: #f9f9f9; padding: 15px; border-left: 5px solid #27ae60; margin: 20px 0; font-style: italic; } .article-footer { text-align: center; margin-top: 50px; } .share-button { display: inline-block; margin: 8px; padding: 10px 20px; background: #27ae60; color: #fff; border-radius: 5px; text-decoration: none; transition: background 0.3s; } .share-button:hover { background: #1e8449; } </style> </head> <body> <div class="article-container"> <div class="article-header"> <h1 class="article-title">Secrets to Healthy Living</h1> <span class="article-date">Published on: July 14, 2024</span> </div> <div class="article-content"> <p>Discover the secrets to a healthy and fulfilling life. From balanced nutrition to regular exercise, we cover everything you need to know.</p> <h2>Balanced Nutrition</h2> <p>A balanced diet is essential for maintaining good health. It provides the body with the necessary nutrients to function effectively.</p> <div class="quote">"To keep the body in good health is a duty... otherwise we shall not be able to keep our mind strong and clear." - Buddha</div> <h2>Regular Exercise</h2> <p>Regular physical activity can improve your muscle strength and boost your endurance. Exercise delivers oxygen and nutrients to your tissues and helps your cardiovascular system work more efficiently.</p> <p>Embrace these practices to achieve a healthier, happier life.</p> </div> <div class="article-footer"> <a href="#" class="share-button">Share on Facebook</a> <a href="#" class="share-button">Share on Twitter</a> </div> </div> <script> document.addEventListener('DOMContentLoaded', function() { const shareButtons = document.querySelectorAll('.share-button'); shareButtons.forEach(button => { button.addEventListener('click', function(event) { event.preventDefault(); alert('Share functionality is not implemented yet. Stay tuned!'); }); }); }); </script> </body> </html>