Showing posts with label AI-technicalities. Show all posts
Showing posts with label AI-technicalities. Show all posts

Tuesday, September 15, 2026

Tried Here.Now for hosting a single webpage

 Here and Now website: 

https://here.now/


1. On the dashboard, I uploaded an html index file from my onedrive. 


2. The following webpage was then created automatically. 

https://still-zinnia-5tpe.here.now/


=============================

REMINDER FROM GEMINI RE FILE NAME TO UPLOAD: 


When uploading a single standalone file to web servers like here.now, it should be named index.html.

  • Why? Web servers look for index.html by default to serve as the homepage of a website.

  • If named differently: If you upload a single file named something like mypage.html, visiting your site's base URL ([https://your-site.here.now](https://your-site.here.now)) will result in a 404 Not Found error or a directory listing because the server doesn't know which file to load first.

Thursday, August 20, 2026

Asking Gemini to write the prompt for creating an interactive app for you: No need to write it yourself

 WHAT HAPPENED: 

1. I was asking Gemini the types of assets that Canvas could generate. In its answer, Gemini mentioned, inter alia, interactive timelines. 

2. I asked Gemini for examples of interactive timelines related to L2 teaching. One suggestion was the historical developments of L2 teaching methodologies. 

3. I found it a useful idea for my teaching, so I asked Gemini how to write a prompt to generate THAT timeline. 

4. Gemini wrote the following prompt for me. I copied it into Canvas, and obtained the interactive asset in about 2 minutes. 

PROMPT PROVIDED BY GEMINI: 

=========

Ready-to-Use Canvas Prompt

Role & Goal: You are an expert web developer and instructional designer. Build a single-page interactive web application using HTML, Tailwind CSS, and vanilla JavaScript that serves as an interactive timeline explaining 5 key language teaching approaches:

  1. Grammar-Translation Method

  2. Audio-Lingual Method (ALM)

  3. Communicative Language Teaching (CLT)

  4. Task-Based Language Teaching (TBLT)

  5. Translanguaging Framework

Layout & Design:

  • Modern, clean UI with a responsive horizontal or vertical timeline layout.

  • A top header title: "The Evolution of Language Teaching Approaches".

  • Distinct color-coded nodes or cards for each of the 5 approaches along the timeline, displaying the approach name and approximate era.

Interactive Mechanics:

  1. Click-to-Expand Modals/Cards: Clicking any approach node highlights it and opens a detail card containing four tabs/sections:

    • Core Theoretical Premise (Theoretical background)

    • Key Classroom Features (Bullet points of teacher/student roles)

    • Example Activity (A concrete classroom scenario)

    • Critique & Limitations (Main pedagogical drawbacks)

  2. Interactive Comparison Filter: Include a toggle or filter at the top (e.g., "Focus: Behaviorist/Form-Focused" vs. "Focus: Constructivist/Meaning-Focused") that visually highlights which methods fit each paradigm.

  3. Quick Check Quiz: At the bottom of the page, include a 3-item drag-and-drop or multiple-choice quiz where users match a classroom scenario to its corresponding teaching approach, providing instant feedback on answers.

Technical Requirements:

  • Ensure all CSS (Tailwind via CDN) and JavaScript are self-contained in a single code block so it runs directly in the Canvas preview.

  • Make it responsive for mobile and desktop screens.

Why This Prompt Blueprint Works

  • Structural Scaffolding: Dividing your prompt into Role, Layout, Mechanics, and Technical Specs prevents the AI from skipping functional UI elements.

  • Explicit Content Framework: Naming the exact 5 approaches ensures Gemini populates accurate pedagogical content rather than placeholder text ("Lorem Ipsum").

  • Multi-Modal Data Chunking: Requesting tabs (Premise, Features, Example, Critique) keeps the screen uncluttered and visually digestible for trainees.

  • Formative Assessment Loop: Including a mini-quiz transforms a static reading layout into an active learning tool.

Once Canvas generates the code, you can tweak it in real time using side-by-side prompting—for example, asking it to "Change the background to a dark mode palette" or "Add a download button for a summary PDF."

======================

OUTPUT TIMELINE: 

https://share.gemini.google/tW82nhI0RRLx


======+++++++++++++++++++++++++++++++++++++++++++++

TAKEAWAYS:

- No need to write the prompt yourself. Instead, tell Gemini your need and ask it to write the prompt for you. 





Saturday, December 27, 2025

In POE, a chatbot response can be directly turned into an interactive task

 In the past, within POE, I would use the Chatbot function to get ideas, and then the 'Create Canvas app' function to create an interactive elearning task. 

But JUST REALISED THAT I CAN CONTINUE ON TO THE LATTER DIRECTLY FROM THE CHATBOT RESPONSE WITHOUT LEAVING THE CHATBOT.

In POE, I was using Gemini 3 Pro to set an overview of major SLA theories. 

OUTPUT: 

https://poe.com/s/YK1MewVwAfXxkSyc192B

Then, I thought: 'Why don't I try getting an interactive task directly from the output?"

In 'CONTINUE CHAT', I asked it to provide me with an interactive matching task for Ss to match the names of the 7 theories in the answer, to their meanings. 

THE CHATBOT COULD CONTINUE!

The first result did not work. I then asked the chatbot to try again. 

The second attempt by the chatbot was a success, as follows: 

https://poe.com/preview/PlvYOzoYibKA7veLreEk

===========

THE UPSIDE

- I need not extract the names of the theories, and their meanings (this could take some time), and copy them to the 'Create Canvas app'. 

Saturday, November 15, 2025

'Learning bot' vs 'Prompt bot' : Meaning

 To clarify their meanings, I consulted a chatbot just now. 

Here is the answer by Claude: 

=

A prompt bot would be a specific type of learning bot that primarily works through providing prompts to guide student thinking. Its main mechanism is offering questions, sentence starters, or thinking cues that scaffold the learning process. For example, a prompt bot might say things like "What would happen if..." or "Can you explain why..." or "Consider the perspective of..."

A learning bot is a broader category that includes any bot designed to facilitate learning. This could include:

  • Bots that provide direct instruction or explanations
  • Quiz bots that test knowledge through multiple choice questions
  • Reference bots that answer student questions directly
  • Practice bots that provide problems and check answers
  • And yes, prompt bots that guide through questioning

So while all prompt bots are learning bots (they're designed to help students learn), not all learning bots are prompt bots. A learning bot that simply provides definitions when asked, or one that delivers mini-lectures, wouldn't really be a prompt bot since it's not primarily working through prompting strategies.

The distinction matters because the pedagogical approach is different. A prompt bot embodies a more constructivist approach where students build understanding through guided inquiry. Other types of learning bots might use more direct instructional methods. The choice between them would depend on the learning objectives and the teaching philosophy behind their deployment.

https://poe.com/s/W7jSDjD949b6spX41X2l

In other words, what I have creating to guide Ss to learn something through a process of scaffolded conversation are prompt bots, and 'learning bots' in a more general sense. 

Tuesday, October 07, 2025

Created a one-page Google Site for an interactive blank-filling task made with Gemini

Explainer Video by Mike Lam: https://www.youtube.com/watch?v=NPA781kdYb8 


My attempt: 

1. I used an interactive blank-filling task previously made with Gemini: 

https://g.co/gemini/share/3f4818fdcd93


2. I followed the procedures explained by Mike Lam, and created the following one-page Google site which contains the interactive task: 

https://sites.google.com/view/consonants-review-blank-fillin/home


=============

OBSERVATIONS

1. As Gemini allows users to share a created interactive game via a link, the above procedures are strictly speaking not necessary. 

2. Nevertheless, it's good to learn about the 'embed code' function in Google Sites. 

Am I doing vibe-coding already?

  As someone with zero background in I.T., I dread any term with the word 'coding' in it. Anyhow, I came across the term 'vibe c...