File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
77 < title > Link-Master</ title >
88 < link rel ="stylesheet " href ="styles.css ">
9-
9+ < link rel =" shortcut icon " type =" image/jpg " href =" ./link.svg " />
1010</ head >
1111< body >
12+ <!-- <div id="drkbtndiv">
13+ <button id="drkbtn" onclick="toggleTheme()">Dark</button>
14+ </div> -->
1215 < div id ="logo ">
1316 < a href ="# ">
14- < img id ="logoimg " src ="https://www.flaticon.com/svg/vstatic/svg/3942/3942468 .svg?token=exp=1616088423~hmac=b34c0ea0bbfce6ad4744cf0fd41141fe " alt ="">
17+ < img id ="logoimg " src ="./link .svg " alt ="">
1518 </ a >
1619 < a id ="home " href ="# ">
1720 < h3 id ="hometext "> Link-Master</ h3 >
@@ -45,7 +48,7 @@ <h1>Here you go ...</h1>
4548
4649< div id ="lower ">
4750< div id ="madewithdiv ">
48- < h5 id ="madewith "> Made with < span id ="hrt " > ♥ ;</ span > by < a href ="https://github.com/code-reaper08 "> code-reaper08</ a > </ h5 >
51+ < h5 id ="madewith "> Made with < span id ="hrt " > ❤ ;</ span > by < a href ="https://github.com/code-reaper08 "> code-reaper08</ a > </ h5 >
4952</ div >
5053< div id ="licdiv ">
5154 < h5 id ="lic "> Licensed under MIT</ h5 >
@@ -58,4 +61,6 @@ <h5 id="lic"> Vishwa.R @2021</h5>
5861< script src ="bundle.js "> </ script >
5962< script src ="indexbundle.js "> </ script >
6063</ body >
61- </ html >
64+ </ html >
65+
66+
Original file line number Diff line number Diff line change @@ -2,31 +2,11 @@ const searchInput = document.getElementById('search-input');
22const searchButton = document . getElementById ( 'search-button' ) ;
33
44
5-
65searchButton . addEventListener ( 'click' , ( e ) => {
76 e . preventDefault ( ) ;
87 const userlink = searchInput . value ;
98 sessionStorage . setItem ( "userlink" , userlink ) ;
109 location . reload ( ) ;
1110 location . reload ( ) ;
1211
13- } )
14-
15-
16-
17- // $("#search-button").dblclick(function(e) {
18- // console.log("dbl click simulated ");
19- // e.preventDefault();
20- // const userlink = $("#search-input").val();
21- // sessionStorage.setItem("userlink", userlink);
22- // location.reload();
23- // // alert('dblclick');
24- // });
25- // $("#search-button").click(function() {
26- // // alert('click');
27- // $(this).dblclick();
28- // });
29-
30- // // $("#container2").click(function() {
31- // // $("#container").click();
32- // // });
12+ } )
Original file line number Diff line number Diff line change @@ -204,4 +204,31 @@ box-shadow: inset 22px 12px 24px #c4c4c4,
204204 box-shadow : inset 12px 22px 24px # f0f0f0,
205205 inset -12px -12px 24px # d6d6d675 ;
206206 border-radius : 40px ;
207+ }
208+ # drkbtn {
209+ text-align : center;
210+ border-radius : 50% ;
211+ height : 50px ;
212+ width : 50px ;
213+ text-size-adjust : 2px ;
214+ border : none;
215+ outline : none;
216+ color : rgb (255 , 255 , 255 );
217+ background : linear-gradient (145deg , # f0f0f0, # 2b2b2b );
218+ box-shadow : 11px 11px 33px # c5c5c5,
219+ -11px -11px 22px # ffffff ;
220+ }
221+ # drkbtn : hover {
222+ background : linear-gradient (145deg , # 8a8989, # 000000 );
223+ box-shadow : 11px 11px 33px # c5c5c5,
224+ -11px -11px 22px # ffffff ;
225+ }
226+ # drkbtn : active {
227+ background : linear-gradient (145deg , # f0f0f0, # 707070 );
228+ box-shadow : inset 11px 11px 33px # c5c5c5,
229+ inset -11px -11px 22px # ffffff ;
230+ }
231+
232+ # drkbtndiv {
233+ text-align : right;
207234}
You can’t perform that action at this time.
0 commit comments