Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <!DOCTYPE html>
<html lang="en">

    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    <link rel="stylesheet" href="home.css">
    <script src=""></script>
    <title>Project Generator </title>


  <div class="container-fluid">
    <div class="row my-2">
           <div class="col-6">

    <h1 class="container-fluid">How it works</h1>   
      <div class="col-6">
       <form class="d-flex">
                    <button id="startproject" class="btn btn-outline-success ms-auto btn-lg mx-5" type="button">Start a Project</button> </form>
    <div class="container-fluid">
        <p>Use this site to see how the project process works, see examples of great projects, and get some help generating some of your own project ideas</p>
    <div id="backgroundimage" class="p-3">
        <h3 class="my-2"><span class="projectprocess"> Project Process </span></h3>
        <div class="container my-2">
            <div class="row my-2">
                <div class="col-4 my-3">
                    <div class="list-group" id="list-tab" role="tablist">
                        <a class="list-group-item list-group-item-action active" id="list-home-list" data-bs-toggle="list" href="#list-home" role="tab" aria-controls="list-home">Explore</a>
                        <a class="list-group-item list-group-item-action" id="list-profile-list" data-bs-toggle="list" href="#list-profile" role="tab" aria-controls="list-profile">Design</a>
                        <a class="list-group-item list-group-item-action" id="list-messages-list" data-bs-toggle="list" href="#list-messages" role="tab" aria-controls="list-messages">Discover</a>
                        <a class="list-group-item list-group-item-action" id="list-settings-list" data-bs-toggle="list" href="#list-settings" role="tab" aria-controls="list-settings">Present</a>
                <div class="col-8 projectprocess">
                    <div class="tab-content" id="nav-tabContent">
                        <div class="tab-pane fade show active" id="list-home" role="tabpanel" aria-labelledby="list-home-list">Explore! This is the where your journey begins – with a spark. What are you curious to know? What do you love doing? Where does your passion lie? This first stage of the project process will help you transform your initial ideas
                            into Driving Questions, questions that will become the heart your project.
                        <div class="tab-pane fade" id="list-profile" role="tabpanel" aria-labelledby="list-profile-list">Here, you will turn your initial ideas and Driving Questions into a project. Working with your advisor, you will determine the specific aspects of your project, including the best resources, a timeline, the deliverable, and the
                            rubric. Finally, once it the project is in place, you will officially propose the project!
                        <div class="tab-pane fade" id="list-messages" role="tabpanel" aria-labelledby="list-messages-list">This is the stage in the project process where work to answer your Driving Questions. Using your tasks and milestones as a guide, you must work hard to make sure your project is on track for completion. As you make progress, check
                            in often with your advisor and be open to feedback: projects will often evolve throughout the process!

                        <div class="tab-pane fade" id="list-settings" role="tabpanel" aria-labelledby="list-settings-list"> This is the point to which all your work has been building: the presentation! In this final stage of the project process, you will write a reflection, present your findings (including your deliverable), and finalize your project.
                            Use the guidelines here to make sure it is a success!
        <div class="container my-3">
            <div class="d-grid gap-2">
                <button class="btn btn-primary fw-bolder py-4 border border-2" id="allButton" type="button"><h3>Generate Subject, Questions, and Deliverable!</h3></button>
        <div class="container-fluid">
            <div class="row my-2">
                <div class="col-md-3 border border-1 border-dark projectprocess my-3 mx-auto ">
                    <h4 class="text-center py-1 border-1 border-dark border-bottom ">Subject</h4>

                    <input type="text" id="subjectText" name="subjectText" class="form-control text " placeholder="Type your Subject ">

                    <p class="text-center my-2 ">or</p>
                    <div class="d-grid gap-2 col-6 mx-auto ">
                        <button class="btn btn-primary " id="subjectButton" type="button ">Generate Subject</button>
                    <p class="my-2 border-top border-dark text-center ">Your subject is:</p>
                    <h5 id="subjectFinal" class="my-2 text-primary text-center ">Math</h5>
                <div class="col-md-3 border border-1 border-dark projectprocess mx-auto my-3 ">
                    <h4 class="text-center py-1 border-1 border-dark border-bottom ">Question</h4>
                    <input type="text " id="questionText" class="text form-control " placeholder="Type your Question ">
                    <p class="text-center my-2 ">or</p>
                    <div class="d-grid gap-2 col-6 mx-auto ">
                        <button class="btn btn-primary " id="questionButton" type="button ">Generate Question</button>
                    <p class="my-2 border-top border-dark text-center ">Your Question is:</p>
                    <h5 id="questionFinal" class="my-2 text-primary text-center ">Why?</h5>
                <div class="col-md-3 border border-1 border-dark projectprocess mx-auto my-3">
                    <h4 class="text-center py-1 border-1 border-dark border-bottom ">Deliverable</h4>
                    <input type="text " id="deliverableText" class="text form-control text " placeholder="Type your deliverable ">
                    <p class="text-center my-2 ">or</p>
                    <div class="d-grid gap-2 col-6 mx-auto">
                        <button class="btn btn-primary " id="deliverableButton" type="button ">Generate Deliverable</button>
                    <p class="my-2 border-top border-dark text-center ">Your deliverable is:</p>
                    <h5 id="deliverableFinal" class="m-bottom-2 text-primary text-center ">Deliverable</h5>


        <div class="container">
            <div class="d-grid gap-2">
                <button class="btn py-3 btn-primary border border-2 fw-bolder" id="finalButton" type="button"><h3>YES!  This is my Project.  Make it so!</h3></button>


    <div class="container">
      <h3 class="my-4"><span class="border-bottom border-dark border-2 my-4">Your final project:</span>
            <div id="finalProject"></div>

    <script src=app.js></script>
    <script src="[email protected]/dist/umd/popper.min.js " integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB " crossorigin="anonymous "></script>
    <script src="[email protected]/dist/js/bootstrap.min.js " integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13 " crossorigin="anonymous "></script>




                    #backgroundimage {
        /* The image used */
        /* background-image: url("/Users/timquealy/VS Code/project generator/img/Cover3-2014.jpg"); */
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)), url("");
        /* Set a specific height */
        min-height: 300px;
        /* Create the parallax scrolling effect */
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

  border-radius: 25px;
  border-radius: 25px;
    .projectprocess {
        background-color: rgba(232, 232, 232, 0.95);
        color: black;
        padding: 5px;
    #finalProject {
        border: 1px solid black;
        border-radius: 20px;
        margin: 10px;
        padding: 20px;
/*         background-color: rgb(102, 244, 63); */
        transition: all .1s;
    #finalProject:hover {
        background-color: white;
      border: yellow 5px solid;
        color: black;
        transform: scale(105%);
      box-shadow: 0 10px 25px rgba(145, 92, 182, .4)




const questionList = [
    "How can ______ improve _______?",
    "How can _______ be applied to ________?",
    "How can _______ change ________?",
    "How would you design a new _______?",
    "How does _________ affect __________?",
    "What impact did/does __________ have on ________?",
    "What makes a good/effective ________"

const subjectList = [
    '4th Year Math',
    'Algebra II',
    'U.S. Citizenship and Government',
    'U.S. History',
    'World History',
    'Grade Level Projects',
    'Service Learning',
    'Sexual Health Class',
    'Art: Creation & Evaluation',
    'Art: Analysis & Interpretation',
    'Art: Creation & Performance',
    'Earth and Space Science',
    'Nature of Science and Engineering',
    'Physical Science',
    'Language Arts: Literature',
    'Language Arts: Writing',
    'Career Exploration',
    'Language Arts: NonFiction',
    'Personal Health',
    'Physical Fitness and Physical Education',
    'World Language',

const deliverableList = ['Advertisements',
    'Advise columns',
    'Bedtime stories',
    'Book jackets',
    'Bulletin boards',
    'Bumper stickers',
    'Calorie charts',
    'Children’s stories',
    'Comic books',
    'Community bulletin',
    'Computer Program',
    'Computer simulations',
    'Conversation stoppers',
    'Court trials',
    'Data sheets',
    'Do’s and Don’ts',
    'Encyclopedia entries',
    'Fairy tails',
    'Game rules',
    'Ghost stories',
    'Good news-bad news',
    'Grocery lists',
    'How-to guide',
    'Impromptu speeches',
    'Love notes',
    'Movie reviews',
    'Movie scripts',
    'Music videos',
    'News Report',
    'Nursery rhymes',
    'Panel discussion',
    'Persuasive letters',
    'Photo album',
    'Photo essay',
    'Picture books',
    'Playing Cards',
    'Policy papers',
    'Political Campaigns',
    'Post Cards',
    'Problem solutions',
    'Profiles and portraits',
    'Profound sayings',
    'Protest alerts',
    'Puppet shows',
    'Radio plays',
    'Ransom Notes',
    'Record covers',
    'Sales pitches',
    'Silly sayings',
    'Sketches (skits)',
    'Soap operas',
    'Spooky stories',
    'Sports accounts',
    'Stream of consciousness',
    'Table of',
    'Talk shows',
    'Tall tales',
    'Thank you notes',
    'Tongue twisters',
    'Traffic rules',
    'Travel folders',
    'Travel posters',
    'TV commercials',
    'TV guides',
    'TV programs',
    'Underground newspaper',
    'Used car description',
    'Want adds',
    'Wanted posters',
    'Web sites',
    'Wise sayings',
    'Yellow pages',

const subjectText = document.querySelector("#subjectText");
const questionText = document.querySelector("#questionText");
const deliverableText = document.querySelector("#deliverableText");
const startProject = document.querySelector("#startproject");
const print = document.querySelector("#print")

let subjectTarget = document.querySelector("#subjectFinal");
const subjectButton = document.querySelector("#subjectButton")

const finalButton = document.querySelector("#finalButton");
const finalProject = document.querySelector("#finalProject");

let deliverableTarget = document.querySelector("#deliverableFinal");
const deliverableButton = document.querySelector("#deliverableButton")

let questionTarget = document.querySelector("#questionFinal");
const questionButton = document.querySelector("#questionButton")

const allButton = document.querySelector("#allButton")

subjectText.addEventListener('change', function() {
    subjectTarget.innerText = subjectText.value;

questionText.addEventListener('change', function() {
    questionTarget.innerText = questionText.value;

deliverableText.addEventListener('change', function() {
    deliverableTarget.innerText = deliverableText.value;

allButton.addEventListener('click', function() {
    subjectTarget.innerText = generateItem(subjectList);
    deliverableTarget.innerText = generateItem(deliverableList);
    questionTarget.innerText = generateItem(questionList);

startProject.addEventListener('click', function() {
    subjectTarget.innerText = generateItem(subjectList);
    deliverableTarget.innerText = generateItem(deliverableList);
    questionTarget.innerText = generateItem(questionList);


function generateItem(contentList) {
    let rand = Math.floor(Math.random() * contentList.length);
    return contentList[rand];

subjectButton.addEventListener('click', function() {
    subjectTarget.innerText = generateItem(subjectList);

deliverableButton.addEventListener('click', function() {
    deliverableTarget.innerText = generateItem(deliverableList);
questionButton.addEventListener('click', function() {
    questionTarget.innerText = generateItem(questionList);

function go() {
    let finalProjectText = `You'll ask "${questionTarget.innerText}" within the thrilling subject of ${subjectTarget.innerText} and demonstrate your answer by presenting a(n) ${deliverableTarget.innerText}.  
    Wow, that is a cool project - better head over to Headrush to make it happen!`;
    finalProject.innerText = finalProjectText

finalButton.addEventListener("click", go)