CCExtractor Development

Write a Javascript library that returns an icon for each known Content-Type

Write a function getIcon (contenttype) that accepts a standard content-type (such as pdf, or image, or video, etc) and returns an icon for it to be displayed on the browser.

Since it's 2018 :-) best if it's actually a TypeScript version rather than plain JS.

Task tags

  • typescript
  • javascript
  • icon

Students who completed this task

poespas, lyect, html1011

Task type

  • code Code