W1. Workshop, coding with others.


L1 should have been completed.

Install a LAMP, MAMP, WAMP, or similar so that you have a local server. Test this server by running a small PHP script for and echo a string. Only what is echoed should show in the browser.


Show up, bring computer, be prepared to work


Show up in slack, make sure you have a working headset, follow the instructions. Slack is the fall back com-channel.



You are supposed to participate actively during the entire session, a lunch break will be provided.


Create a small onepage (index.php) webbapp that:

  1. Encrypts a string using rövarspråket. The app should also be able to decrypt the string.
  2. 21 matches game. One player vs AI, draw one, two, or three sticks, the player that draws the last stick looses.
  3. Extract different metrics from a PHP text input, Lines of code, max nesting depth, longest line…
  4. Hangman (hänga gubben)

Välkommen till CoursePress

en utav Linnéuniversitets lärplattformar. Som inloggad student kan du kommunicera, hålla koll på dina kurser och mycket mer. Du som är gäst kan nå de flesta kurser och dess innehåll utan att logga in.

Läs mer lärplattformar vid Linnéuniversitetet


För att logga in behöver du ett studentkonto vid Linnéuniversitet.

Läs mer om att hämta ut studentkonto

Inloggning LNU