JSFiddle - React, Tailwind, and code Playground

by taffrail

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js"></script>

JavaScript

const headlines = [
    "If you anticipate a lower tax bracket in retirement, consider a traditional IRA even if eligible for a Roth",
    "If you anticipate a lower tax bracket in retirement, consider a traditional IRA even if eligible for a Roth",
    "Consider a Roth when single and your income is below $150,000",
    "Consider a Roth when single and your income is below $150,000",
    "If your traditional IRA isn’t deductible, do a backdoor Roth",
    "If your traditional IRA isn’t deductible, do a backdoor Roth",
    "If you make too much for a Roth, you can use a traditional IRA",
    "If you make too much for a Roth, you can use a traditional IRA",
    "You can only contribute to an IRA if you have earned income",
    "If your tax bracket will be lower in retirement, consider a traditional IRA even if eligible for a Roth",
    "If your tax bracket will be lower in retirement, consider a traditional IRA even if eligible for a Roth",
    "Consider a Roth when married and filing jointly and your income is below $236,000",
    "Consider a Roth when married and filing jointly and your income is below $236,000",
    "If your income is over $236,000, you and your spouse should contribute to two traditional IRAs",
    "If your income is over $236,000, you and your spouse should contribute to two traditional IRAs",
    "If your income is over $236,000, you and your spouse should contribute to two traditional IRAs",
    "If your income is over $236,000, you and your spouse should contribute to two traditional IRAs",
    "You can only contribute to an IRA if you have earned income",
    "You can contribute the lesser of $7,000 or your earned income to an IRA",
    "You can contribute the lesser of $7,000 or your earned income to an IRA",
    "You can contribute the lesser of $7,000 or your earned income to an IRA",
    "You can contribute the lesser of $7,000 or your earned income to an IRA",
    "You can contribute the lesser of $8,000 or your...