AnswerDotAI / AnswerDotAI/fasthtml

[BUG] fasthtml-example(s) missing import (with fix)

Open Beginner friendly
#898 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
7k
Forks
319
Avg merge
28m
Merged PRs (30d)
3

Description

Hi, I tried to run two of your examples on a mac with python 3.14 (brew)

https://github.com/AnswerDotAI/fasthtml-example/tree/main/01_todo_app
https://github.com/AnswerDotAI/fasthtml-example/tree/main/annotate_text

**Both failed complaining about "Card" and "Group" missing**

After some digging in your docs - I found that adding this line **fixed it** for both examples.

_from fasthtml.pico import *_

Otherwise fasthtml seems very nice!

Regards

Contributor guide

Open the contributing guide

Research direction

Start with the linked fasthtml-example/01_todo_app and fasthtml-example/annotate_text examples and reproduce the missing Card and Group errors on Python 3.14. Verify that both examples run successfully with the documented fasthtml.pico import present.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.