Skip to content

Web Programming - I syllabus

ITM 2027 units · 92 topicsAcademic year 2083/84
Browse the units

1Web Programming - I

2Web Essentials and Tools

  1. 2.1
    Internet and the World Wide Web: brief history, Internet vs WWW, ISPs
  2. 2.2
    Web page, web site and web application; static and dynamic web sites; Web 1.0, 2.0 and 3.0; career paths in web design and development
  3. 2.3
    Internet protocols: TCP/IP model and its layers, IP addressing (IPv4 and IPv6), TCP vs UDP, ports
  4. 2.4
    DNS and domain names, domain name resolution process
  5. 2.5
    Higher-level protocols: FTP, SMTP, POP3, IMAP and HTTPS with TLS basics
  6. 2.6
    HTTP request-response cycle: request message (method, headers, body), response message (status line, headers, body)
  7. 2.7
    HTTP methods (GET, POST, PUT, DELETE), status code groups (1xx to 5xx), HTTP vs HTTPS
  8. 2.8
    URL, URI and URN, URL structure (scheme, host, port, path, query string, fragment), absolute and relative URLs
  9. 2.9
    Web architecture: client/server, 1-tier, 2-tier and 3-tier models
  10. 2.10
    Web client, browser roles, web server, application server and database server
  11. 2.11
    Web page rendering, web hosting basics, web standards bodies (W3C and WHATWG)
  12. 2.12
    Development environment: code editors (VS Code), extensions, Live Server, project folder structure and file naming conventions
  13. 2.13
    Browser developer tools (Elements, Console, Network and Sources panels)
  14. 2.14
    Validating pages with the W3C validator, cross-browser testing basics
  15. 2.15
    Version control: need, Git concepts (repository, commit, branch, merge), basic commands (init, add, commit, status, log, push, pull)
  16. 2.16
    GitHub repository and README, .gitignore, collaboration with pull requests
  17. 2.17
    Web security awareness (HTTPS, same-origin policy, safe handling of user input)

3HTML and HTML5: Structuring Documents

  1. 3.1
    Introduction to HTML and HTML5
  2. 3.2
    Structure of an HTML document: doctype, html, head, title and body
  3. 3.3
    Elements and attributes, comments
  4. 3.4
    Headings, paragraphs, line breaks and horizontal rules
  5. 3.5
    Text formatting and phrase elements (strong, em, abbr, blockquote, q, cite, code, kbd, var, samp, address, sub, sup)
  6. 3.6
    Block and inline elements, grouping with div and span
  7. 3.7
    Lists: ordered, unordered, definition and nested
  8. 3.8
    Hyperlinks: absolute and relative paths, email links and page anchors
  9. 3.9
    Images: img element, src, alt, width and height attributes, image formats (JPEG, PNG, GIF, SVG, WebP), images as links
  10. 3.10
    Tables: table, tr, th, td, caption, thead, tbody, tfoot, colspan and rowspan
  11. 3.11
    Forms and form controls: form element, action, method and enctype attributes, text, password, radio buttons, checkboxes, select boxes, textarea, file select, hidden controls, submit and reset buttons
  12. 3.12
    HTML5 input types (email, date, number, range, url), label, fieldset and legend, placeholder, required and pattern attributes
  13. 3.13
    Audio and video elements, iframe and its attributes
  14. 3.14
    Head and meta tags
  15. 3.15
    HTML5 semantic elements: header, nav, main, section, article, aside and footer
  16. 3.16
    class and id attributes
  17. 3.17
    Accessibility basics: alt text, form labels and keyboard focus

4CSS3: Styling, Layout and Responsive Design

  1. 4.1
    Introduction to CSS, CSS syntax, inserting CSS (inline, internal and external), comments
  2. 4.2
    Cascade, inheritance and specificity
  3. 4.3
    Selectors: universal, type, class, id, descendant, child, adjacent sibling, general sibling, attribute, pseudo-class and pseudo-element
  4. 4.4
    Color values and backgrounds: background-color, image, repeat, position, attachment and shorthand
  5. 4.5
    Text and fonts: font-family, size, weight, style, text-align, decoration, transform, letter and word spacing, web fonts
  6. 4.6
    Styling links, lists and tables
  7. 4.7
    Units: px, em, rem, %, vw and vh
  8. 4.8
    The box model: content, padding, border and margin
  9. 4.9
    Height, width, max-width and overflow
  10. 4.10
    The display and visibility properties
  11. 4.11
    Positioning: static, relative, absolute, fixed and sticky, z-index; float and clear
  12. 4.12
    Flexbox layout
  13. 4.13
    CSS Grid layout
  14. 4.14
    Transitions and simple animations
  15. 4.15
    Responsive web design: viewport meta tag, fluid layouts, responsive images, media queries, mobile-first approach
  16. 4.16
    Introduction to CSS frameworks (Bootstrap)

5UI/UX Design for the Web

  1. 5.1
    Introduction to UI and UX, human-centred design process
  2. 5.2
    Understanding the audience: who will visit, why they visit and what goal they need to achieve
  3. 5.3
    User research basics, personas and scenarios
  4. 5.4
    Information architecture: prioritizing and grouping content, card sorting, site maps
  5. 5.5
    Navigation patterns and user flows
  6. 5.6
    Visual design principles: layout, grid, visual hierarchy, color theory and contrast, typography, spacing and imagery
  7. 5.7
    Usability principles: Nielsen's ten heuristics, Gestalt principles, Fitts's law and Hick's law
  8. 5.8
    Accessibility: WCAG principles (perceivable, operable, understandable, robust), color contrast and keyboard navigation
  9. 5.9
    Interface patterns: navigation bars, cards, forms, buttons, feedback and error messages, microcopy
  10. 5.10
    Golden ratio and its importance in UI/UX design
  11. 5.11
    Mobile UX and touch-friendly design
  12. 5.12
    Sketching and wireframing for desktop and mobile
  13. 5.13
    Low-fidelity and high-fidelity prototyping using Figma
  14. 5.14
    Reusable components and styles in Figma (design systems and design tokens)
  15. 5.15
    Peer feedback and iterating on a design

6JavaScript and the DOM

  1. 6.1
    Introduction to JavaScript, adding JavaScript to a page (inline, internal, external), output methods, comments
  2. 6.2
    Variables (var, let, const) and data types, type conversion
  3. 6.3
    Operators: arithmetic, assignment, comparison, logical and string
  4. 6.4
    Control statements: if, if-else, switch
  5. 6.5
    Loops: for, while, do-while, for-of, for-in, break and continue
  6. 6.6
    Functions: declaration, expression, arrow functions, parameters, return values and scope
  7. 6.7
    Arrays and array methods (push, pop, forEach, map, filter, every)
  8. 6.8
    Objects, methods and classes
  9. 6.9
    Built-in objects: String, Number, Math, Date and Array
  10. 6.10
    Document Object Model (DOM): selecting, creating, changing and removing elements
  11. 6.11
    Browser Object Model (BOM): window, location, history and navigator
  12. 6.12
    JavaScript events: event listener, event object, preventDefault(), event propagation, phases (capture, target, bubbling)
  13. 6.13
    Event handling: click, change, submit, keyboard and mouse events
  14. 6.14
    Form validation: when to validate, text fields, string length, email format, select box options, radio buttons and checkboxes, displaying error messages
  15. 6.15
    Error handling with try, catch, finally and throw
  16. 6.16
    Cookies, localStorage and sessionStorage
  17. 6.17
    Modern JavaScript (ES6): template literals, destructuring, spread operator and modules
  18. 6.18
    Introduction and implementation of jQuery

7Web Data and Publishing

  1. 7.1
    JSON and data handling: JSON syntax and data types, objects, arrays and nesting, JSON.parse() and JSON.stringify()
  2. 7.2
    Asynchronous programming and APIs: promises, async and await, Fetch for GET and POST requests, REST endpoints
  3. 7.3
    Query parameters, request headers, HTTP status codes, CORS basics, inspecting requests in browser DevTools
  4. 7.4
    Dynamic interfaces: displaying API data with the DOM, handling loading, empty and error states
  5. 7.5
    Performance, accessibility, SEO and security: image optimization, lazy loading, Lighthouse, semantic HTML, page titles and descriptions, keyboard accessibility
  6. 7.6
    Safely rendering untrusted content to prevent cross-site scripting (XSS)
  7. 7.7
    Deployment and final project: web server, GitHub Pages and Firebase hosting
  8. 7.8
    Testing across browsers and screen sizes, checking accessibility and broken links, presenting the finished project