Generative AI and web pages
Answers are for parents and teachers.
1
Rewrite the vague prompt “Make me a poster” into a clear prompt that has purpose, audience, format and a limit.
For example: “Write the words for a poster that invites pupils aged 12 to a school reading day: a title and three short lines, no more than 30 words.”
2
Find the two mistakes in this code.
Html
1<p>Welcome 2<img src="club.png alt="Room">
The picture’s src quote is not closed, and the paragraph has no closing tag </p>.
3
Write a CSS rule that makes the paragraph with id intro red and 18 pixels tall.
#intro { color: red; font-size: 18px; }
4
What does this JavaScript do when the button is clicked?
JavaScript
1const btn = document.getElementById("save"); 2btn.onclick = () => { 3 document.getElementById("status").textContent = "Saved"; 4};
It puts the text “Saved” into the element with id status.
5
A helper says a famous scientist said a sentence, with a year. How can you check it, and what do you do if you cannot?
Look in a reliable book or a teacher-approved source. If you cannot confirm it, do not use it as a fact.