{ "key_pair_value_system": true, "answer_rating_count": "", "question_feedback_html": { "html_star": "", "html_star_feedback": "" }, "answer_average_rating_value": "", "answer_date_js": "2024-08-25T02:15:18-04:00", "answer_date": "2024-08-25 02:15:18", "is_docs_available": null, "is_excel_available": null, "is_pdf_available": null, "count_file_available": 0, "main_page": "student_question_view", "question_id": "8360596", "url": "\/study-help\/questions\/so-i-dont-know-what-im-doing-wrong-i-cant-8360596", "question_creation_date_js": "2024-08-25T02:15:18-04:00", "question_creation_date": "Aug 25, 2024 02:15 AM", "meta_title": "[Solved] So I don't know what I'm doing wrong. I c | SolutionInn", "meta_description": "Answer of - So I don't know what I'm doing wrong. I can't get this javascript code to do simple addition. Can anyone help me? func | SolutionInn", "meta_keywords": "m,wrong,javascript,code,simple,addition,help,function,var,value1,parseint,documentgetelementbyid", "question_title_h1": "So I don't know what I'm doing wrong. I can't get this javascript code to do simple addition. Can anyone help me? function calculate() {", "question_title": "So I don't know what I'm doing wrong. I can't get this", "question_title_for_js_snippet": "So I don't know what I'm doing wrong I can't get this javascript code to do simple addition Can anyone help me function calculate() var value1 parseInt(document getElementById( value1 ) value) var value2 parseInt(document getElementById( value2 ) value) document getElementById( result ) value value1 value2 document getElementById( result ) value addition(value1, value2) function addition(value1, value2) return value1 value2 Title Bar Calculator Value 1 Value 2 Operator Result ", "question_description": "

So I don't know what I'm doing wrong. I can't get this javascript code to do simple addition. Can anyone help me?<\/p>

<\/p>

<\/p>

<\/p>