ExamBank Scot · AH Computing Science question bank · All AH Computing Science questions

AH Computing Science 2024 Question 9

1 mark · CSS media queries

The GrowPlants website provides information for gardeners about plant care and the identification of plants. The CSS used to display the site content includes the following media query. @media only screen and (max-width: 600px) {} Explain the purpose of this media query.

Marking scheme

This code is triggered when the width of the screen is less than or equal to 600 pixels to apply styles suitable for a smaller screen. 1 mark for description of the media query with reference to screen size.

Previous question: AH Computing Science 2024 Question 8

Next question: AH Computing Science 2024 Question 10