Enhanced Micro-Investment Advisor
`; } else if (investmentGoal === 'long-term') { goalRecommendation = `Goal: Build Long-Term Wealth: To build long-term wealth, consider automated investment platforms like **Wealthfront** or **M1 Finance**, which allow for hands-off investing and portfolio rebalancing.
`; } // Display the results with growth projections and personalized recommendations result.innerHTML = `Investment Growth Projection: Over ${yearsToInvest} years, with a monthly contribution of $${investmentAmount.toFixed(2)} and an expected annual return rate of ${returnRate}%, your investment could grow to approximately $${futureValue}.
${portfolioRecommendation} ${platformRecommendation} ${goalRecommendation} `; });