Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanPaulvanderHam authored Apr 12, 2024
1 parent af640c3 commit dabb332
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
}

body {
margin: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: flex-end;
}

#webchat {
Expand Down Expand Up @@ -79,7 +82,7 @@
inputBox.style.width = 'auto%'; // Set the width
inputBox.style.height = '30px'; // Set the height
inputBox.style.marginLeft = '20px'; // Move the box to the right
inputBox.style.marginBottom = '20px';; // Move the box to the bottom
inputBox.style.marginBottom = '5vh'; // Move the box to the bottom
document.body.appendChild(inputBox);


Expand All @@ -94,6 +97,9 @@
function sendMessage() {
let inputText = inputBox.value;

// Remove spaces
inputText = inputText.replace(/\s+/g, '');

// If the input text is "performance"
if (inputText.toLowerCase() === 'performance') {
inputText = '#SnelSnellerSnelst';
Expand Down

0 comments on commit dabb332

Please sign in to comment.