File tree Expand file tree Collapse file tree 3 files changed +44
-0
lines changed
Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > Quote Generator</ title >
7+ < script src ="https://cdn.tailwindcss.com "> </ script >
8+ </ head >
9+ < body >
10+ < div id ="main ">
11+ < div id ="quote ">
12+ < h1 id ="statement "> </ h1 >
13+ < span id ="author "> </ span >
14+ </ div >
15+ < hr >
16+ < div id ="buttons ">
17+ < a href ="www.x.com " id ="tweet "> Tweet</ a >
18+ < button id ="next-quote "> Next Quote</ button >
19+ </ div >
20+ < p > This random quote generated by Niraj</ p >
21+ </ div >
22+
23+ < script src ="script.js "> </ script >
24+ </ body >
25+ </ html >
Original file line number Diff line number Diff line change 1+ const statement = document . getElementById ( 'statement' ) ;
2+ const authorName = document . getElementById ( 'author' ) ;
3+ const actionButton = document . getElementById ( 'buttons' ) ;
4+ const nextQuote = document . getElementById ( 'next-quote' ) ;
5+
6+ nextQuote . onclick = getNewQuote ( ) ;
7+ actionButton . addEventListener ( '' )
8+
9+ function getNewQuote ( ) {
10+
11+ }
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