-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathresponsive.html
More file actions
154 lines (128 loc) · 7.63 KB
/
Copy pathresponsive.html
File metadata and controls
154 lines (128 loc) · 7.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- css -->
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="./assets/css/tools/responsive.css">
<title>DevLab - Responsive Design Testing</title>
<!-- Meta Description: Accurately reflects the content of each page -->
<meta name="description"
content="Unlock the potential of DevLab, your comprehensive web development environment. Enjoy features like an integrated code editor, live preview, API documentation, and a suite of tools for seamless coding. Any developer can leverage our tools, and if the desired tool isn't available, contribute to add it! Join our community, contribute, and shape the ultimate web development toolkit.">
<link rel="canonical" href="https://devlab.nhussein.io" />
<!-- Favicon -->
<link rel="icon" type="image/png" sizes="32x32" href="./assets/logo/DevLab.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/logo/DevLab.png">
<!-- CSS -->
<!-- js -->
<script src="./assets/js/core/dark-mode.js" defer></script>
<script src="./assets/js/tools/responsive.js" defer></script>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400&family=Source+Sans+3:wght@200;300;400;500;600;700&display=swap"
rel="stylesheet">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://devlab.nhussein.io">
<meta property="og:title" content="DevLab - Web Development Environment">
<meta property="og:description"
content="Explore the features and functionalities of DevLab, a web development environment that enhances your coding experience.">
<meta property="og:image" content="./assets/logo/DevLab.png">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://devlab.nhussein.io">
<meta name="twitter:title" content="DevLab - Web Development Environment">
<meta name="twitter:description"
content="Explore the features and functionalities of DevLab, a web development environment that enhances your coding experience.">
<meta name="twitter:image" content="./assets/logo/DevLab.png">
<!-- Additional tags for SEO (if needed) -->
<!-- Meta Keywords (Optional): Skip or use sparingly -->
<meta name="keywords"
content="web development, coding, coding environment, DevLab, developer tools, code editor, live preview, code snippets, version control integration, API documentation viewer, linting, error checking, responsive design testing, performance analysis, debugging tools, HTML-to-JSX converter, validators, color picker, character encoding, CSS grid generator, flexbox generator, code minifiers, code beautifiers, performance testing, resume creator, portfolio conversion, linktree creation">
</head>
<body>
<!-- Navbar -->
<nav class="navbar">
<div class="logo">
<a href="index.html">
<img src="./assets/logo/DevLab.png" height="100px" alt="DevLab">
</a>
</div>
<div>
<ul class="nav-links">
<li><a class="nav-link" href="./index.html">DevLab</a></li>
<li><a href="./Doc.html" class="nav-link">Doc</a></li>
<!-- <li><a class="nav-link" href="index.html">Tools</a></li> -->
<li><a href="index.html#contribute" class="nav-link">Contribute</a></li>
</ul>
</div>
<!-- Dark and Light theme -->
<div class="dark-light-mode-theme">
<label class="switch">
<span class="sun"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g fill="#ffd43b">
<circle r="5" cy="12" cx="12"></circle>
<path
d="m21 13h-1a1 1 0 0 1 0-2h1a1 1 0 0 1 0 2zm-17 0h-1a1 1 0 0 1 0-2h1a1 1 0 0 1 0 2zm13.66-5.66a1 1 0 0 1 -.66-.29 1 1 0 0 1 0-1.41l.71-.71a1 1 0 1 1 1.41 1.41l-.71.71a1 1 0 0 1 -.75.29zm-12.02 12.02a1 1 0 0 1 -.71-.29 1 1 0 0 1 0-1.41l.71-.66a1 1 0 0 1 1.41 1.41l-.71.71a1 1 0 0 1 -.7.24zm6.36-14.36a1 1 0 0 1 -1-1v-1a1 1 0 0 1 2 0v1a1 1 0 0 1 -1 1zm0 17a1 1 0 0 1 -1-1v-1a1 1 0 0 1 2 0v1a1 1 0 0 1 -1 1zm-5.66-14.66a1 1 0 0 1 -.7-.29l-.71-.71a1 1 0 0 1 1.41-1.41l.71.71a1 1 0 0 1 0 1.41 1 1 0 0 1 -.71.29zm12.02 12.02a1 1 0 0 1 -.7-.29l-.66-.71a1 1 0 0 1 1.36-1.36l.71.71a1 1 0 0 1 0 1.41 1 1 0 0 1 -.71.24z">
</path>
</g>
</svg></span>
<span class="moon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512">
<path
d="m223.5 32c-123.5 0-223.5 100.3-223.5 224s100 224 223.5 224c60.6 0 115.5-24.2 155.8-63.4 5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6-96.9 0-175.5-78.8-175.5-176 0-65.8 36-123.1 89.3-153.3 6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z">
</path>
</svg></span>
<input id="dark-mode-toggle" type="checkbox" class="input">
<span class="slider"></span>
</label>
</div>
</nav>
<!-- section title -->
<div class="section-title">
<span id="line-span"></span>
<span id="tool-title"> Responsive Design Testing</span>
<span id="line-span"></span>
</div>
<!-- Responsive Testing Section -->
<section id="responsive-testing">
<div class="responsive-container">
<h2>Responsive Design Tester</h2>
<p>Test how your website looks on different screen sizes</p>
<div class="device-controls">
<button onclick="setDevice('desktop')" class="device-btn active">Desktop (1920x1080)</button>
<button onclick="setDevice('laptop')" class="device-btn">Laptop (1366x768)</button>
<button onclick="setDevice('tablet')" class="device-btn">Tablet (768x1024)</button>
<button onclick="setDevice('mobile')" class="device-btn">Mobile (375x667)</button>
</div>
<div class="url-input">
<input type="url" id="testUrl" placeholder="Enter website URL to test"
value="https://devlab.nhussein.io">
<button onclick="loadWebsite()" class="load-btn">Load Website</button>
</div>
<div class="preview-container">
<iframe id="responsiveFrame" src="https://devlab.nhussein.io" width="100%" height="600px"></iframe>
</div>
</div>
</section>
<!-- footer -->
<footer>
<div class="footer-upper">
<div class="footer-logo">
<a href="#hero"><img class="footer-logo"
src="./assets/logo/DevLab.png"
height="100px" alt="DevLab"></a>
</div>
</div>
<div class="made-by">
</div>
<p style="color: aliceblue; margin: 0;">
Developed with passion by
<a href="https://nhussein.io" style="font-weight: bold; color: aliceblue;" target="_blank"
rel="noopener noreferrer">Nhussein</a>
</p>
</footer>
</body>
</html>