GitLab Commit is coming up on August 3-4. Learn how to innovate together using GitLab, the DevOps platform. Register for free:

Commit 55c69204 authored by Maarten de Jong's avatar Maarten de Jong 😎
Browse files

oct 16 update, 2 more prompts

parent 06e14851
......@@ -10,13 +10,13 @@
<link rel="stylesheet" href="css/custom.css">
<body class="d-flex flex-column h-100" id="body">
<body class="d-flex flex-column h-100 justify-content-between" id="body">
<container class="mx-auto mt-auto mb-4">
<h2 id="challenge">&nbsp</h2>
<container class="m-auto align-self-center">
<h2 id="challenge" align="center"><br>&nbsp</h2>
<container class="mx-auto mb-auto">
<container class="m-auto align-self-center">
<button type="button" class="btn btn-lg btn-outline-dark" onclick="press()">
Click me!
......@@ -32,6 +32,7 @@
<script src="js/jquery-3.5.1.slim.min.js"></script>
// Background colors in alphabetical order, following this list:
var colorList = [
// Try to keep sentences around equal length using <br>&nbsp
var challengeList = [
"Write about the most exciting thing that has happened to you in the last 30 minutes."
"Write about something that made you happy this week.<br>&nbsp",
"Write about the most exciting thing that has happened to you in the last 30 minutes.",
"Write about the stupidest thing you've done.<br>&nbsp"
// Set the color at launch
function setColor()
......@@ -36,6 +69,7 @@ function setChallenge()
document.getElementById("challenge").innerHTML = challenge;
// Function to call when the button gets pressed
function press()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment