complete function showTip(). Once you have finished, check your…
Question Answered step-by-step complete function showTip(). Once you have finished, check your… complete function showTip(). Once you have finished, check your working against the JavaScript file provided. Continue on to the next steps to complete the remaining functions. /* write functions that defines the action for each event */ function showTip() { _____________; /* A variable named sidTip is defined */ sidTip = _____________; /* Get access to the element with id “sidTip” */ _____________ = _____________; /* The CSS property “display” of element “sidTip” is set to “inline” */ }6.2: Create function hideTip(), using showTip() in step 6.1 as an example.function hideTip() { ________________; /* createa variable named sidTip */ ____________________________________; /* get access to the element by its id “sidTip” */ _________________________; /* hide element “sidTip” by setting the CSS property “display” to “none” */ }6.3: Create function init(). In function init(), we link JavaScript functions to the appropriate events of corresponding HTML elements.function init() { ________________; /* createa variable named sid */ _____________________________________; /* get access to the HTML element by its id “sid” and link it to sid */ _________________________; /* link function showTip to the onmouseover event of sid */ _________________________; /* link function hideTip to the onmouseout event of sid */ } __________________; /* link function init to the onload event of the window so that function init will be called when the page is loaded */ Engineering & Technology Computer Science IT 300582 Share QuestionEmailCopy link Comments (0)


