Problems

Render a List to HTML

EasyJSX & Rendering

Render an array to markup. Input: a JSON array of strings. Print <ul> + one <li>item</li> per entry + </ul> (no whitespace).

Input: one JSON array. Output: the HTML string.

Your program reads from stdin and prints to stdout.

Example 1

Input: ["a","b"]

Output: <ul><li>a</li><li>b</li></ul>

Hints

ReactJSXLists