Creating Embedded Task Checklists with ChatGPT - Updated!!

GideonWilliams
Community Champion
16
4213

This post was sort of inspired by a question to the Community - Solved: Clickable Check Boxes in a to-do list - Instructure Community - 606531 (canvaslms.com) asking about Check boxes for a to-do list.

My go to list creator is https://interactlist.com/ as it is free and allows embedding in a Canvas page. it also does some neat stuff like providing different backgrounds, allowing students to return to the list if not finished and confetti rewards when the list is done.

We use web2.0 tools with the large health warning that they may not be around for long, could start costing you money or could change their approach. So whilst the design of a list that is similar to Interactlist is not something new or original or one I will now use, it may not be the case this time next year.

The design of the list through ChatGPT followed the same path as all previous designs. I wrote the prompt, copied and pasted the code into Notepad, published and checked it, then went back to the prompt to make changes.

This was not my most successful bit of prompting ever. For some reason, Chat GPT did not like my request to create a progress bar in one colour that would change incrementally to another as a task was ticked off. I also learned a valuable lesson in not assuming stuff and making sure my prompts cover all possible options. I wanted the progress bar to increase by 10% as one of the tasks was checked off. What I didn't want was the progress bar to carry increasing by 10% if I unchecked and then checked the same task! Whilst I profess very little knowledge of JavaScript, I realised that in this task it was quite a limiting factor when the progress checker started to take away 10% giving minus progress scores.

After longer than I wanted, I have ended up with a fairly effective checker. It covers most things that Interactlist does. it includes a progress bar and percentage check. A pop-up message appears when all the tasks are done and you score 100%. It remembers where you were when you leave and comes back. It has a reset button to reset everything back to 0%.

As with all the other html designs, it was uploaded to the Canvas course and then the link copied and pasted into iFrame generator to create the iframe. This was then copied and put into the page HTML via the Rich Content Editor feature. I used some <div> styling on the page to give it a border and background:

Here are some designs:

pic1.PNGpic2.PNGpic3.PNG

As fun as it is to try doing this, the designs need to be usable by everyone and currently that means editing and saving some HTML files (with directions).

I'm not sure how else I might be able to do this unless you can create some sort of executable file that cleverly allows you to enter the details in a form, press a button and the webpage is made (inside the iframe too!).

I'm not sure this is possible. If anyone has some ideas to share then I would love to hear from you...

One Week on.....

So, I updated the prompt to try to make the task checker one where students would enter the tasks themselves. After 20 or so iterations, I think I have now got a Webpage that I can embed in a Canvas Page and have as a page for any staff to add to their course.

A few print screens of my new design:

How the template looks when you first open it:

T1.PNG

Pressing the Enter Task button and writing a task to be done:

T2.PNG

The first task is entered into the table:

T3.PNG

More tasks added and some ticked off:

T4.PNG

Reordering the Tasks

T5.PNG

Completing all the Tasks:

T6.PNG

Ive attached the html and prompt as a PDF file below if anyone want to copy, develop and use..

 

UPDATE (30/4/25) - A few little tweaks - I have tried to add the original Taskchecker as a txt file but it wants none of it! So I've added it as a pdf

 

16 Comments
JordanFinn
Community Explorer

@GideonWilliams 

Gideon, 

I was wondering if you could provide some insight into the code you were able to generate for this? I have been trying to get chatgpt to create a code for just a clickable checkbox even, but it never is able to create the interactive piece. It can create a regular box, but I have tried several times to argue with it enough to make them clickable and no luck. 

GideonWilliams
Community Champion
Author

@JordanFinn 

I've now added the prompt and a copy of the html page used to make the fully interactive page. You will see it in the attached in a PDF file.

Hope this helps...

JordanFinn
Community Explorer

Thank you so much! I will be playing with it this afternoon!

JordanFinn
Community Explorer

@GideonWilliams When you put this into Canvas, are you copying and pasting the code into the html screen in the rich content editor? The issue I am having is that when I try and place the code into the rich content editor it doesn't work. 

GideonWilliams
Community Champion
Author

@JordanFinn 

Now there is the trick. If I pasted in the raw html, Canvas strips everything out so these are the steps I take:

1. Upload the html page into the Files area of your course.

2. Right click on the uploaded file and choose Copy Link.

3. Go to https://www.iframe-generator.com/ and paste in the link in the iframeURL box

4. Press the </> Generate button to create the iframe code

5. Go back to the course and make a new blank page

6. Change the HTML view and paste in the iframe code

7. You usually have to adjust the width and height (I use width: 95% and height 600px)

8. Save the page

 

I am hoping that should do the trick. Let me know!

'Afternoon'. Are you in Europe?

JordanFinn
Community Explorer

@GideonWilliams This worked so well! Thank you so much for the help. And no, I am in the US! 

kmoraes
Community Explorer

Great idea. Thank you for sharing this.

 

DavinaFarinola2
Community Explorer

Sadly I got stuck on your first step: 

1. Upload the html page into the Files area of your course.

What file type would I save the html as?

Complete beginner here!

SGarcka
Community Explorer

Hi Gideon, I agree with @DavinaFarinola2 - I've saved it under a couple of different file types but it doesn't seem to like it. Would you please be able to let us know which file type the code must be saved under? Did you save it under a certain software/programme? Looks fantastic, can't wait to try it!

GideonWilliams
Community Champion
Author

Hi @SGarcka - I have some free time tomorrow when I will look at it again and post back to you..

GideonWilliams
Community Champion
Author

@DavinaFarinola2 and @SGarcka  I'm so sorry not to have replied for ages, apologies.

I have attached the TaskChecker file to the blogpost as a PDF. Just download it and open it. Copy all the text and then open Notepad on your computer (if you have a Windows PC). Paste in the text to Notepad. If you dont have Notepad, you could use online Notepad at Online Notepad

Now go and save the file and just add in the letter.html to its filename then press Save

pix1.png

You have made it into a webpage and if you open the file it should work.

Now to upload it to your Files location on your Canvas course and it will be saved as an .html file. There is no need to change it.

Once it is there, you can follow these steps - 

  1. Find the file in File, right click on it and choose Copy Link from the drop down
  2. Go online to an iframe generator site - I use iFrame Generator - Free Online iFrame Code Maker Tool
  3. Paste in the link in the box that says iFRAMEURL
  4. I might then change the width and height options to width: 1000 px and height 600 px (I prefer to use % for width)
  5. Next press the </> Generate  button to make your code
  6. Now press the COPY IT button to copy your code
  7. Go back to Canvas and make a new page (Pages > View All Pages > + button)
  8. You will see a blank page in front of you
  9. Find the </> icon on the right hand side of the empty box and click on it
  10. You are now in the HTML editor
  11. Paste in the code - it should look the same as the stuff in the iFrame generator
  12. Scroll down to the bottom and press Save
  13. Hopefully you will see the Task Checker on your page

Let me know if it works or if you need some more guidance (I really should do a picture help guide thing)

SGarcka
Community Explorer

@GideonWilliams Thank you so much for your time and help on this, it really is appreciated. 

I followed the steps and managed to get it appearing, but unfortunately when I click on "Enter Task" nothing happens to allow me to add a task. The button seems to respond to my "click" but a pop up window doesn't appear to add a task.

I have attached a small screen recording example below. Here is the code I'm using, does it look correct, or I wonder if I've made a mistake somewhere? Any help much appreciated Gideon,

Example:

<p><iframe style="border: 0px #ffffff none;" src="https://acm.instructure.com/courses/3685/files/513951/download" width="1000px" height="600px" name="myiFrame" loading="lazy" allowfullscreen="allowfullscreen" data-api-endpoint="https://acm.instructure.com/api/v1/courses/3685/files/513951" data-api-returntype="File"></iframe></p>

 

 

GideonWilliams
Community Champion
Author

@SGarcka For some reason I cannot open the video - could you try to resubmit?

Just out of interest, when you saved it as a .html file on your computer, did it work when you opened that saved webpage?

When I have some time later I will make a video of me trying it out to see if we can find the issue... 

Happy to do a Teams chat if that helps?

Gideon

SGarcka
Community Explorer

@GideonWilliams Apologies you couldn't access, I have added a Google link below, hopefully this works:

https://drive.google.com/file/d/1_gEReZLxpHGHhbGMyFbPmcgDn3LG2fmo/view?usp=drive_link

So it opened to a web page, but it still didn't appear to have a pop up window when I clicked on the "Enter task" sadly. 

I can jump on teams no problem. Let me know what you think!

 

 

GideonWilliams
Community Champion
Author

Teams might work best. Ive messaged you on Canvas.

BradMoser
Community Contributor

Hi @GideonWilliams this looks pretty awesome and creative. There’s a ton. I think we’re gonna see in the build out with AI and embedding content into platforms like canvas. This reminded me of some of the input fields that were recently added in DesignPLUS by Cidi Labs. Have you seen those updates? If not, happy to show you sometime.