HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<br>
<ul class="accordion">
<li>
<a class="toggle" href="javascript:void(0);"> Domain 1: Regional Coordination Strategies for relief and development coherence in response to regional forced migration crises </a>
<ul class="inner">
<li>
<a href ="#" class="toggle" style="background-color: #8B4513">
Goal 1.1 </a>
<ul class="inner">
<li>
<p>A Regional (multi-country) Inter-agency Coordination Body Exists: To facilitate relief and development coherence between countries with common forced displacement crises.</p>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #1</a>
<div class="inner">
<p>
The regional coordination body includes multilateral stakeholders (donors, humanitarian and development partners) and implements, monitors, and evaluates progress towards relief and development coherence on a regional level.
</p>
</div>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #2</a>
<div class="inner">
<p>
The regional coordination body creates regional relief and development coherence by using pooled multilateral funds from humanitarian and development donors.
</p>
</div>
</li>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #3</a>
<div class="inner">
<p>
The regional coordination body links humanitarian efforts to ongoing development programs and partners in the host countries.
</p>
</div>
</li>
<li>
<a href="#" class="toggle" style="background-color:#2b6684">Metric #4</a>
<div class="inner">
<p>
The regional coordination body has representation or designees in each host country for centralized and decentralized implementation, monitoring, and evaluation of relief and development coherence in the host country.
</p>
</div>
</li>
</li>
</li>
</ul>
</li>
<li>
<a href ="#" class="toggle" style="background-color: #8B4513">
Goal 1.2 </a>
<ul class="inner">
<li>
<p>The Regional (multi-country) Inter-agency Coordination Body Performs Effectively: In enacting multi-faceted strategies to support relief and development coherence.</p>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #1</a>
<div class="inner">
<p>
The regional coordination body with international organizations (e.g. UN, the W.B.G, etc.) are supporting policy sharing, frameworks, and regional strategies across national governments in response to forced migration crises in alignment with national development agendas.
</p>
</div>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #2</a>
<div class="inner">
<p>
The regional coordination body has established and maintains an online platform for all refugee hosting country governments to publish reports, activities, and progress made towards the wellbeing of refugees and host communities.
</p>
</div>
</li>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #3</a>
<div class="inner">
<p>
The regional coordination body provides a publishing function making available operational reports from all stakeholders (UN, I/NGOs, Governments, etc.) to facilitate relief and development coherence.
</p>
</div>
</li>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #4</a>
<div class="inner">
<p>
The regional coordination body particularly includes in its publishing function the works of grassroots organizations (local NGOS, Civil Society Organizations, Safe Spaces, etc.) that provide forced migration and development services in the host countries.
</p>
</div>
</li>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #5</a>
<div class="inner">
<p>
The regional coordination body itself generates and publishes periodic reports to assess coherence and enhance visibility and the surfacing of coherence activities.
</p>
</div>
</li>
</li>
</li>
</ul>
</li>
</ul>
<li>
<a class="toggle" href="javascript:void(0);">Domain 2: Country Level Coordination Strategies for Relief and Development Coherence within the Host Country </a>
<ul class="inner">
<li>
<a href ="#" class="toggle" style="background-color: #8B4513">
Goal 2.1 </a>
<ul class="inner">
<li>
<p>National coordination body: Ensures vertical and horizontal coherence across regional coordination body, national government ministries, district/ state/ provincial level governments, and international I/NGOs.</p>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #1</a>
<div class="inner">
<p>
The host country national government has established a national coordination body to work with the regional coordination body and facilitates sectoral response for forcibly displaced populations.
</p>
</div>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #2</a>
<div class="inner">
<p>
There is evidence of inter-ministerial coordination within the national government to integrate humanitarian and development programs.
</p>
</div>
</li>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #3</a>
<div class="inner">
<p>
National coordination roundtables (national forums, standing meetings of the coordination mechanism) exist involving all humanitarian and development partners (e.g. sectoral representatives, NGOs, UN representative, district governments, etc.).
</p>
</div>
</li>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #4</a>
<div class="inner">
<p>
Inter-sectoral coordination exists between sectoral working groups (e.g., between Health and Education); as indicated by references to other groups’ meeting minutes, attendance by other groups’ members for verbal updates, etc.
</p>
</div>
</li>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #5</a>
<div class="inner">
<p>
The host country government has published joint periodic reports with humanitarian organizations to reflect progress, impact, and outcome of joint programming for displaced populations and host communities.
</p>
</div>
</li>
</li>
</li>
</ul>
</li>
<li>
<a href ="#" class="toggle" style="background-color: #8B4513">
Goal 2.2 </a>
<ul class="inner">
<li>
<p>Systematic Data Practices: Visibility and disaggregation by forced migrant populations to foster relief and development collaboration.</p>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #1</a>
<div class="inner">
<p>
The national government has established a national coherence data portal to link data from government sectoral development projects to those of the UN and NGO humanitarian programs.
</p>
</div>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #2</a>
<div class="inner">
<p>
A national technical working group exists to publish periodic reports on progress toward relief and development coherence in response to the Global Compact on Refugees and/or Sustainable Development Goals.
</p>
</div>
</li>
</li>
</li>
</ul>
</li>
<li>
<li>
</ul>
<li>
<a class="toggle" href="javascript:void(0);">Domain 3: Donors Responsibility to achieve shared objectives on coherence activities. </a>
<ul class="inner">
<li>
<a href ="#" class="toggle" style="background-color: #8B4513">
Goal 3.1 </a>
<ul class="inner">
<li>
<p>Flexible funding mechanisms: International donors support both humanitarian and development programs that target medium and long-term programming for both refugees and their host communities.</p>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #1</a>
<div class="inner">
<p>
Bilateral and multilateral donors coordinate to support relief and development coherence in forced migration response in their grant making.
</p>
</div>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #2</a>
<div class="inner">
<p>
FUNDING REQUEST: National governments of refugee hosting countries and humanitarian organizations collaborate on funding requests to support the needs of displaced populations and host communities.
</p>
</div>
</li>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #3</a>
<div class="inner">
<p>
IMPLEMENTATION: I/NGOs assist host country governments in implementing integrated response for host communities and displaced populations.
</p>
</div>
</li>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #4</a>
<div class="inner">
<p>
Donors encourage national governments to allocate funds to programs that jointly address the needs of displaced populations and their host communities.
</p>
</div>
</li>
<li>
<a href="#" class="toggle" style="background-color: #2b6684">Metric #5</a>
<div class="inner">
<p>
Donors prioritize coordinated response/ coherence in their grant-making activities, making explicit in their request for proposals (RFPs) the types of activities, outcomes, metrics needed.
</p>
</div>
</li>
</li>
</li>
</li>
</ul>
</li>
<li>
<li>
</ul>
<li>
@import url('https://fonts.googleapis.com/css?family=Pacifico|Open+Sans:300,400,600');
* {
box-sizing: border-box;
font-family: 'Open Sans',sans-serif;
font-weight: 300;
}
a {
text-decoration: none;
text-align: center;
color: inherit;
}
p {
font-size:1.1em;
margin: 1em 0;
}
.description {
margin: 1em auto 2.25em;
}
body {
width: 100%;
min-width: 300px;
max-width: 95%;
margin: 1.5em auto;
color: #333;
}
h1 {
font-family: 'Pacifico', cursive;
font-weight: 400;
font-size: 2.5em;
}
ul {
list-style: none;
padding: 0;
.inner {
padding-left: 1em;
overflow: hidden;
display: none;
&.show {
/*display: block;*/
}
}
li {
margin: .5em 0;
a.toggle {
width: 100%;
display: block;
background: rgba(0,0,0,0.78);
color: #fefefe;
padding: .75em;
border-radius: 0.15em;
transition: background .3s ease;
&:hover {
background: rgba(0, 0, 0, 0.9);
}
}
}
}
$('.toggle').click(function(e) {
e.preventDefault();
var $this = $(this);
if ($this.next().hasClass('show')) {
$this.next().removeClass('show');
$this.next().slideUp(350);
} else {
$this.parent().parent().find('li .inner').removeClass('show');
$this.parent().parent().find('li .inner').slideUp(350);
$this.next().toggleClass('show');
$this.next().slideToggle(350);
}
});
Also see: Tab Triggers