JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
duke 1
read me first
1 display values
2 store values
3 store + display
Congratulations!
More
Share
Explore
1 display values
🐞debug
display text and number values
🐞user interface design
The program output should look like this when all the bugs have been fixed.
There are 7 days in a week and 52 weeks in a year
🐞Task
The following code has some
errors
.
Read the code and the comments
Run the code and use the
error messages
to debug.
You may have to
repeat this several times
until all the bugs are fixed.
Loading…
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.