-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindow_Popup.js
210 lines (186 loc) · 6.44 KB
/
window_Popup.js
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
let section = [
{
name:"TONIC",
description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essent",
featured_image: "./images/Portfolio 1.png",
technologies: ["html", "css", "javascript"],
link_to_live: "",
link_to_source: ""
},
{
name:"Multi-Post<br /> Stories",
description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essent",
featured_image: "./images/Portfolio 2.png",
technologies: ["html", "css", "javascript"],
link_to_live: "",
link_to_source: ""
},
{
name:"TONIC",
description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essent",
featured_image: "./images/Portfolio 3.png",
technologies: ["html", "css", "javascript"],
link_to_live: "",
link_to_source: ""
},
{
name:"Multi-Post<br /> Stories",
description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essent",
featured_image: "./images/Portfolio 4.png",
technologies: ["html", "css", "javascript"],
link_to_live: "",
link_to_source: ""
}
]
const body = document.querySelector('body');
const mysection = document.createElement('section');
body.appendBefore(mysection);
mysection.innerHTML = `<div class="grid-container">
<!-- portfolio - 1 -->
<div class="card">
<div class="row">
<div class="col-1 work-1">
<a href="#"
><img src="./images/Portfolio 1.png" class="mobile-only" alt="portfolio-1"
/></a>
<a href="#"
><img src="./images/dsk Portfolio1.png" class="desktop-only" alt="portfolio-1"
/></a>
</div>
<div class="col-2">
<a href="#"><h1>TONIC</h1></a>
<div class="work-details flex2">
<a href="#"><h3>CANOPY</h3></a>
<div class="bullet-point"></div>
<a href=""><h4>Back End Dev</h4></a>
<div class="bullet-point"></div>
<a href=""><h4>2015</h4></a>
</div>
<p>
A daily selection of privately personalized reads; no accounts
or sign-ups required.
</p>
<ul>
<li class="work-tools">
<button type="button" class="tools">html</button>
<button type="button" class="tools">css</button>
<button type="button" class="tools">javascript</button>
</li>
</ul>
<div>
<button type="button" class="primary-btn">See Project</button>
</div>
</div>
</div>
</div>
<div class="card">
<div class="row reverse">
<div class="col-1">
<a href="#"
><img src="./images/Portfolio 2.png" class="mobile-only" alt="portfolio-1"
/></a>
<a href="#"
><img src="./images/dsk Portfolio2.png" class="desktop-only" alt="portfolio-1"
/></a>
</div>
<div class="col-2">
<a href="#"
><h1>Multi-Post<br /> Stories</h1></a>
<div class="work-details flex2">
<a href="#"><h3>CANOPY</h3></a>
<div class="bullet-point"></div>
<a href=""><h4>Back End Dev</h4></a>
<div class="bullet-point"></div>
<a href=""><h4>2015</h4></a>
</div>
<p>
A daily selection of privately personalized reads; no accounts
or sign-ups required.
</p>
<ul>
<li class="work-tools">
<button type="button" class="tools">html</button>
<button type="button" class="tools">css</button>
<button type="button" class="tools">javascript</button>
</li>
</ul>
<div>
<button type="button" class="primary-btn">See Project</button>
</div>
</div>
</div>
</div>
<div class="card selected-card">
<div class="row">
<div class="col-1">
<a href="#"
><img src="./images/Portfolio 3.png" class="mobile-only" alt="portfolio-1"
/></a>
<a href="#"
><img src="./images/dsk Portfolio3.png" class="desktop-only" alt="portfolio-1"
/></a>
</div>
<div class="col-2" >
<a href="#"><h1>TONIC</h1></a>
<div class="work-details flex2">
<a href="#"><h3>CANOPY</h3></a>
<div class="bullet-point"></div>
<a href=""><h4>Back End Dev</h4></a>
<div class="bullet-point"></div>
<a href=""><h4>2015</h4></a>
</div>
<p>
A daily selection of privately personalized reads; no accounts
or sign-ups required.
</p>
<ul>
<li class="work-tools">
<button type="button" class="tools">html</button>
<button type="button" class="tools">css</button>
<button type="button" class="tools">javascript</button>
</li>
</ul>
<div>
<button type="button"class='active'>See Project</button>
</div>
</div>
</div>
</div>
<div class="card">
<div class="row reverse">
<div class="col-1">
<a href="#"
><img src="./images/Portfolio 4.png" class="mobile-only" alt="portfolio-1"
/></a>
<a href="#"
><img src="./images/dsk Portfolio.png" class="desktop-only" alt="portfolio-1"
/></a>
</div>
<div class="col-2">
<a href="#"
><h1>Multi-Post<br /> Stories</h1></a>
<div class="work-details flex2">
<a href="#"><h3>CANOPY</h3></a>
<div class="bullet-point"></div>
<a href=""><h4>Back End Dev</h4></a>
<div class="bullet-point"></div>
<a href=""><h4>2015</h4></a>
</div>
<p>
A daily selection of privately personalized reads; no accounts
or sign-ups required.
</p>
<ul>
<li class="work-tools">
<button type="button" class="tools">html</button>
<button type="button" class="tools">css</button>
<button type="button" class="tools">javascript</button>
</li>
</ul>
<div>
<button type="button" class="primary-btn">See Project</button>
</div>
</div>
</div>
</div>
</div>`