repl.it
@lsambrook/

Website 2

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • script.js
  • style.css
index.html
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
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
<!DOCTYPE html>
<html lang="en">
<head>
<title>Page Title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
  box-sizing: border-box;
}

/* Style the body */
body {
  font-family: Comic Sans MS, Helvetica, sans-serif;
  margin: 0;
  color: #3c1717;
}
/*column for other web sites*/
.column {
  float: left;
  width: 25%;
  padding: 0 10px;
}


/* Header/logo Title */
.header {
  padding: 80px;
  text-align: center;
  background: #1abc9c;
  color: white;
}

/* Increase the font size of the heading */
.header h1 {
  font-size: 40px;
}

/* Sticky navbar - toggles between relative and fixed, depending on the scroll position. It is positioned relative until a given offset position is met in the viewport - then it "sticks" in place (like position:fixed). The sticky value is not supported in IE or Edge 15 and earlier versions. However, for these versions the navbar will inherit default position */
.navbar {
  overflow: hidden;
  background-color: #333;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
}

.row {margin: 0 -5px;}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 16px;
  text-align: center;
  background-color: #f1f1f1;
}
/* Style the navigation bar links */
.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}


/* Right-aligned link */
.navbar a.right {
  float: right;
  

}

/* Change color on hover */
.navbar a:hover {
  background-color: #ddd;
  color: pink;
}

/* Active/current link */
.navbar a.active {
  background-color: #666;
  color: white;
  
}

/* Column container */
.row {  
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  -ms-flex: 30%; /* IE10 */
  flex: 30%;
  background-color: #f1f1f1;
  padding: 30px;
}

.ratings {
  padding : 15px;
}

/* Main column */
.main {    /* IE10 */
  background-color: white;
  padding: 30px;
}

/* Fake image, just for this example */
.fakeimg {
  background-color: #ffe8ad;
  width: 50%;
  padding: 20px;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
 .row {   
    flex-direction: 2 column;
  }
}

.row {   
    flex-direction: 2 column;
  }
/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
}
</style>
</head>
<body>

<div class="header">
  <h1> MEME World</h1>
  <p> Here we show the best memes !</p>
</div>


<div class="navbar">
  <a href="#" >HOME</a>
  <a href="https://brique-game-niveau-hardcore--lsambrook.repl.co/">Brique Game</a>
  <a href="https://website-2-1.lsambrook.repl.co/">Three Ways</a>
  <a href="https://form.jotformeu.com/90871625761362" class="right">Contact</a>
</div>


  <div class="side">
     
    <h2>Best video meme</h2>
    <h5> T-shirt prank:</h5>
    
    <div class="fakeimg">
        
        <img src="https://media2.giphy.com/media/1wqqlaQ7IX3TXibXZE/200w.gif?cid=5a38a5a25cda944439446f3473f844c6&rid=200w.gif" alt="" />
        
      </div>
    </div>
    <FONT>
    <FONT>
    <div class="row">
  <div class="column">
    <div class="card">
      <h3>Meme Center</h3>
      <A href="https://www.memecenter.com/search/world">click on me</A>
    </div>
  </div>
    
  <div class="column">
    <div class="card">
      <h3>Meme Base</h3>
      <A href="https://memebase.cheezburger.com/">click on me</A>
    </div>
  </div>
  
  <div class="column">
    <div class="card">
      <h3>Meme Generator</h3>
      <A href="https://imgflip.com/memegenerator">click on me</A>
    </div>
  </div>
  
  <div class="column">
    <div class="card">
      <h3>Sponge Bob meme</h3>
      <A href="https://www.complex.com/pop-culture/2019/02/best-spongebob-memes/">click on me</A>
    </div>
  </div>


  </div>
  <div class="main">
    <h2>Champion of meme</h2>
    <h5>year 2019</h5>
    <div class="fakeimg" style="height:200px;"><img src="https://media0.giphy.com/media/SKGo6OYe24EBG/200w.gif?cid=5a38a5a25c8e507a374d5954596d7b0f" alt="" /></div>
    <p>SpongeBob SquarePants</p>
    <p>SpongeBob SquarePants is an American animated television series created by marine science educator and animator Stephen Hillenburg for Nickelodeon. The series chronicles the adventures and endeavors of the title character and his various friends in the fictional underwater city of Bikini Bottom</p>Sponge Bob is the most used character for memes ! You can see a lot of youtube meme videos about him like the video form Text2meme :<A href="https://youtu.be/RRcjv8GQk1c">"SPONGEBOBS MEME"</A></div><br></p>
    
    <div class="fakeimg">
    Video Game Trivia

        <br />

        Asking question <span id="NumberAsked">1</span> of 10 with <span id="NumberCorrect">0</span> answers correct</p>

    <p>

        <span id="TriviaQuestion">???</span>

    </p>

    <p>

        &nbsp;

        <input id="RadioTrue" type="radio" value="true" name="answer" checked="checked" /> True

        &nbsp;&nbsp;&nbsp;

        <input id="RadioFalse" type="radio" value="false" name="answer" /> False

    </p>

    <p>

        <input id="ButtonContinue" onclick="checkAnswer();" type="button" value="continue" />

    </p>


    <front>
    <script language="javascript" type="text/javascript">

        // Array of trivia data

        var TriviaData = new Array(10)

        createTwoDimensionalArray(3);

 

        // Variables to track state of the game

        // i.e. number questions asked, current correct total and current question

        var questionsAsked = 0;

        var totalCorrect = 0;

        var currentQuestion = 0;

        var selectionValid = false;

 
        
        // Questions

        TriviaData[0][0] = "The first recorded meme was created in 1921.";

        TriviaData[1][0] = "There are more meme videos than photo memes.";

        TriviaData[2][0] = "Stephen Hillenburg is the creator of SpongeBob.";

        TriviaData[3][0] = "The lyrics of spongebob is : Ohhhhhh! Who lives  under the sea in a pineapple ?"



        TriviaData[4][0] = "A meme generator web site will give you some random memes already made by someone.";

        TriviaData[5][0] = "John Cena became famous because his theme song was used like a meme";

        TriviaData[6][0] = "Ytp means youtube poop";

        TriviaData[7][0] = "the most popular politician meme is about hillary clinton";

        TriviaData[8][0] = "The most popular minecraft meme song :(mining away) was made by a 8 years old kid.";

        TriviaData[9][0] = "memes became popular since 2017.";

   

        // Answers

        TriviaData[0][1] = "true";

        TriviaData[1][1] = "false";

        TriviaData[2][1] = "true";

        TriviaData[3][1] = "false";

        TriviaData[4][1] = "false";

        TriviaData[5][1] = "true";

        TriviaData[6][1] = "true";

        TriviaData[7][1] = "false";

        TriviaData[8][1] = "true";

        TriviaData[9][1] = "false";

 

        // Has question been asked

        // -- necessary because we are asking in random order

        TriviaData[0][2] = "no";

        TriviaData[1][2] = "no";

        TriviaData[2][2] = "no";

        TriviaData[3][2] = "no";

        TriviaData[4][2] = "no";

        TriviaData[5][2] = "no";

        TriviaData[6][2] = "no";

        TriviaData[7][2] = "no";

        TriviaData[8][2] = "no";

        TriviaData[9][2] = "no";

 

        // Load up first question

        setQuestion();

 

        // Sets question text and indicator so that we know the question has been displayed

        function setQuestion() {

            selectionValid = false; // Flag to make sure question has not been asked yet

            while (selectionValid == false) {

                currentQuestion = Math.floor(Math.random() * 10); // randomly select starting question

                if (TriviaData[currentQuestion][2] == "no") {

                    selectionValid = true;

                }

            }

            document.getElementById("TriviaQuestion").innerHTML = TriviaData[currentQuestion][0];

            TriviaData[currentQuestion][2] = "yes";

            questionsAsked = questionsAsked + 1;

        }

 

        function processAnswer(myAnswer) {

            if (TriviaData[currentQuestion][1] == myAnswer) {

                totalCorrect = totalCorrect + 1;

                alert("OMG you are a boss ! your score is " + totalCorrect + " out of 10")

            }
                else {
                    alert("NOOB ! my grandma is stronger than you ! your scrore is " + totalCorrect + " out of 10")
                }

        }

 

        // This function creates our two dimensional array

        function createTwoDimensionalArray(arraySize) {

            for (i = 0; i < TriviaData.length; ++i)

                TriviaData[i] = new Array(arraySize);

        }

 

        // This function checks the answer, updates correct total

        // and randomly selects the next question

        function checkAnswer() {

            if (document.getElementById("RadioTrue").checked) {

                processAnswer("true");

            }

            else {

                processAnswer("false");
                

            }

            
            // get next question if not asked all yet

            if (questionsAsked < 10) {

                setQuestion();

            }

            // final question asked - disable button and show final results

            else {

                alert("Quiz complete! You got " + totalCorrect + " correct out of 10.");

                if        (totalCorrect == 10) {

                 alert("You are a Boss bro ! ");

                }

                if        (totalCorrect == 9) {

                 alert("Damn well played !");

                }

                if        (totalCorrect == 8) {

                 alert("Good score !");

                }

                if        (totalCorrect == 7) {

                 alert("You are nearly a pro ! keep it up ! ");

                }

                if        (totalCorrect == 6) {

                 alert("You could do better ! ");

                }

                if        (totalCorrect == 5) {

                 alert("Meh ! You got a long way to go ! ");

                }

                if        (totalCorrect == 4) {

                 alert("Is this the first time you heard about memes ?");

                }

                if        (totalCorrect == 3) {

                 alert("Do you know what internet is ?");

                }

                if        (totalCorrect == 2) {

                 alert("Do you know what internet is ? ");

                }

                if        (totalCorrect < 2) {

                 alert("Trying to get the smallest result is a really stupid thing to do ! ");

                }

                

                document.getElementById("ButtonContinue").disabled = true;

            }
            // update totals

            document.getElementById("NumberAsked").innerHTML = questionsAsked;

            document.getElementById("NumberCorrect").innerHTML = totalCorrect;

        }

 

    </script>
    <front>
    
 
 

  <!-- Start BawkBox Code--><script data-sil-id="5c8e4bef126951001bd10a7c">let loadWidget = function() { var d = document, w = window, l = window.location,p = l.protocol == "file:" ? "http://" : "//"; if (!w.WS) w.WS = {}; c = w.WS; var m=function(t, o){ var e = d.getElementsByTagName("script"); e=e[e.length-1]; var n = d.createElement(t); if (t=="script") {n.async=true;} for (k in o) n[k] = o[k]; e.parentNode.insertBefore(n, e)}; m("script", { src: p + "bawkbox.com/widget/star-rating/5c8e4bef126951001bd10a7c?page=" +encodeURIComponent(l+''), type: 'text/javascript' }); c.load_net = m; }; if(window.Squarespace){ document.addEventListener('DOMContentLoaded', loadWidget); } else { loadWidget() } </script><script type="application/ld+json" src="#{host}/widget/star-rating/5c8e4bef126951001bd10a7c/microdata"></script><div class="sil-widget-star-rating sil-widget" id="sil-widget-5c8e4bef126951001bd10a7c"><a href="bawkbox.com/install/star-rating">Customer Reviews</a></div><!-- End BawkBox Code-->

  </form>
>
</div>



</body>
</html>
result
console