{"size": 331, "ext": "js", "max_stars_repo_path": "12.DOM Manipulations-Exercises/04. Sections/sections.js", "max_stars_repo_name": "anedyalkov/JS-Advanced", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "12.DOM Manipulations-Exercises/04. Sections/sections.js", "max_issues_repo_name": "anedyalkov/JS-Advanced", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "12.DOM Manipulations-Exercises/04. Sections/sections.js", "max_forks_repo_name": "anedyalkov/JS-Advanced", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.0909090909, "max_line_length": 68, "alphanum_fraction": 0.5075528701}
function create(sections) {
    for (let section of sections) {
        let div = $(`<div></div>`);
        let paragraph = $(`<p style="display:none">${section}</p>`);
        div.append(paragraph);
        $('#content').append(div);
        div.click(function () {
            paragraph.css('display', 'block')
        })
    }
}