-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeed.html
More file actions
320 lines (279 loc) · 5.59 KB
/
Copy pathfeed.html
File metadata and controls
320 lines (279 loc) · 5.59 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
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<!DOCTYPE html>
<html>
<style>
* {
box-sizing: border-box;
}
body {
font-size: 1.25rem;
font-family: sans-serif;
line-height: 150%;
}
html, body {
margin: 0;
padding: 0;
}
section {
color: #fff;
text-align: center;
}
div {
height: 100%;
}
article {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
padding: 20px;
}
h1 {
font-size: 2.05rem;
margin: 0 0 0.75rem 0;
color: white;
}
a {
color: white;
font-size: 2.75rem;
text-align: center;
text-decoration: none;
}
.btn-right {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
padding: 20px;
}
/* Pattern styles */
.container {
display: table;
width: 100%;
margin: 0;
padding: 0;
}
.left-half {
background: url('./feed.png');
/*position: absolute;*/
padding: 0;
left: 0px;
top: 0px;
bottom: 0px;
width: 100%;
}
.navUL {
font-size: 30px;
font-style: none;
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
opacity: 1.0;
}
.navLI {
float: left;
}
.navLI a {
font: Arial;
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 1.05rem;
opacity: 1.0;
}
.navLI a:hover {
background-color: #ddd;
}
label {
display: block;
}
.score{
text-align: left;
}
.canada{
/*position: absolute;*/
text-align: center;
font-size: 50px;
color: black;
}
h2{
text-align: left;
color: black
}
.header2{
text-align: left;
color: black;
}
.header3{
text-align: left;
color: black;
}
.liLink{
font-size: 24px;
}
p{
padding-top: 5px;
padding-bottom: 5px;
padding-right: 5px;
padding-left: 30px;
color: black;
}
.square {
/*width: 60%;*/
width: 700px;
height: 300px;
border: 2px solid black;
padding: 10px;
margin: auto;
}
.experience{
color: black;
}
.ribbon {
position:absolute;
top:0;
right:0;
}
</style>
<head>
<link rel="icon" href="logo2.png">
</head>
<section class="container">
<div class="left-half">
<a href="index.html">
<img src="./logo22.png" class="ribbon"/>
</a>
<ul class="navUL">
<li class="navLI"><a href="feed.html">Share Your Story</a></li>
<li class="navLI"><a href="./index.html">العربية</a></li>
<li class="navLI"><a href="farsi.html">فارسی</a></li>
</ul>
<br>
<br>
<h1 class="canada">
Help a refugee by sharing your experience
</h1>
<br>
<h2>
Share a story, experience, or just tips to help others avoid mistakes that you made so they have an easier journey
</h2>
<hr size="7" color="black">
<br>
<form class="experience">
<input type="text" name="name" id="user_input" value="Name"><br>
<textarea id ="ex" cols="50" rows="6" name="comment"></textarea>
</form>
<input type="submit" onclick="showInput();"><br/>
<div class="square">
<span style="font-size: 20px; color: green;">Ahmad:</span>
<span style="font-size: 20px; color: black;">Inorder to buy anything, in the US, you need to be able to build credit. This is a way of proving that you will payoff the money they are kind of loaning to you. I learned that you can build credit by either opening a credit card and paying it off monthly, or the more things you buy and payoff will further build your creidt.</span><br>
<span id='display' style="font-size: 20px; color: green;"></span>
<span id='display2' style="font-size: 20px; color: black;"></span>
</div>
</div>
</section>
<script>
function showInput() {
var name = document.getElementById("user_input").value;
var experience = document.getElementById("ex").value;
var result = name + ": "
document.getElementById('display').innerHTML = result
document.getElementById('display2').innerHTML = experience
// document.getElementById('display').innerHTML = result
}
</script>
</html>
<!-- <!DOCTYPE html>
<html>
<style>
* {
box-sizing: border-box;
}
body {
font-size: 1.25rem;
font-family: sans-serif;
line-height: 150%;
}
html, body {
margin: 0;
padding: 0;
}
.left-half {
background: url('./feed.png');
position: absolute;
/*padding: 0;*/
left: 0px;
top: 0px;
bottom: 0px;
width: 100%;
}
.name{
text-align: center;
}
.experience{
/*position: absolute;*/
text-align: center;
top: 30px;
left: 300px;
/*width: 50%;*/
height: 50%;
}
.navUL {
font-size: 30px;
font-style: none;
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
opacity: 1.0;
}
.navLI {
float: left;
}
.navLI a {
font: Arial;
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 1.05rem;
opacity: 1.0;
}
.navLI a:hover {
background-color: #ddd;
}
</style>
<head lang="en">
<meta charset="UTF-8">
<script language="JavaScript">
function showInput() {
document.getElementById('display').innerHTML =
document.getElementById("user_input").value;
}
</script>
</head>
<body>
<ul class="navUL">
<li class="navLI"><a href="./index.html">العربية</a></li>
<li class="navLI"><a href="farsi.html">فارسی</a></li>
</ul>
<div class="left-half">
<form class="name">
<label>Name</label><br>
<input type="text" name="name" id="user_input" value="Name">
</form>
<form class="experience">
<label>Name</label><br>
<input type="text" class="experience" id="user_input">
</form>
<input type="submit" onclick="showInput();"><br/>
<label>Your input: </label>
<p><span id='display'></span></p>
</div>
</body>
</html> -->