Skills with levels (Developer Portfolio)
Add skill: <category / <name <level 0-100 lines. After the projects, print a skills section: <section id="skills", <h2Skills</h2, then per category (in order of first appearance) <h3Category</h3, <ul, one <liName <span class="bar" style="width:80%"</span</li per skill (highest level first, ties by name), </ul, and </section. A malformed skill prints warning: bad skill "<value" at the end.
Input: As before.
Output: As before.
Difficulty: Medium. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.
Hint
- A regular expression like ^(.+?)\s/\s(.+?)\s+(\d+)$ splits a skill line.