[ { "search": "
", "replace": "
\n\n
\n
\n

Current Ratio:

\n

\n
\n
\n

Cash Ratio:

\n

\n
\n
\n
\n
\n

Quick Ratio:

\n

\n
\n
\n

Net Working Capital Ratio:

\n

\n
\n
\n
\n
\n

Debt Ratio:

\n

\n
\n
" }, { "search": "// Display the results on the page", "replace": "// Display the results on the page\n\n// Calculate and display the additional ratios\nvar currentAssets = 5000;\nvar currentLiabilities = 2000;\nvar cash = 1000;\nvar quickAssets = currentAssets - inventory;\nvar netWorkingCapital = currentAssets - currentLiabilities;\nvar totalLiabilities = 4000;\n\nvar currentRatio = currentAssets / currentLiabilities;\nvar cashRatio = cash / currentLiabilities;\nvar quickRatio = quickAssets / currentLiabilities;\nvar netWorkingCapitalRatio = netWorkingCapital / currentAssets;\nvar debtRatio = totalLiabilities / currentAssets;\n\ndocument.getElementById(\"current-ratio\").textContent = currentRatio;\ndocument.getElementById(\"cash-ratio\").textContent = cashRatio;\ndocument.getElementById(\"quick-ratio\").textContent = quickRatio;\ndocument.getElementById(\"net-working-capital-ratio\").textContent = netWorkingCapitalRatio;\ndocument.getElementById(\"debt-ratio\").textContent = debtRatio;" }, { "search": "// App CSS Goes Here", "replace": "// App CSS Goes Here\n\n.row {\n margin-bottom: 20px;\n}\n\n.col {\n padding: 10px;\n text-align: center;\n border-radius: 10px;\n background-color: #fff;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n}" } ]