<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<style>
div#full {
width: 100%;
min-height: 300px;
height: 100%;
background-color: black;
position: relative;
text-align: center;
display: flex;
align-items: center;
}
p#question {
color: white;
width: 100%;
padding: 1em;
font-size: large;
}
button#nextQuestionButton {
border-radius: 5px;
background-color: orange;
color: white;
padding: 1em;
bottom: 1em;
right: 1em;
position: absolute;
font-size: large;
}
</style>
</head>
<body>
<div id="full">
<p id="question">please enable javascript</p>
<button id="nextQuestionButton">Next</button>
</div>
<script>let p = document.getElementById("question");
let questions = [`What is your favourite day of the week and why?`,`What is the hardest thing about being you?`,`What is your favourite country and why?`,`Which famous person would you like to meet?`,`Do you like your neighbours?`,`What is the best vegetable and why?`,`What do you think is the most important subject you learn at school and why?`,`Have you ever helped in a medical emergency?`,`What is your favourite book? What did you like about it?`,`Have you been embarrassed recently? What happened?`,`Who is your favourite superhero?`,`When was the last time you helped a stranger?`,`If you could decorate your bedroom in any way imaginable what would you do?`,`Would you rather be a good speaker or a good dancer?`,`What is your first memory? How old were you?`,`Where would be the most amazing place to go on holiday?`,`If you could mix two animals together which combination would you choose?`,`What is your favourite smell?`,`What toppings would you use to make the most amazing pizza?`,`If you could only drink one drink for the rest of your life what would you choose?`,`Next Saturday if you could go anywhere where would you go?`,`If you could invent a new toy what would it be?`,`What is your favourite food and why do you like it?`,`If you could time travel which year would you go to?`,`Which one magic power would be best to have?`,`What is the most interesting thing you have learnt recently?`,`Would it be better to be a bird or a fish?`,`Has a stranger ever helped you? How?`,`If you were the prime minister, what would be the first thing you would change?`,`Which is better - jungle or desert?`,`Which would you rather have - intelligence or common sense?`,`Do you see yourself as an honest person?`,`Do you see yourself as a cool person?`,`Do you think the press is a good thing?`,`Do you believe that aliens exist?`,`Do you have any ridiculous life goals?`,`Do you see yourself as a spontaneous person?`,`What personality trait do you lack the most?`,`What is the meanest thing you have ever done in the name of revenge?`,`What period of your life was most like a movie?`,`What would be your perfect day?`,`What is the title of your autobiography?`,`How many true friends do you have?`,`Do you believe in fate?`,`What do you think about more than anything else?`,`What is the worst present you have ever received?`,`If you could change your parents behaviour in one way, what would it be?`,`Do you see yourself as a naughty person?`,`Do you think it is OK to argue?`,`Do you think clothes are a good thing?`,`Do you think cars are a good thing?`,`Do you think manners are a good thing?`,`Have you ever won anything?`,`Do you think tattoos are a good thing?`,`Do you think holidays are a good thing?`,`If you owned a business what would you sell?`,`Have you ever got angry with a total stranger?`,`When do you go to sleep?`,`When do you wake up?`,`Do you think chocolate is a good thing?`,`When do you want to retire?`,`Which is better - summer or winter?`,`Do you think school is a good thing?`,`Do you think birthdays are a good thing?`,`Do you give money to homeless people?`,`How often do you daydream? What about?`,`Do you think the internet is a good thing?`,`Do you share your bedroom with anyone? What is it like?`,`Do you think zoos are a good thing?`,`What is your favourite ride at the theme park?`,`Do you sleep with a cuddly toy?`,`Do you think police are a good thing?`,`Do you see yourself as a funny person?`,`Do you see yourself as a confident person?`,`When you walk past shop windows how often do you check yourself out?`,`Do you see yourself as a vain person?`,`Have you ever thought you were going mad?`,`What is the most money you have raised for charity?`,`Do you think swearing is a good thing?`,`Do you see yourself as a patient person?`,`What is the tastiest meal you can cook?`,`Which part of your body do you like the most?`,`If you could swap bodies with anyone who would it be?`,`Do you think the world will ever end? If so, how?`,`Is it better to have a large family or a small family?`,`Would you rather have a big house or a big garden?`,`What have you done recently that you are proud of?`,`What have you seen recently that has shocked you?`,`What is the best planet and why?`,`Which is better - cats or dogs?`,`Do you do anything at home to help your parents?`,`If you could move house to any place in the world, where you you go?`,`Who is the most interesting person you know?`,`Which is better - football or rugby?`,`You see someone from your school who is upset on the bus, how do you comfort them?`,`What is the best musical instrument and why?`,`Which is better - Maths or Music?`,`If you could only listen to one song for the rest of your life, what would it be?`,`What do you do to relax?`,`From the people you know, who cheers you up the most?`,`Have you ever told a white lie? If so what was it and did it work?`,`Do you believe in God?`,`Have you ever bullied anyone? Why did you do it?`,`Have you lost your temper recently? How did it happen?`,`Name a skill you have that would surprise people`,`Would you rather be an inventor or a composer?`,`What is your favourite type of art?`,`If you could go back and change one thing in History, what would it be?`,`If an alien landed in your back garden, what would you say to it?`,`If you could change your age, what age would you like to be?`,`Which person do you admire the most?`,`If you could instantly change, would you rather be a girl or a boy?`,`Who is your favourite actor/actress?`,`What is your favourite film?`,`Who is your favourite character from a book?`,`Would you like to be famous? If so what for?`,`What is your definition of 'success'?`,`Have you ever broken a bone? How did it happen?`,`What do you do when you can't sleep?`,`Which is better - tea or coffee?`,`If the world were invaded by zombies, how would you survive?`,`When did you stop believing in Santa Claus?`,`If you could have dinner with any person in the world, who would you choose?`,`Do you collect anything?`,`If you could turn invisible, what would you do?`,`Have you ever broken the law?`,`Have you ever cried during a film?`,`Would you rather be an actor or a musician?`,`If you could change one thing about your body, what would it be?`,`Do you have any phobias?`,`Have you ever been lost?`,`What is the best holiday you have ever had?`,`When was the last time you apologised to someone?`,`Do you have any annoying habits?`,`Do you ever wish you had a different name?`,`What is more important to you, friends or family?`,`What do you take pride in?`,`Who do you trust the most from everyone you know?`,`Pick one member of the group - how has your opinion of them changed from when you first met them?`,`Do you have a motto? If so what is it?`,`If you could use a time machine to give advice to your younger self, what would you say?`,`Have you ever found anything precious? What did you do with it?`,`What is your favourite mode of transport and why?`,`When you are sad, what can people do to cheer you up?`,`What is your most prized possession?`,`Do you see yourself as an emotionally 'strong' person?`,`Are you an expert in anything?`,`Have you done anything recently that you have regretted afterwards?`,`Do you see yourself as 'normal'?`,`When was the last time you gave up or failed at something?`,`Do you hate anyone? If so why?`,`Do you feel lucky?`,`Do you give to charity?`,`When was the last time you lost your temper?`,`What are you looking forward to about getting older?`,`Would you want to live forever?`,`Do you like attention?`,`Do you see yourself as a kind person?`,`Is there anyone you know that you would like to say thank you to?`,`If you won the lottery what would you do with the money?`,`Do you like being alone?`,`Do you like parties?`,`Which is better - Christmas or Halloween?`,`What is the best present you have ever received?`,`Have you ever been in a fight?`,`What are you most afraid of?`];
let button = document.getElementById("nextQuestionButton");
button.onclick = function(p,questions) {
var p = p;
var questions = questions;
return () => {
let index = Math.floor(Math.random()*questions.length);
p.innerText = questions[index];
}
}(p,questions);
button.onclick();
</script>
</body>
</html>