Skip to main content
ScotlandComputer Science

SQA Higher Computing Science Area Web Design and Development: a complete overview of analysis and design, HTML, CSS, JavaScript and testing

A deep-dive SQA Higher Computing Science guide to the Web Design and Development area. Covers web analysis and design (site structure diagrams, wireframes and prototypes), HTML structure and forms, CSS selectors and styling including a navigation bar, JavaScript events and the DOM, and testing and evaluation.

Generated by Claude Opus 4.816 min readHigher

Reviewed by: AI editorial process; not yet individually human-reviewed

Jump to a section
  1. What Web Design and Development actually demands
  2. Analysis and design
  3. HTML
  4. CSS
  5. JavaScript
  6. Testing and evaluation
  7. How Web Design and Development is examined
  8. Check your knowledge

What Web Design and Development actually demands

Web Design and Development (WDD) is an optional pathway in Higher Computing Science: in the question paper you sit either the Web section or the Database section, and the same choice appears in the assignment. It runs from planning a site through building it with HTML, CSS and JavaScript to testing and evaluating it. The examiners reward correct, readable markup and styling, short working scripts, and clear explanations of design and testing decisions.

This guide walks through the key areas of WDD, then sets out the patterns the SQA repeats. Each key area has a matching dot-point page with practice questions; this overview ties them together.

Analysis and design

The area opens with analysis and design. Analysis states the purpose and functional requirements. The structure is planned with a site structure diagram (a map of the pages and their links), each page's layout with a wireframe (labelled regions, no final styling), and the whole design reviewed as a low-fidelity prototype for cheap early feedback.

HTML

HTML marks up structure and content. The page-layout elements give meaningful regions: header, nav, section and footer. Content uses links (anchors with an href), images (img with src and alt), lists (ul/ol with li) and tables (tr with td/th). Forms capture user input with labelled input fields and a submit button.

CSS

CSS controls appearance and layout through rules with selectors: element (h1), class (.name, reusable) and id (#name, unique). It sets appearance (colour, font, background) and positioning (margin, padding, layout), and is attached inline, internally or externally (external is best for multi-page sites). A horizontal navigation bar is a styled list of links laid out in a row.

JavaScript

JavaScript adds behaviour. It responds to events (onclick, onmouseover, onchange) by running functions, and changes the page through the DOM: getElementById finds an element by id and innerHTML changes the content shown inside it, updating the page without a reload.

Testing and evaluation

Testing checks the site against its requirements: every link loads the right page, forms accept and handle input, and scripts respond to their events. Usability and browser compatibility are checked too. The evaluation judges fitness for purpose and usability, recorded in a test plan.

How Web Design and Development is examined

A typical SQA profile for WDD:

  • Writing code. Most marks come from writing and reading HTML (including forms), CSS rules and selectors, and short JavaScript event functions.
  • Design. Site structure diagrams, wireframes and prototypes from a brief.
  • Explanation. The roles of HTML, CSS and JavaScript, internal versus external CSS, events and the DOM, and testing and evaluation decisions.

Check your knowledge

A mix of design, code and explanation questions covering WDD. Attempt them, then check against the solutions.

  1. State what a site structure diagram shows. (1 mark)
  2. Name the HTML element used for the navigation links of a page. (1 mark)
  3. State the symbol that begins a CSS class selector. (1 mark)
  4. State the JavaScript method used to find an element by its id. (1 mark)
  5. State what setting an element's innerHTML does. (1 mark)
  6. State what fitness for purpose means when evaluating a website. (1 mark)

Sources & how we know this

  • computer-science
  • sqa-higher
  • sqa-computing
  • web-design-and-development
  • higher
  • html
  • css
  • javascript