skip to Main Content

Html – JavaScript errors after multiple onmouseover calls

function langPicker(buttonid) { animationForwarder('sectionlang1', 'sectionlang2', 'anim-switchByFadeIn-lang', 100) setTimeout(langTextChange, 625, buttonid); } function langTextChange(buttonid) { const subject1 = document.getElementById('sectionlang1'); const subject2 = document.getElementById('sectionlang2'); if (buttonid == 'cpp') { subject1.textContent = 'C++'; subject2.textContent = 'C++ is one of the most renowned programming…

VIEW QUESTION

Javascript function test fail

I seem to not be to pass all the tests: function profileActivation(profile, reason) { if (reason === "confirm status manually") { profile.active = true; } if (profile.active) { if (profile.reason) { return "confirm status manually"; } else { delete profile.reason;…

VIEW QUESTION
Back To Top
Search