{"size": 258, "ext": "js", "max_stars_repo_path": "Javascript Advanced/JS Advanced/Lab-4-DOM-Introduction/03.Sum Numbers/SumNumbers.js", "max_stars_repo_name": "HNochev/SoftUni-CSharp-Software-Engineering", "max_stars_repo_stars_event_min_datetime": "2022-03-20T13:30:55.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-20T13:30:55.000Z", "max_issues_repo_path": "Javascript Advanced/JS Advanced/Lab-4-DOM-Introduction/03.Sum Numbers/SumNumbers.js", "max_issues_repo_name": "HNochev/SoftUni-CSharp-Software-Engineering", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Javascript Advanced/JS Advanced/Lab-4-DOM-Introduction/03.Sum Numbers/SumNumbers.js", "max_forks_repo_name": "HNochev/SoftUni-CSharp-Software-Engineering", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.8, "max_line_length": 59, "alphanum_fraction": 0.6511627907}
function calc() {
    // TODO: sum = num1 + num2
    let num1 = document.getElementById('num1');
    let num2 = document.getElementById('num2');

    let result = document.getElementById('sum');

    result.value = Number(num1.value) + Number(num2.value);
}
