File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html lang ="en ">
3- < head >
4- < meta charset ="UTF-8 ">
5- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6- < link rel ="stylesheet " href ="css/style.css ">
3+ < head >
4+ < meta charset ="UTF-8 " / >
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " / >
6+ < link rel ="stylesheet " href ="css/style.css " / >
77 < title > Responsive Navbar</ title >
8- </ head >
9- < body >
8+ </ head >
9+ < body >
1010 < nav >
1111 < ul class ="sidebar ">
12- < li > < a href ="# " onclick =hideSidebar() > < svg xmlns =" http://www.w3.org/2000/ svg " height =" 26 " viewBox =" 0 96 960 960 " width =" 26 " > < path d =" m249 849-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z " /> </ svg > </ a > </ li >
12+ < li > < a href ="# " onclick =hideSidebar() > < img src =" assets/close_FILL0_wght400_GRAD0_opsz48. svg " alt =" Close-icon " > </ a > </ li >
1313 < li > < a href ="# "> Blog</ a > </ li >
1414 < li > < a href ="# "> Products</ a > </ li >
1515 < li > < a href ="# "> About</ a > </ li >
2323 < li class ="hideOnMobile "> < a href ="# "> About</ a > </ li >
2424 < li class ="hideOnMobile "> < a href ="# "> Forum</ a > </ li >
2525 < li class ="hideOnMobile "> < a href ="# "> Login</ a > </ li >
26- < li class ="menu-button " onclick =showSidebar() > < a href ="# "> < svg xmlns =" http://www.w3.org/2000/ svg " height =" 26 " viewBox =" 0 96 960 960 " width =" 26 " > < path d =" M120 816v-60h720v60H120Zm0-210v-60h720v60H120Zm0-210v-60h720v60H120Z " /> </ svg > </ a > </ li >
27- </ ul >
26+ < li class ="menu-button " onclick =showSidebar() > < a href ="# "> < img src =" assets/menu_FILL0_wght400_GRAD0_opsz48. svg " alt =" Menu-icon " > </ a > </ li >
27+ </ ul >
2828 </ nav >
2929 < main >
3030 < img class ="Hero-bg " src ="assets/laptop.jpg " alt ="Hero-img ">
4040 }
4141 </ script >
4242</ body >
43- </ html >
43+ </ html >
You can’t perform that action at this time.
0 commit comments