1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export const volunteerSection = (resume) => resume.volunteer && resume.volunteer.length ? `
<section>
<h2>Volunteer</h2>
<ul>
${resume.volunteer.map(vol => `
<li>
<div class="title-period">
<h3>${vol.position || ''} <span>at ${vol.organization || ''}</span></h3>
<span class="date">${vol.startDate} ${vol.endDate ? `- ${vol.endDate}` : ''}</span>
</div>
<div><p>${vol.summary || ''}</p></div>
<div class="highlights">
${vol.highlights && vol.highlights.map(desc => `<p class="highlight-item">${desc}</p>`).join('') || ''}
</div>
</li>
`).join('')}
</ul>
</section>
` : '';
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
June 13, 2024