Back to the full dot-point answer
ScotlandComputer ScienceQuick questions
Area 4: Web Design and Development
Quick questions on JavaScript: events, functions and changing the page - SQA Higher Computing Science
2short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.
What is q1?Show answer
State what an event is in JavaScript. [1 mark]
What is q2?Show answer
State the JavaScript method used to find an element by its id. [1 mark]
Have a question we have not covered?
This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.