Skip to main content
2 votes
Accepted

Lab 9: Birthdays - odd behaviour from delete button

Have you validated the HTML? (see Week 8 Lecture, starting at minute 54). The problem is identified in the spoiler, but you might want to take your generated HTML through the Direct Input tab at ...
DinoCoderSaurus's user avatar
2 votes

Lab9 -- Buttons to delete DB entries don't work

One problem is the html sends person.id as a list ( value="{{ [person.id] }}) so it will never find a match in the db. Once that is fixed another problem will be discovered: it will not add ...
DinoCoderSaurus's user avatar
1 vote
Accepted

Lab 9 - Tuples are not callable

There is a typo (an extra character) in this line db.execute=("INSERT INTO birthdays(id, name, month, day) VALUES(?, ?, ?, ?)", id, name, month, day) Reveal spoiler if you do not see it :) ...
DinoCoderSaurus's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible