Headings denoted with an asterisk ( * ) is retrieved from the course syllabus version Autumn 2026
Content and learning outcomes
Course contents
An introductory course to web application programming, with a focus on user experience and responsive web applications. The course provides basic Model-View-Presenter architecture principles for developing interactive applications. Such principles can be applied to desktop, mobile, or web apps and frameworks. The course applies the principles to web applications using JavaScript, JSX, HTML, CSS, and UI frameworks such as React and Vue.js, as well as state management and frameworks such as Mobx, Redux, Jotai, Recoil, Pinia, Zustand. These front-end applications use data from back-end systems on the web using web APIs. Students who have previously studied ID2216 may choose to learn new frameworks at the interface or state management level and reflect on the differences between web/HTML and mobile interactive elements and the types of interactive apps and designs they enable.
Intended learning outcomes
Having passed the course, the student will be able to
choose appropriate technical platforms or JavaScript frameworks to create useful data persistent interactive web applications or native applications
program interactive web applications according to Model-View-Controller or related architectures
program systems that read data from, and send data to, web interfaces with good use qualities
assess and improve the usability of existing interactive web applications
cooperate with others to implement interactive web applications.
Preparations before course start
Recommended prerequisites
Corresponding to the course Human-Computer Interaction, introductory course (DH1620/DH2620) and programming competence, elements of object-oriented programming.
Check under KTH Git that you have received your individual git repository. The repo is accessible only to you and the course team. If you do not find your repo, or cannot access it, or for any other issue, please write to dh2642-ta@eecs.kth.se
Literature
There is no book, as the Interaction Programming technologies are in continous dynamic change. Besides, there are many Web resources about the technologies involved (JavaScript HTML, CSS, JSX, React, Vue, Firebase)
The Canvas pages and the course videos present a selection of concepts and technical items such as HTML elements, CSS style properties, framework features like component state, lifecycle, etc. Based on this selection you can search further information on the web. Searching information is an important engineer skill. Still, all the technical items needed for the lab are explained in the course material.
Equipment
You can use any own computer, no special software is necessary.
Software
Web browsers like Google Chrome and Mozilla Firefox include very advanced developer tools which we use in the lab. We strongly suggest using Google Chrome at the lab, especially for the unit tests.
You will also need an editor like (free) Visual Studio Code, and launch a few commands in the Terminal. The course uses Git for version control we create a repository for each student (week 1) and lab pair (weeks 2 and 3). We also make heavy use of Zoom for lab help (all labs are digital) and lab examination, as well as project help.
Support for students with disabilities
Students at KTH with a permanent disability can get support during studies from Funka:
PRO1 - Project, 4.5 credits, grading scale: A, B, C, D, E, FX, F
LAB1 - Lab, 3.0 credits, grading scale: P, F
Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.
The examiner may apply another examination format when re-examining individual students.
If the course is discontinued, students may request to be examined during the following two academic years.
The section below is not retrieved from the course syllabus:
To pass LAB1 you need to
commit your lab code that passes the provided automated (unit) tests
take a scheduled 2h computer test that examines the most basic concepts practiced in the lab
Students who do not answer enough questions correctly at the computer test will be offered a re-test and subsequently an oral lab presentation of their lab code that may include other computer tests exercises assigned by a TA.
Computer tests and oral lab presentations are individual and require physical presence. Bring your identification.
The Lab is a prerequisite for the project. You need to have passed at least the computer test to start a project.
In the Project (PRO1) we expect each group member to commit to the project git repository in reasonable proportion. Each group member will also submit an individual self-reflection where they will describe their project contribution, as well as reflect on the process and learning from the project experience.
AI in the course LAB1: not recommended. AI is not available during computer tests or oral lab presentations.
PRO1: You can use AI but: You must include the prompts that were most useful to you in your lab submission. You must understand all your project code. The examiner can decide individual oral examination of the project.