{"size": 787, "ext": "js", "max_stars_repo_path": "js/questions.js", "max_stars_repo_name": "ConnorCT/the_charles_henry_experience_website", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/questions.js", "max_issues_repo_name": "ConnorCT/the_charles_henry_experience_website", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/questions.js", "max_forks_repo_name": "ConnorCT/the_charles_henry_experience_website", "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": 41.4210526316, "max_line_length": 161, "alphanum_fraction": 0.5260482846}
/**
 * @author Cassidy Adey | W18001748
 */


/**
 * Getting window size for dynamic web display
 * */

let windowWidth = window.innerWidth;

if (windowWidth < 492) {
    document.getElementById("adminQuestionInput1").innerHTML = "" +
                                                                " <label for='questionQuestion'>Question:</label><br>" +
                                                                "<textarea id='questionUserSubmit' name='question' rows='10' cols='30' required></textarea><br>";

    document.getElementById("adminQuestionInput2").innerHTML = "<label for='questionName'>Answer:</label><br>\n" +
        "                                                       <textarea id='questionName' name='answer' rows='10' cols='30' required></textarea><br>"
}