File tree Expand file tree Collapse file tree 3 files changed +15
-16
lines changed
Expand file tree Collapse file tree 3 files changed +15
-16
lines changed Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6- < title > Document</ title >
6+ < title > Calculator</ title >
7+ < script src ="https://cdn.tailwindcss.com "> </ script >
78 < style >
8- body {
9- background-color : grey;
10- }
11- # main {
12- height : 10rem ;
13- width : 10rem ;
14- border-radius : 5px ;
15- border-color : black;
16- background-color : aqua;
9+ .btn : active {
10+ filter : brightness (0.9 );
1711 }
1812 </ style >
1913</ head >
2014< body >
21- < div id ="main "> </ div >
2215
23- < script src ="script.js "> </ script >
16+
17+
18+ < script src ="script.js "> </ script >
2419</ body >
2520</ html >
Original file line number Diff line number Diff line change 1- const box = document . getElementById ( 'main' ) ;
2- box . addEventListener ( 'click' , {
3-
4- } )
Original file line number Diff line number Diff line change 1+ /** @type {import('tailwindcss').Config } */
2+ module . exports = {
3+ content : [ "./*.html" ] ,
4+ theme : {
5+ extend : { } ,
6+ } ,
7+ plugins : [ ] ,
8+ } ;
You can’t perform that action at this time.
0 commit comments