Add js and css integration
This commit is contained in:
@@ -0,0 +1 @@
|
||||
@import "tailwindcss";
|
||||
@@ -0,0 +1,11 @@
|
||||
const colors = ['#ff6b6b', '#4ecdc4', '#45b7d1', '#96ceb4', '#ffeaa7', '#dda0dd'];
|
||||
let current = 0;
|
||||
|
||||
setInterval(() => {
|
||||
current = (current + 1) % colors.length;
|
||||
document.body.style.backgroundColor = colors[current];
|
||||
}, 1000);
|
||||
|
||||
window.test = function(world) {
|
||||
console.log('Hello, ' + world + '!');
|
||||
}
|
||||
Reference in New Issue
Block a user