Panther AcademyPlumstead Christian School
Plumstead Christian School crest
Panther Academy · Class 5

Update a website from Google Sheets

Some information changes every week: game times, lunch menus, upcoming events. In this class you connect a Google Sheet to a web page once. After that, anyone you trust updates the page by editing the sheet, with no Claude and no code.

Before you start

What you'll need, and words you'll see

You don't need to know how to code. Your job is to say clearly what you want, check what you get, and decide what goes live.

For this class

  • A Google account, Google Sheets and a Google Site you can edit.
  • Only public information. Anyone who can see the page can see what the sheet shares.
  • About 20 to 30 minutes per lesson. No Claude account needed.

How to work through it

  • Take the lessons in order. Each one ends with a small project and a 3-question quiz.
  • Building a PCS page? Start with the PCS brand block so it matches the other sites.
  • If something looks wrong, say what you see. "The buttons overlap on my phone" works fine.
  • Your checkmarks save to your account, so you can stop and come back on any computer.

Words you'll see

Prompt
What you type to Claude. Plain sentences are best.
Artifact
A page, document or app Claude makes and shows next to the chat.
Extension
A small add-on for Chrome. Claude in Chrome is one.
Side panel
The strip on the side of Chrome where you chat with Claude in Chrome.
HTML
The code a web page is written in. Claude writes it for you.
Embed
Placing a piece of code or another page inside a page, such as in Google Sites.
Backend
The part behind a page that stores and serves information, like a sheet of events.
Apps Script
Google's built-in tool for adding small programs to Sheets, Docs and more.
Repository (repo)
A project folder on GitHub that keeps every version of your files.
Commit
Saving a change on GitHub, with a short note about what changed.
Hosting and deploy
Hosting keeps your site online. Deploying is putting a new version there.
Domain and DNS
A domain is a web address. DNS records point that address at your site.
noindex
A tag that asks Google not to list a page in search results. We use it on drafts.
Stay safe

Rules for using Claude with school work

Claude is a helper, not a decision maker. You check everything it makes, and you choose what goes public.

  • Never paste passwords or private records into Claude.That includes student names with grades, health or behavior notes, family addresses and phone numbers, and anything with a login. Make up sample names when you need examples.
  • Use Claude in Chrome only on sites you trust.Anthropic recommends a separate Chrome profile without your bank, email or other sensitive accounts, and keeping Claude away from financial, legal, medical and other people's personal information.
  • Watch for hidden instructions.A web page can contain text written to trick an AI into doing something you didn't ask. If Claude starts doing anything unexpected, stop it and close the side panel.
  • Choose when Claude asks you.The side panel starts on Automatically approve, where Claude pauses for anything that needs you. While you're learning, switch to Manually approve so you see every step.
  • Ask an admin before anything goes public.Publishing a page, posting to a blog or connecting a school account waits for a PCS admin's OK.
  • Read before you publish.Check every date, name, time and link yourself. Claude can be wrong and sound sure.
  • Keep drafts out of search.Until a PCS admin approves a page, keep it hidden from search engines. Class 4 shows the Google Sites setting.

Before you publish

Tick each one for the page you're about to put online.

7 checks to go.
1
Lesson 1

Set up a sheet a website can read

Lay out your sheet so a web page can read it, and so staff can update it without breaking anything.

About 20 minNot started

You'll make

An "Events" sheet ready to feed a web page, shared with the right people.

You'll need

  • A Google account
How it works
Google Sheetone row per item
Staffedit rows
Web pageshows the latest

Steps

  1. Make a new Google Sheet and name it clearly, like "PCS Events (feeds the website)".
  2. Rename the first tab Events.
  3. In row 1, type the headings: Date, Event, Place, Show. Don't change these later; the page looks for them by name.
  4. Add one event per row. Type dates as real dates, like 11/14/2026, so the sheet knows they're dates.
  5. In the Show column, type Yes or No. No hides a row from the website without deleting it.
  6. Click View, Freeze, 1 row, so the headings stay put.
  7. Click Share and give Editor access only to the people who should update it.

Rules that keep it working

  • One item per row. No blank rows in the middle.
  • Don't merge cells, rename the tab or change the headings.
  • Public information only. No student names, grades or phone numbers.
  • Made a mistake? File, Version history lets you go back.

Sources: Google Docs Editors Help: Share files · Google Docs Editors Help: Version history

Finish the lesson: do the project and get all three quiz questions right, and the lesson checks itself off.

Your project

Make an Events sheet for something real at PCS.

Lesson quiz0 of 3 right
2
Lesson 2

Show a sheet on a Google Site, no code

The quickest way to put live sheet information on a website: insert it straight into a Google Site.

About 20 minNot started

You'll make

A Google Sites page that shows your sheet and updates when the sheet changes.

You'll need

  • Your Events sheet from Lesson 1
  • A Google Site you can edit
How it works
Your sheetedit a row
Insert, Sheetsin Google Sites
Your siteshows the change

Insert the sheet

  1. Make sure visitors can see the sheet: in Share, set General access to people at PCS, or anyone with the link, as viewers.
  2. In your Google Site, click where you want it, then on the right choose Insert, Sheets.
  3. Pick your Events sheet and click Insert. Drag the corners to size it.
  4. Preview, then publish the site.
  5. Change a row in the sheet, then reload the published site. The change shows up without editing the site.

Or use a link: Publish to the web

  1. In the sheet, click File, Share, Publish to web.
  2. Choose the Events tab and Web page, then Publish.
  3. Under Published content and settings, keep Automatically republish when changes are made on.
  4. Use the link anywhere, such as a button on your site.

Good to know: this shows the sheet as a table. For styled cards that match the PCS brand, use Lesson 3.

Sources: Google Sites Help: Add text, images and embeds · Google Docs Editors Help: Publish a file

Finish the lesson: do the project and get all three quiz questions right, and the lesson checks itself off.

Your project

Put your Events sheet on a Google Site.

Lesson quiz0 of 3 right
3
Lesson 3

Feed styled cards from your sheet

Turn the sheet into a small data feed with ready-made code, and show it as branded cards. Copy and paste only.

About 30 minNot started

You'll make

Branded event cards on a Google Site, fed from your sheet. After setup, staff only edit the sheet.

You'll need

  • Your Events sheet
  • A Google Site you can edit
  • The two code boxes below
How it works
Google Sheetstaff edit it
Apps Scriptturns it into data
/exec addressyour feed
Card liston your site

Part A · Make the feed

  1. In the sheet, click Extensions, then Apps Script. A code editor opens.
  2. Delete the sample code, paste the Apps Script code below, and click the save icon.
  3. Click Deploy, New deployment. Click the gear next to Select type and choose Web app.
  4. Set Execute as to Me. For Who has access, choose Anyone so the website can read it. Anyone with the address can read the rows, so keep the sheet to public information.
  5. Click Deploy, read what Google asks to allow, and agree. Copy the Web app URL, which ends in /exec.
  6. Open that address in a new tab. You should see your rows as text.
Apps Script code
function doGet() {
  const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Events');
  const rows = sheet.getDataRange().getValues();
  const headers = rows.shift();
  const data = rows.map(r => Object.fromEntries(headers.map((h, i) => [h, r[i]])));
  return ContentService
    .createTextOutput(JSON.stringify(data))
    .setMimeType(ContentService.MimeType.JSON);
}

Part B · Show it as cards

  1. Copy the card code below.
  2. Find the line with PASTE YOUR /exec ADDRESS HERE and replace those words with your address, keeping the quote marks.
  3. In your Google Site, choose Insert, Embed, Embed code, paste, and click Next, Insert.
  4. Preview, then publish.
Card list code
<!-- PCS events list. Paste your /exec address between the quotes below. -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&family=Libre+Franklin:wght@400;600&display=swap">
<style>
  body { margin: 0; background: #FAF7F2; font-family: 'Libre Franklin', system-ui, sans-serif; }
  #pcs-list { max-width: 720px; margin: 0 auto; padding: 12px; }
  #pcs-list .card { background: #fff; border-radius: 18px; box-shadow: 0 6px 20px rgba(60,30,20,.08); padding: 16px 18px; margin: 0 0 12px; }
  #pcs-list .when { color: #BD2041; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
  #pcs-list h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; margin: 4px 0; color: #1E1A18; }
  #pcs-list p { margin: 0; color: #6B6560; font-size: 17px; }
</style>
<div id="pcs-list">Loading…</div>
<script>
  const SHEET_URL = 'PASTE YOUR /exec ADDRESS HERE';
  const box = document.getElementById('pcs-list');
  fetch(SHEET_URL).then(r => r.json()).then(rows => {
    rows = rows.filter(r => r.Event && String(r.Show || 'Yes').trim().toLowerCase() !== 'no');
    if (!rows.length) { box.textContent = 'Nothing coming up yet.'; return; }
    box.textContent = '';
    rows.forEach(r => {
      const d = new Date(r.Date);
      const when = isNaN(d) ? String(r.Date || '') : d.toLocaleDateString('en-US', { weekday: 'short', month: 'short', day: 'numeric' });
      const card = document.createElement('div');
      card.className = 'card';
      card.innerHTML = '<div class="when"></div><h3></h3><p></p>';
      card.children[0].textContent = when;
      card.children[1].textContent = r.Event;
      card.children[2].textContent = r.Place || '';
      box.appendChild(card);
    });
  }).catch(() => { box.textContent = 'The list could not load. Check the address and try again.'; });
</script>

Part C · Everyday updates

  1. To add an event, add a row in the sheet.
  2. To hide one, type No in Show.
  3. Reload the website. That's it: no Claude, no code, no republishing.

Changed the script? Use Deploy, Manage deployments, edit, choose a new version, and Deploy. The address stays the same, so the page keeps working.

Sources: Apps Script: Web apps · Apps Script: Deployments

Finish the lesson: do the project and get all three quiz questions right, and the lesson checks itself off.

Your project

Put branded event cards on a site, fed from your sheet.

Lesson quiz0 of 3 right
Final project

Hand a live page to the people who update it

Set up a page that someone else can keep current just by editing a sheet.

Certificate of completion

Your name here

Finish all three lessons and the final project to complete Update a website from Google Sheets.

Up next: Class 6, Advanced Web BuildingGo to Class 6 →

Sources

Where these steps come from

Every step was checked against the official help pages on November 9, 2026. Menus change, so if a button looks different, the help page has the latest version.

Plumstead Christian School · Every PCS site