i am using this link “<script src="https://cdn.tailwindcss.com"></script>
” and it shows failed to load resources
here is my code (im a begginer don’t judge me plz)
`<!DOCTYPE html>
<html lang="en">
<head>`your text`
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div class="main bg-gray-800 w-full min-h-screen ">
<div class="form">
<form action="">
<input class="block bg-zinc-800 px-5 py-2 " type="text" placeholder="Title goes here...">
<textarea class="block bg-zinc-800 px-5 py-2 resize-none" placeholder="Write your task details here"></textarea>
<input type="submit" value="Create Task" >
</form>
</div>
</div>`
i tried to install it on terminal and it couldn’t load the files of style.css
i tried this link “<link rel=”stylesheet” href="https://unpkg.com/[email protected]/dist/tailwind.min.css"/>
” it does work but still some colors are not applied only a few parts of tailwind work like if i add black color it will work , if i try to add zinc-800 it won’t work , it will be helpful if my tailwind css start working as im making a beginner project and the instructor is using this link “<script src="https://cdn.tailwindcss.com"></script>"
and its working fine with him
Rolter Gaming is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.