citizen_hacks_2019_part1
For the Citizen Hacks 2019 Vim competition
Start file
// Part 1: The Idea
/* The following challenges will cover how Citizen Hacks was created. Good Luck!
Part 1: The Idea.
Part 2: Assembling the Team.
Part 3: Finding Sponsors.
Part 4: Contacting Sponsors.
Part 5: Bad News.
Part 6: A New Hope.
Part 7: Applications.
Part 8: Handling Logistics.
Part 9: The Welcome Party.
*/
const YEAR = 2018
let group = ['Marcel','Mio','Benn']
let add_member = (group, name) => {
group.push(name);
console.log(`Added ${name}`);
};
let add_members = (group, names) => {
names.forEach((name) => {
add_member(group, name);
});
};
End file
// Part 1: The Idea
/* The following challenges will cover how Citizen Hacks was created. Good Luck!
CH Part 1: The Idea
CH Part 2: Assembling the Team
CH Part 3: Finding Sponsors
CH Part 4: Contacting Sponsors
CH Part 5: Bad News
CH Part 6: A New Hope
CH Part 7: Applications
CH Part 8: Handling Logistics
CH Part 9: The Welcome Party
*/
const YEAR = 2018;
const MONTH = 'June';
let group = ['Marcel', 'Mio', 'Benn'];
let add_member = (group, name) => {
group.push(name);
console.log(`Added ${name}`);
};
let add_members = (group, names) => {
names.forEach((name) => {
add_member(group, name);
});
};
View Diff
4,12c4,12
< CH Part 1: The Idea
< CH Part 2: Assembling the Team
< CH Part 3: Finding Sponsors
< CH Part 4: Contacting Sponsors
< CH Part 5: Bad News
< CH Part 6: A New Hope
< CH Part 7: Applications
< CH Part 8: Handling Logistics
< CH Part 9: The Welcome Party
---
> Part 1: The Idea.
> Part 2: Assembling the Team.
> Part 3: Finding Sponsors.
> Part 4: Contacting Sponsors.
> Part 5: Bad News.
> Part 6: A New Hope.
> Part 7: Applications.
> Part 8: Handling Logistics.
> Part 9: The Welcome Party.
15,16c15
< const YEAR = 2018;
< const MONTH = 'June';
---
> const YEAR = 2018
18c17
< let group = ['Marcel', 'Mio', 'Benn'];
---
> let group = ['Marcel','Mio','Benn']
Solutions by @ashuyali:
Unlock 4 remaining solutions by signing in and submitting your own entry