1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export const workSection = (resume) => resume.work && resume.work.length ? `
<section>
<h2>Experience</h2>
<ul>
${resume.work.map(exp => `
<li>
<div class="title-period">
<h3>${exp.position || ''} <span class="company">at ${exp.name || ''}</span></h3>
<span class="date">${exp.startDate} ${exp.endDate ? `- ${exp.endDate}` : ''}</span>
</div>
<div><p>${exp.summary || ''}</p></div>
<div class="highlights">
${exp.highlights && exp.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