📁 last Posts

7-Day Healthy Diet Meal Plan for Beginners With Grocery List

The first time I tried to eat better, I bought a cart of groceries with no plan and threw half of it out. A written healthy diet meal plan fixed that. This one has 11 real recipes, a day-by-day table and a grocery list, so you shop once and cook with a purpose.

Overhead view of a week of healthy meals on a kitchen table: egg muffins, chickpea salad, salmon with asparagus and a bowl of turkey chili

What Is a Healthy Diet Meal Plan for Beginners?

A beginner healthy diet meal plan lays out breakfast, lunch and dinner for each day, built around lean protein, vegetables, beans and whole grains. This 7-day plan uses 11 recipes from hospitals, heart foundations and dietitians, and the grocery list below covers every one of them.

Your 7-Day Healthy Diet Meal Plan at a Glance

Day Breakfast Lunch Dinner Dinner time
MondayEgg Muffins (2)Chickpea SaladChicken and Vegetable Stir-Fry25 min
TuesdayEgg Muffins (2)Chickpea SaladEasy Lentil Soup40 min
WednesdayEgg Muffins (2)Chickpea SaladFoil Baked Salmon with Asparagus35 min
ThursdayGreek Yogurt Protein BowlChickpea SaladSautéed Shrimp and Black Beans25 min
FridayGreek Yogurt Protein BowlNo-Mayo Tuna SaladBean Burrito BowlAbout 50 min
SaturdayGreek Yogurt Protein BowlNo-Mayo Tuna SaladHealthy Turkey Chili2 hr 18 min
SundayGreek Yogurt Protein BowlNo-Mayo Tuna SaladSheet Pan Roasted Chicken1 hr 45 min

Calories and protein appear on each recipe card only where the original page lists them. I did not add up daily totals, because the sources use different serving sizes and one recipe lists no nutrition at all.

Infographic of a 7-day healthy diet meal plan showing breakfast, lunch and dinner for each day from Monday to Sunday

How I Built This Healthy Diet Meal Plan

Every recipe comes from an existing page, with the author credited under the card. I picked recipes with plain ingredients, short methods and a mix of fish, poultry, beans and eggs. Long recipes sit on the weekend. After years of planning my own week, I keep the busy weekdays to 25 to 50 minutes.

Weekly Prep Schedule

  1. Sunday before the week starts: bake the egg muffins (recipe 2) and mix the chickpea salad (recipe 3).
  2. Thursday night: mix the tuna salad (recipe 4) so it can chill for the hour its source asks for.
  3. Every day: cook dinner from the table and pack the next day's lunch.
  4. Weekend: save the turkey chili and the roast chicken for the days with more time.

The egg muffin recipe makes 12, and the plan uses 6. Freeze the rest or eat them the following week. Refrigerated leftovers are generally best eaten within 3 to 4 days. That is general food-safety advice, not from the recipe sources.

Grocery List for the 7-Day Healthy Diet Meal Plan

This list assumes one batch of each recipe. Exact amounts are on the recipe cards, so check your pantry first and tick off what you already have.

Produce

  • Strawberries or blueberries, fresh or frozen
  • Yellow onions, plus 1 small red onion
  • Green onions and scallions
  • Garlic, plus 1 head for roasting
  • Carrots
  • Celery
  • Tomatoes, plus 1 pint of grape tomatoes
  • Cucumber
  • Red bell pepper, green bell pepper and 1 jalapeño
  • Asparagus (1½ pounds)
  • Baking potatoes (or fingerling potatoes)
  • Romaine lettuce
  • Avocado
  • Lemons and limes
  • Fresh cilantro or parsley, and fresh dill
  • A 4-cup bag of mixed vegetables, fresh or frozen

Protein

  • Eggs (12)
  • Pork sausage roll or Canadian bacon (½ pound)
  • Boneless, skinless chicken breasts (2)
  • Whole chicken (2½ to 3 pounds)
  • Salmon (1⅓ pounds)
  • Frozen small shrimp (340 g bag)
  • Albacore tuna in water (2 cans, 5 oz each)
  • Ground turkey, 93% lean (1 pound)

Dairy and Fridge

  • Plain Greek yogurt (a large tub), including some low-fat
  • Shredded cheddar cheese
  • Butter
  • Light tub margarine

Pantry and Canned

  • Canned chickpeas (15 oz)
  • No-salt-added black beans (19 oz) and canned black beans (15.5 oz)
  • Kidney beans (2 cans, 14.5 oz each)
  • Diced tomatoes (14.5 oz) and tomato sauce
  • Green or brown lentils
  • Basmati brown rice for the burrito bowl, cooked rice for the shrimp, and quinoa or brown rice for the stir-fry
  • Frozen or canned corn
  • Low-sodium vegetable broth, no-salt-added chicken broth and beef broth
  • Unsweetened soy milk
  • Chia seeds, hemp hearts and peanut butter
  • Olive oil, sesame oil, canola oil and cooking spray
  • Balsamic vinegar, Dijon mustard, hoisin sauce and cornstarch
  • Maple syrup
  • Salsa, optional

Spices

  • Garlic powder, salt and pepper
  • Cumin, chili powder and ground coriander
  • Paprika and smoked paprika
  • Ground ginger and curry powder
  • Thyme and bay leaves
  • Herbes de Provence or Italian seasoning

Sugar and packaged-item check: hoisin sauce, salsa, maple syrup, tomato sauce, sausage, canned beans and flavored yogurt are the items most worth a label check.

Infographic of a grocery list for the 7-day healthy diet meal plan sorted into produce, protein, dairy, pantry and spices

11 Recipes for Your 7-Day Healthy Diet Meal Plan

Breakfast Recipes (2)

1. Greek Yogurt Protein Bowl with Chia and Peanut Butter (10 Minutes)

Greek yogurt bowl with chia seeds, peanut butter, strawberries and hemp hearts on a kitchen table

Thick Greek yogurt supplies most of the protein here, with hemp hearts and peanut butter on top. The chia seeds soak in milk for five minutes first, which adds texture. The source lists 395 kcal and 29 g of protein, and the recipe makes one bowl.

⏱ Total: 10 min 🍽 Serves: 1

Ingredients

  • 1 tablespoon chia seeds (or basil seeds)
  • ¼ cup unsweetened soy milk
  • ¾ cup plain Greek yogurt
  • 1 tablespoon peanut butter
  • ½ tablespoon maple syrup
  • ⅓ cup fresh strawberries or blueberries (or frozen)
  • 1 tablespoon hemp hearts

Instructions

  1. Whisk the chia seeds and soy milk in a serving bowl, then leave them for about 5 minutes to plump up.
  2. While you wait, chop fresh berries, or warm frozen berries on the stove for 3 to 4 minutes.
  3. Stir the Greek yogurt into the thickened seeds.
  4. Top with the peanut butter, maple syrup, berries and hemp hearts. Serve right away.

Tip: Protein varies by yogurt brand, so check the label. Sugar check: maple syrup, peanut butter, sweetened soy milk and flavored yogurt can add sugar.

Recipe source: Detoxinista, by Megan Gilmore

2. Egg Muffins to Go (20 Minutes)

Tray of golden egg muffins with sausage, onion and green pepper cooling on a wire rack

Eggs, sausage, onion, green pepper and cheddar bake together in a muffin pan, so a dozen breakfasts come out of one 20-minute bake. The source lists 133 kcal and 9 g of protein per muffin, and I count two muffins as one breakfast in this plan.

⏱ Total: 20 min 🍽 Serves: 12 muffins

Ingredients

  • ½ pound pork sausage roll (or chopped Canadian bacon for a lower-fat option)
  • 12 eggs
  • ½ cup chopped onion
  • ¼ cup chopped green pepper
  • ½ teaspoon salt
  • ¼ teaspoon garlic powder
  • ¼ teaspoon pepper
  • ½ cup shredded cheddar cheese
  • Nonstick spray

Instructions

  1. Preheat the oven to 350°F.
  2. Cook the sausage in a large skillet over medium heat until no longer pink, then drain.
  3. Beat the eggs in a large bowl, then add the onion, green pepper, salt, garlic powder and pepper.
  4. Stir in the sausage and cheese, or stir in only the sausage and sprinkle the cheese on top after filling the pan.
  5. Coat a muffin pan with nonstick spray and spoon in the mixture, ⅓ cup per cup.
  6. Bake 20 to 25 minutes, until a knife inserted near the center comes out clean.

Tip: The sausage is a packaged, salty item, and the source lists 268 mg of sodium per muffin. Canadian bacon is the lower-fat swap. Sugar check: none listed, but check the sausage label.

Recipe source: My Vanderbilt Health

Lunch Recipes (2)

3. Quick and Easy Chickpea Salad

Bowl of chickpea salad with chopped tomato, cucumber, celery and parsley on a wooden table

Chickpeas, tomato, cucumber, celery and herbs get tossed with olive oil, balsamic vinegar, cumin and paprika in one bowl. No cooking is needed if you use canned chickpeas. A registered dietitian wrote it, and the source lists 168 kcal and 7 g of protein per serving.

⏱ Time: not listed 🍽 Serves: 4

Ingredients

  • 1½ cups cooked chickpeas (or one 15-ounce can, drained and rinsed)
  • 1 cup tomatoes, chopped
  • 1 cucumber, chopped
  • 1 cup celery, chopped
  • ¼ small onion, sliced
  • ½ cup fresh cilantro or parsley, chopped
  • 1 tablespoon extra-virgin olive oil
  • ½ tablespoon balsamic vinegar
  • ½ teaspoon ground cumin
  • ¼ teaspoon paprika

Instructions

  1. Combine and stir all the ingredients in a large serving bowl.
  2. Serve immediately or chill.

Tip: Drain and rinse canned chickpeas to cut the sodium. Sugar check: no added sugar is listed, but balsamic vinegar and canned goods vary by brand.

Recipe source: Dartmouth Health, by Heather E. Wolfe, RDN

4. No-Mayo Tuna Salad

No-mayo tuna salad with Greek yogurt, celery and scallions in a bowl beside whole grain toast

Greek yogurt replaces mayonnaise in this tuna salad, with lemon, celery, scallions and Dijon for flavor. It needs an hour in the fridge, so make it the night before. A registered dietitian wrote it, and the source lists 157 kcal and 23 g of protein per serving.

⏱ Chill: 1 hr 🍽 Serves: 3

Ingredients

  • 2 cans (5 oz each) albacore tuna, packed in water
  • ⅓ cup low-fat Greek yogurt
  • Juice of ½ lemon
  • 1 celery stalk, finely minced
  • 2 tablespoons scallions, finely minced
  • 1 teaspoon Dijon mustard
  • ¼ teaspoon garlic powder
  • Salt and pepper, optional
  • 1 tablespoon olive oil, only if using fat-free Greek yogurt

Instructions

  1. In a medium bowl, mix the Greek yogurt, lemon juice, celery, scallions, mustard and garlic powder.
  2. Drain the tuna, add it to the bowl and mix well with a fork.
  3. Taste and add seasoning if you like.
  4. Refrigerate for at least one hour for better flavor.
  5. Serve with whole grain toast or crackers.

Tip: Use plain yogurt so no sugar sneaks in. Sugar check: none listed, but check the Dijon, yogurt and any crackers you serve it with.

Recipe source: Baptist Health South Florida, by Lucette Talamas, RD

Dinner Recipes (7)

5. Chicken and Vegetable Stir-Fry (25 Minutes)

Chicken and vegetable stir-fry in a nonstick skillet served over brown rice in a white bowl

Chicken breast and a bag of mixed vegetables cook in one nonstick skillet with ginger, curry powder and a little hoisin sauce. It is ready in 25 minutes and works over brown rice or quinoa. The source lists 262 kcal and 28 g of protein per serving.

⏱ Total: 25 min 🍽 Serves: 4

Ingredients

  • 2 boneless, skinless chicken breasts, chopped (about 14 oz)
  • 1 teaspoon ground ginger
  • ½ teaspoon curry powder
  • Pinch of ground pepper
  • 2 teaspoons sesame oil
  • 1 onion, sliced
  • 2 cloves garlic, minced
  • 4 cups fresh or frozen cut vegetables
  • ¾ cup no-salt-added chicken broth
  • 1 tablespoon hoisin sauce
  • 1 teaspoon cornstarch
  • 1 teaspoon toasted sesame seeds, optional

Instructions

  1. Toss the chicken with the ginger, curry powder and pepper in a bowl.
  2. Heat 1 teaspoon of the oil in a nonstick skillet and brown the chicken. Remove it to a plate.
  3. Return the skillet to medium heat, add the remaining oil and cook the onion and garlic for 2 minutes. Add the vegetables and chicken.
  4. Whisk the broth, hoisin sauce and cornstarch together, pour into the skillet and bring to a simmer. Cover and cook about 5 minutes, until the chicken is no longer pink inside.
  5. Sprinkle with sesame seeds if using. Serve over steamed brown rice or quinoa.

Tip: Hoisin sauce is a packaged sauce, and the page does not say whether it contains sugar, so check the label. The source lists 0 g added sugars. Choose no-salt-added broth.

Recipe source: Heart and Stroke Foundation of Canada, by Emily Richards

6. Easy Lentil Soup (40 Minutes)

Bowl of lentil soup with carrot and lentils in a rustic bowl next to a spoon and bread

Onion, carrot, lentils, vegetable broth and a bay leaf simmer into a plain, filling soup with only seven ingredients. It suits a night when you want to cook very little. The source gives 2 to 3 servings and lists no calories or protein figures.

⏱ Total: 40 min 🍽 Serves: 2 to 3

Ingredients

  • 2 tablespoons olive oil
  • 1 onion, diced
  • 2 carrots, peeled and diced
  • ¾ cup green or brown lentils
  • 4 cups low-sodium vegetable broth
  • ¼ teaspoon thyme
  • 1 bay leaf

Instructions

  1. Heat a large saucepan over medium heat and cook the onion and carrot until the onion turns translucent, about 5 minutes.
  2. Add the lentils, broth, thyme and bay leaf and bring to a boil.
  3. Reduce the heat and simmer about 30 minutes, until the lentils are soft.
  4. Remove the bay leaf and serve.

Tip: The broth is the only packaged ingredient, so choose a low-sodium one. Sugar check: no added sugar is listed. The source tags the recipe vegetarian and gives no nutrition numbers.

Recipe source: UCLA Health, Simms Mann Center for Integrative Oncology

7. Foil Baked Salmon with Asparagus (35 Minutes)

Opened foil packet of baked salmon with asparagus, lemon slices and fresh dill on a baking sheet

Salmon fillets and asparagus bake together in foil packets with butter, lemon slices and fresh dill. The packets keep cleanup to a minimum. The source's nutrition panel uses a 6 oz fillet and lists 407 kcal and 35 g of protein per serving.

⏱ Total: 35 min 🍽 Serves: 4

Ingredients

  • 1⅓ pounds salmon, cut into 4 fillets
  • 2 lemons
  • 2 tablespoons butter (or olive oil or ghee)
  • 4 sprigs dill
  • 1½ pounds asparagus
  • Salt and pepper
  • Cooking spray, for the foil

Instructions

  1. Heat the oven to 400°F.
  2. Cut four large sheets of foil, coat them with cooking spray and divide the asparagus among them.
  3. Set a salmon fillet on each pile of asparagus and season with salt and pepper.
  4. Top each portion with about ½ tablespoon butter, 2 to 3 lemon slices and a dill sprig.
  5. Seal the foil into packets and place them on a baking sheet.
  6. Bake 15 to 20 minutes, until the salmon flakes easily. Open the packets carefully and serve.

Tip: The intro says 10 minutes, but the page lists 35 minutes in total, so plan for that. Sugar check: none listed, and cooking spray is the only packaged item.

Recipe source: Slender Kitchen, by Kristen McCaffrey

8. Sautéed Shrimp and Black Beans (25 Minutes)

Skillet of sautéed shrimp, black beans, corn and red pepper spooned over rice with cilantro

Frozen shrimp, black beans, corn and red pepper cook in one skillet and go over rice with smoked paprika and cilantro. It takes about 25 minutes. The source lists 410 kcal and 26 g of protein per serving, with 0 g of added sugars.

⏱ Total: 25 min 🍽 Serves: 4

Ingredients

  • 2 teaspoons canola oil
  • 1 red bell pepper, diced
  • 2 green onions, sliced
  • 3 cloves garlic, minced
  • 1 bag (340 g) frozen small shrimp, peeled, deveined and thawed
  • 2 tablespoons chopped fresh cilantro
  • 1 teaspoon smoked paprika
  • 1 can (19 oz) no-salt-added black beans, drained and rinsed
  • 1 cup corn kernels
  • 3 cups cooked rice
  • ½ cup medium salsa, optional

Instructions

  1. Heat the oil in a nonstick skillet over medium heat and cook the pepper, green onions and garlic for about 3 minutes.
  2. Add the shrimp, cilantro and smoked paprika and sauté about 3 minutes, until the shrimp turn pink.
  3. Stir in the black beans and corn and cook another 3 minutes to heat through.
  4. Spoon the shrimp mixture over the rice and top with salsa if using.

Tip: Thaw the shrimp first. Sugar check: the source lists 0 g added sugars, but the optional salsa is packaged, so read its label.

Recipe source: Heart and Stroke Foundation of Canada, by Emily Richards

9. Heart-Healthy Bean Burrito Bowl (About 50 Minutes)

Burrito bowl with brown rice, black beans, romaine, tomatoes, avocado and cilantro with a lime wedge

Brown rice, black beans, romaine, tomatoes, avocado and cilantro go into bowls with a simple lime and olive oil dressing. Nothing needs more than basic cooking. The source lists 385.8 kcal and 11.9 g of protein per serving, and about 50 minutes in total.

⏱ Total: about 50 min 🍽 Serves: 4

Ingredients

  • 5 tablespoons freshly squeezed lime juice
  • 2 tablespoons extra virgin olive oil
  • ½ teaspoon ground cumin
  • ¼ teaspoon kosher salt
  • ⅛ teaspoon black pepper
  • 2 cups cooked basmati brown rice
  • 1 can (15.5 oz) black beans, rinsed and drained
  • 4 cups romaine or head lettuce, chopped
  • 1 pint grape tomatoes, halved
  • 1 avocado, diced or sliced
  • 1 cup fresh cilantro, chopped
  • ½ small red onion, sliced
  • Optional to serve: salsa, low-fat sour cream, tortilla chips, lime wedges, hot sauce

Instructions

  1. Cook the rice. While it simmers, make the dressing and prepare the vegetables.
  2. Whisk the lime juice, olive oil, cumin, salt and pepper in a small bowl.
  3. Spoon ½ cup of rice into each of four bowls and divide the lettuce, beans, tomatoes, avocado and cilantro among them.
  4. Sprinkle each bowl with red onion and drizzle with 1 tablespoon of dressing.
  5. Serve with the optional toppings on the side.

Tip: Canned beans and the optional salsa, sour cream, chips and hot sauce are packaged, so check their labels. Sugar check: no added sugar is listed in the ingredients.

Recipe source: Lancaster General Health

10. Healthy Turkey Chili (About 2 Hours 20 Minutes)

Pot and bowl of healthy turkey chili with kidney beans and diced peppers on a kitchen counter

Lean ground turkey, kidney beans, tomatoes and a mix of spices simmer on the stovetop into a pot that feeds six. It is a weekend recipe, since it needs about two hours of simmering. The source lists 267 kcal and 23 g of protein per serving.

⏱ Total: 2 hr 18 min 🍽 Serves: 6

Ingredients

  • 1 lb ground turkey, 93% lean
  • 1 yellow onion, diced
  • 1 red or green bell pepper, diced
  • 1 jalapeño, seeds and membranes removed, diced
  • 2 cloves garlic
  • 1 tablespoon chili powder
  • 1 tablespoon cumin
  • 1 teaspoon ground coriander
  • ½ tablespoon real maple syrup
  • ½ teaspoon salt
  • ¼ teaspoon black pepper
  • ½ cup beef broth (red wine or water can substitute)
  • 2 cans (14.5 oz each) kidney beans, undrained
  • 1 can (14.5 oz) diced tomatoes, undrained
  • ¼ cup tomato sauce

Instructions

  1. Brown the turkey over medium-high heat until crumbly, about 5 to 7 minutes.
  2. Add the onion, pepper, jalapeño, garlic, spices, broth, maple syrup, salt and pepper. Cook over medium heat for 8 to 10 minutes, until the vegetables are tender.
  3. Add the beans, tomatoes and tomato sauce, then bring to a boil.
  4. Reduce the heat to low and simmer for 1½ to 2 hours, stirring often.
  5. Serve.

Tip: The source says its nutrition values are approximate and lists 848 mg of sodium per serving. Sugar check: the maple syrup is added sugar, and the canned beans, tomatoes, broth and sauce are packaged.

Recipe source: A Pinch of Healthy, by Marjorie

11. Sheet Pan Roasted Chicken and Vegetables (About 1 Hour 45 Minutes)

Whole roasted chicken on a sheet pan with potatoes, carrots, onion wedges and garlic cloves

A whole chicken roasts on one sheet pan with potatoes, carrots, onion and garlic, seasoned with garlic powder and herbs. It takes the longest of all 11 recipes, so it fits Sunday. The source lists 391 kcal and 36 g of protein per serving.

⏱ Total: 1 hr 45 min 🍽 Serves: 4

Ingredients

  • 2 tablespoons garlic powder
  • 1 tablespoon herbes de Provence (or dried Italian seasoning)
  • 2 teaspoons pepper
  • 2 medium baking potatoes, peeled, cut into 1-inch pieces
  • 2 large carrots, cut into 1-inch pieces
  • 1 large onion, cut into 8 wedges
  • 6 whole garlic cloves
  • 1 whole chicken (2½ to 3 lb), giblets removed, patted dry
  • 2 tablespoons light tub margarine
  • 2 tablespoons olive oil

Instructions

  1. Preheat the oven to 375°F and line a large sheet pan with foil.
  2. Mix the garlic powder, herbs and pepper in a small bowl.
  3. Spread the potatoes, carrots, onion and garlic on the pan and set the chicken among them.
  4. Cut six 1-inch slits in the chicken skin and put 1 teaspoon margarine in each. Season everything with the spice mix and drizzle with the oil.
  5. Bake uncovered 1 hour 15 minutes to 1 hour 30 minutes, until the chicken is no longer pink in the center and the potatoes are tender.
  6. Rest the chicken, covered, for 10 minutes, then carve and discard the skin before serving.

Tip: The source says a thermometer in the thickest part of the thigh or breast should read 165°F. Sugar check: 0 g added sugars per the source, and the light tub margarine is a packaged item.

Recipe source: American Heart Association, from The New American Heart Association Cookbook

Beginner Tips for Sticking to the Plan

  • Shop once. Use the grocery list so you are not buying extras midweek.
  • Swap, do not skip. Trade two dinners if your week changes, since the ingredients stay the same.
  • Read labels. Sauces, canned goods and sausage often carry the most sodium and sugar.
  • Adjust portions to you. A doctor or dietitian can tell you how much to eat for your goals.

Frequently Asked Questions About a Healthy Diet Meal Plan

How do I start a healthy diet meal plan as a beginner?

Start with one week. Write out breakfast, lunch and dinner, shop from a single list and cook the long recipes on the weekend. Repeating lunches, as this plan does, cuts both the cooking and the decisions.

How many calories are in this meal plan?

It depends on your portions. Where a source lists calories, they are on the recipe card, and they range from 133 to 410 per serving. The lentil soup page lists none, so I did not calculate a daily total.

Can I make this plan vegetarian?

Partly. The chickpea salad, lentil soup and bean burrito bowl have no meat, and the yogurt bowl is vegetarian. The egg muffins use sausage, and the rest use fish, shrimp, turkey or chicken, so you would need to swap those.

Can I swap days around?

Yes. Keep the tuna salad within 3 to 4 days of making it and move the slow recipes, the chili and the roast chicken, to whichever days you have more time.

Start With One Week

Print the grocery list, shop on Saturday and bake the egg muffins on Sunday. That single hour of prep makes the first three days easy. My own best weeks started exactly this way, with a list on the fridge and one batch of lunch already made. This healthy diet meal plan is general information, not medical advice.

Jack Atles
Jack Atles
Hi! I'm Jack Atles, and I'm passionate about helping others build healthy habits that last a lifetime. Drawing from my experience as a Fitness Coch & Exercise Physiologist, I write for "Fitness Maker Blog" to share science-backed strategies to boost your fitness, energy, and overall well-being. Start your journey today by checking out Our Blog Posts Here.



// Blog CTA Close Functionality document.addEventListener('DOMContentLoaded', function() { // Check if CTA box exists on the page const ctaBox = document.querySelector('.blog-cta-box'); const ctaCloseBtn = document.querySelector('.cta-close'); if (ctaCloseBtn && ctaBox) { ctaCloseBtn.addEventListener('click', function() { ctaBox.style.opacity = '0'; ctaBox.style.transform = 'translateY(-20px)'; setTimeout(function() { ctaBox.style.display = 'none'; }, 300); }); } // Optional: Local storage to show CTA less frequently const ctaDismissed = localStorage.getItem('blogCtaDismissed'); if (ctaDismissed && ctaBox) { // If dismissed in last 7 days, don't show const dismissTime = parseInt(ctaDismissed); const oneWeek = 7 * 24 * 60 * 60 * 1000; if (Date.now() - dismissTime < oneWeek) { ctaBox.style.display = 'none'; } } // Update local storage when closed if (ctaCloseBtn) { ctaCloseBtn.addEventListener('click', function() { localStorage.setItem('blogCtaDismissed', Date.now().toString()); }); } });