To embed the Military Costs of War since 2001 counter on your website,
blog, etc, follow these simple instructions:
1) Add the following javascript to your page:
<script src="https://www.nationalpriorities.org/cost-of/military-costs-war/js/"></script>
Add the following code wherever you want the counter to show up:
<div id="npp-widget-military-costs-war" class="npp-widget"></div>
NOTE: This doesn't need to be a <div>. Use whatever tag you need.
A Note About Style
We've intentionally left out any styles for this embeddable counter, instead leaving it up to you to provide
styles consistent with the look of your site. To aid in that process, here's the HTML markup that will be
generated from the embed code:
<div id="npp-widget-military-costs-war" class="npp-widget">
<h3 class="npp-widget-title">
Military Costs of War since 2001
</h3>
<p class="npp-widget-summary">
Every <span> hr(s)</span>,
taxpayers in <span></span>
are paying <span>$###</span>
for <span>Military Costs of War since 2001</span>.
</p>
<p id="npp-widget-military-costs-war-total" class="npp-widget-total">
$###,###,###
</p>
<p class="npp-widget-meta">
See more counters at
<a href="http://www.nationalpriorities.org/cost-of/"
title="Brought to you by the National Priorities Project">
https://www.nationalpriorities.org/cost-of/
</a>
</p>
</div>
×
These include war funding appropriated as Overseas Contingency Operations for both the Departments of Defense and State, as well as a portion of the base Department of Defense budget estimated to represent increased military spending due to ongoing wars. Military costs are not primarily delineated by geography, but include military operations in Afghanistan, Iraq, Syria and Pakistan, among other countries.
×