Question 1) Directly write the string \"Question 1\" to the document using JavaS
ID: 3567401 • Letter: Q
Question
Question 1) Directly write the string "Question 1" to the document using JavaScript
Question 2)
Create a div tag with an id of question2, now inject html into the div tag using innerHTML.
Question 3)
Create a div tag with an id of question3, now change the background color of the div tag.
Question 4)
Create a div tag with an id of question4. Create a button that will inject html into the div tag.
Do not use a function for this.
Question 5)
Create a div tag with an id of question5. Create a button that will change the border of the div tag.
Do not use a function for this.
Question 6)
Create a div tag with an id of question6. Use the mouseover and mouseout event handlers to change the border
of the div tag. Do not use functions.
Question 7)
Create a div tag with an id of question7. Do the same as question 4 but using a function.
Question 8)
Create a div tag with an id of question8. Do the same as question 5 but using a function.
Question 9)
Create a div tag with an id of question9. Do the same as question 6 but using functions.
Question 10)
Create a div tag with an id of question10. Create a button that will change the border of
div tag ever time it is clicked. This will need a if else structure.
Explanation / Answer
<script>
document.write("string");
</script>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.