Trimester-Specific Pregnancy Health Guide

Pregnancy Health Guide

A Trimester-by-Trimester Companion

Health Topics

Welcome!

Select a trimester and a health topic to view personalized guidance for your pregnancy journey. This guide covers key areas like nutrition, exercise, and what to expect at each stage.

Your first prenatal visit is usually the longest. Expect the following:

  • Confirmation of Pregnancy: Through a urine or blood test.
  • Due Date Calculation: Based on your last menstrual period.
  • Comprehensive Health History: Discussion of your and your partner's medical history.
  • Physical Exam: Including a pelvic exam and Pap test.
  • Blood Work: To check blood type, Rh factor, iron levels, and screen for certain infections.
  • Ultrasound: May be performed to confirm the pregnancy and check the baby's heartbeat.
` } }, "2": { // Second Trimester "Nutrition": { title: "Second Trimester Nutrition", content: `
  • Increase Calories Slightly: You may need about 300-350 extra calories per day. Focus on nutrient-dense foods.
  • Iron and Calcium: These are vital for your baby's development. Include red meat, leafy greens, dairy, and fortified cereals.
  • Omega-3 Fatty Acids: Important for brain development. Found in fish like salmon (limit to 2 servings/week), walnuts, and flaxseed.
  • Fiber is Your Friend: Help prevent constipation by eating plenty of fruits, vegetables, and whole grains.
` }, "Exercise": { title: "Second Trimester Exercise", content: `

Often called the "honeymoon" trimester, you may have more energy. It's a great time to maintain a regular exercise routine.

  • Continue Low-Impact Activities: Walking, swimming, and stationary cycling are excellent choices.
  • Strength Training: Use lighter weights and focus on maintaining muscle tone. Avoid exercises that strain the abdomen.
  • Pelvic Floor Exercises (Kegels): Start practicing these to support your bladder, uterus, and bowels.
  • Listen to Your Body: Your center of gravity is shifting, so be mindful of your balance.
` }, "Common Symptoms": { title: "Second Trimester Symptoms", content: `
  • Growing Belly & Breasts: Your pregnancy will become more visible.
  • Round Ligament Pain: Sharp pains in your abdomen or hip area as your uterus stretches.
  • Skin Changes: You might notice a dark line on your abdomen (linea nigra) or dark patches on your face (melasma).
  • Leg Cramps: Can be common, especially at night. Stay hydrated and stretch regularly.
` }, "Doctor Visits": { title: "Second Trimester Checkups", content: `

Visits are typically once a month. Key events include:

  • Monitoring Baby's Growth: Your doctor will measure your fundal height (top of the uterus).
  • Listening to the Heartbeat: A fetal Doppler will be used to hear the baby's heartbeat.
  • Anatomy Scan: A detailed ultrasound around 20 weeks to check the baby's development, organs, and determine the sex if desired.
  • Glucose Screening: A test for gestational diabetes, usually done between 24 and 28 weeks.
` } }, "3": { // Third Trimester "Nutrition": { title: "Third Trimester Nutrition", content: `
  • Continue Nutrient-Dense Foods: Your baby is growing rapidly. Focus on protein, vitamins, and minerals.
  • Small, Frequent Meals: Your stomach has less room, which can cause heartburn. Eating smaller meals can help.
  • Choline for Brain Health: Found in eggs, lean meat, and legumes, choline is vital for your baby's brain.
  • Prepare for Breastfeeding: Continue a healthy, balanced diet to build stores for milk production after birth.
` }, "Exercise": { title: "Third Trimester Exercise", content: `

Comfort is key. Your body is preparing for labor, so focus on gentle movements and rest.

  • Walking and Swimming: Continue as long as you feel comfortable. Swimming can feel particularly good as it takes the weight off your joints.
  • Stretching: Focus on your back, hips, and legs to relieve aches and pains.
  • Rest and Elevate: Take frequent breaks and elevate your feet to reduce swelling.
  • Stop if you feel: Dizziness, headache, contractions, or any fluid leakage.
` }, "Common Symptoms": { title: "Third Trimester Symptoms", content: `
  • Braxton Hicks Contractions: "Practice" contractions that are irregular and don't get stronger over time.
  • Backaches: Caused by the weight of your growing belly and hormonal changes.
  • Shortness of Breath: Your growing uterus puts pressure on your diaphragm.
  • Swelling: Mild swelling in the ankles, feet, and hands is common.
  • Difficulty Sleeping: Finding a comfortable position can be challenging.
` }, "Doctor Visits": { title: "Third Trimester Checkups", content: `

Visits become more frequent, moving to every two weeks, and then weekly in the final month.

  • Continued Monitoring: Checking your blood pressure, weight, and baby's heartbeat and position.
  • Group B Strep Test: A vaginal and rectal swab done around 36-37 weeks.
  • Cervical Checks: Your doctor may start checking your cervix for dilation and effacement as your due date approaches.
  • Discussing Birth Plan: A good time to discuss your preferences for labor and delivery.
` } } }; // --- ELEMENT SELECTION --- const trimesterTabs = document.getElementById('trimester-tabs'); const categoryButtonsContainer = document.getElementById('category-buttons'); const contentTitleEl = document.getElementById('content-title'); const contentBodyEl = document.getElementById('content-body'); const downloadPdfBtn = document.getElementById('download-pdf-btn'); // --- STATE --- let currentTrimester = "1"; let currentCategory = ""; let currentGuideData = null; // --- INITIALIZATION --- const init = () => { renderCategoryButtons(); addEventListeners(); }; const renderCategoryButtons = () => { const categories = Object.keys(GUIDE_DATA[currentTrimester]); categoryButtonsContainer.innerHTML = categories.map(cat => ` `).join(''); // Add event listeners to the new buttons document.querySelectorAll('.category-button').forEach(btn => { btn.addEventListener('click', handleCategoryClick); }); }; const updateContent = () => { if (!currentTrimester || !currentCategory) { // Show welcome message contentTitleEl.textContent = "Welcome!"; contentBodyEl.innerHTML = "

Select a trimester and a health topic to view personalized guidance for your pregnancy journey.

"; downloadPdfBtn.disabled = true; return; } currentGuideData = GUIDE_DATA[currentTrimester][currentCategory]; contentTitleEl.textContent = currentGuideData.title; contentBodyEl.innerHTML = currentGuideData.content; downloadPdfBtn.disabled = false; }; // --- EVENT HANDLERS --- const handleTrimesterClick = (e) => { const button = e.target.closest('.tab-button'); if (button) { currentTrimester = button.dataset.trimester; document.querySelectorAll('#trimester-tabs .tab-button').forEach(btn => btn.classList.remove('active')); button.classList.add('active'); // Reset category and update UI currentCategory = ""; document.querySelectorAll('.category-button').forEach(btn => btn.classList.remove('active')); renderCategoryButtons(); updateContent(); } }; const handleCategoryClick = (e) => { const button = e.target.closest('.category-button'); if (button) { currentCategory = button.dataset.category; document.querySelectorAll('.category-button').forEach(btn => btn.classList.remove('active')); button.classList.add('active'); updateContent(); } }; const handlePdfDownload = () => { if (!currentGuideData) return; const { jsPDF } = window.jspdf; const doc = new jsPDF('p', 'mm', 'a4'); const primaryColor = '#db2777'; doc.setFillColor(primaryColor).rect(0, 0, 210, 30, 'F'); doc.setFont('helvetica', 'bold').setFontSize(20).setTextColor('#ffffff'); doc.text('Pregnancy Health Guide', 105, 18, { align: 'center' }); doc.setFontSize(22).setFont('helvetica', 'bold').setTextColor(primaryColor).text(currentGuideData.title, 14, 45); // Use jsPDF's built-in HTML renderer // It's basic but works for simple lists and paragraphs doc.html(currentGuideData.content, { callback: function (doc) { doc.save(`${currentGuideData.title}.pdf`); }, x: 14, y: 55, width: 180, windowWidth: 650 }); }; const addEventListeners = () => { trimesterTabs.addEventListener('click', handleTrimesterClick); downloadPdfBtn.addEventListener('click', handlePdfDownload); }; // --- KICK IT OFF --- init(); });
Scroll to Top