Detikcom Frontend Design Assignment

by Tegar Fitrah Naba Atthoriq

Setup

This project build with Tailwind, so you need to build yours.

Install the Tailwind first, using this command

npm install -D tailwindcss
npx tailwindcss init

Then build the output using this command

npx tailwindcss -i ./src/css/input.css -o ./dist/output.css --watch

If there are issues when using the CLI, you can add this script on the head of HTML page.

<head>
    ...
    <script src="https://cdn.tailwindcss.com"></script>
</head>

For more information, check this Tailwind installation link.