|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html lang="en"> |
| 3 | + |
3 | 4 | <head> |
4 | 5 | <meta charset="UTF-8"> |
5 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | 7 | <title>Interview Questions</title> |
7 | 8 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" |
8 | 9 | integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> |
9 | 10 | <style> |
10 | | - body { |
11 | | - background: #f7f7f7; |
12 | | - } |
13 | | - .navbar { |
14 | | - box-shadow: 0 2px 10px rgba(0,0,0,0.08); |
15 | | - } |
16 | 11 | .navbar-nav .nav-link { |
17 | | - background-color: #ececec; |
18 | | - color: #222 !important; |
19 | | - border-radius: 8px; |
20 | | - padding: 8px 18px; |
21 | | - margin: 4px; |
22 | | - font-weight: 500; |
23 | | - transition: background 0.2s; |
24 | | - } |
25 | | - .navbar-nav .nav-link:hover, .navbar-nav .active .nav-link { |
26 | | - background-color: #cfd8dc; |
27 | | - color: #111 !important; |
28 | | - } |
29 | | - .section-title { |
30 | | - margin: 22px 0 12px 0; |
31 | | - text-align: center; |
32 | | - font-size: 2rem; |
33 | | - color: #3a3a3a; |
34 | | - font-weight: 600; |
35 | | - letter-spacing: 1px; |
36 | | - } |
37 | | - .iframe-container { |
38 | | - background: #fff; |
| 12 | + background-color: #bab6b6; |
| 13 | + color: rgb(14, 14, 14) !important; |
39 | 14 | border-radius: 10px; |
40 | | - box-shadow: 0 2px 12px rgba(0,0,0,0.1); |
41 | | - padding: 18px; |
42 | | - margin-bottom: 32px; |
43 | | - } |
44 | | - iframe { |
45 | | - border: none; |
46 | | - width: 100%; |
47 | | - height: 540px; |
48 | | - border-radius: 8px; |
49 | | - background: #fcfcfc; |
| 15 | + padding: 5px 10px; |
| 16 | + margin: 5px; |
50 | 17 | } |
51 | | - @media (max-width: 768px) { |
52 | | - .iframe-container { |
53 | | - padding: 6px; |
54 | | - } |
55 | | - iframe { |
56 | | - height: 420px; |
57 | | - } |
58 | | - .section-title { |
59 | | - font-size: 1.3rem; |
60 | | - } |
| 18 | + |
| 19 | + .navbar-nav .nav-link:hover { |
| 20 | + background-color: #acaca8; |
61 | 21 | } |
62 | 22 | </style> |
63 | 23 | </head> |
| 24 | + |
64 | 25 | <body> |
65 | 26 | <nav class="navbar navbar-expand-lg navbar-light bg-light"> |
66 | | - <a class="navbar-brand font-weight-bold text-primary" href="#">Interview Questions</a> |
67 | 27 | <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" |
68 | 28 | aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> |
69 | 29 | <span class="navbar-toggler-icon"></span> |
70 | 30 | </button> |
71 | 31 | <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
72 | 32 | <ul class="navbar-nav mr-auto"> |
73 | | - <li class="nav-item"><a class="nav-link" href="./JS/JS.html" target="tag">JavaScript</a></li> |
74 | | - <li class="nav-item"><a class="nav-link" href="./HTML/HTML.html" target="tag">HTML</a></li> |
75 | | - <li class="nav-item"><a class="nav-link" href="./CSS/CSS.html" target="tag">CSS</a></li> |
76 | | -<!-- <li class="nav-item"><a class="nav-link" href="./React/React.html" target="tag">React</a></li> |
77 | | - <li class="nav-item"><a class="nav-link" href="./Node/Node.html" target="tag">Node.js</a></li> --> |
78 | | - <!-- Add more categories if needed --> |
| 33 | + <li class="nav-item active"><a class="nav-link" href="./JS/JS.html" target="tag">JavaScript<span |
| 34 | + class="sr-only">(current)</span></a></li> |
| 35 | + |
79 | 36 | </ul> |
80 | | - <!-- Optional search bar |
81 | | - <form class="form-inline my-2 my-lg-0"> |
82 | | - <input class="form-control mr-sm-2" type="search" placeholder="Search Questions" aria-label="Search"> |
83 | | - <button class="btn btn-outline-primary my-2 my-sm-0" type="submit">Search</button> |
84 | | - </form> |
85 | | - --> |
| 37 | + <!-- <form class="form-inline my-2 my-lg-0"> |
| 38 | + <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search"> |
| 39 | + <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button> |
| 40 | + </form> --> |
86 | 41 | </div> |
87 | 42 | </nav> |
88 | | - |
89 | | - <div class="container"> |
90 | | - <div class="section-title">Select a Topic to View Interview Questions</div> |
91 | | - <div class="iframe-container"> |
92 | | - <iframe name="tag"></iframe> |
93 | | - </div> |
94 | | - </div> |
| 43 | + <section> |
| 44 | + <iframe name="tag" style="border-style: none; |
| 45 | + width: 100%; |
| 46 | + height: 520px;"> |
| 47 | + </iframe> |
| 48 | + </section> |
95 | 49 |
|
96 | 50 | <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" |
97 | 51 | integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" |
|
103 | 57 | integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" |
104 | 58 | crossorigin="anonymous"></script> |
105 | 59 | </body> |
| 60 | + |
106 | 61 | </html> |
0 commit comments