You create the following JavaScript code:
You have the following requirements:
You must invoke a function that displays the vehicle information within the following HTML
element: <div id=”display”x/div>
The output of the function must appear on the webpage as follows:
Vehicle Color is silver
Stay safe!
Vehicle TransmissionType is manual
Big machine!
You need to invoke the JavaScript function to display the required output in the HTML
element.
Which two code segments should you use? (Each correct answer presents a complete
solution. Choose two.)
A.
Option A
B.
Option B
C.
Option C
D.
Option D
E.
Option E