Fantastic! You built a little app with only a few dozen lines of code. Impressive, isn’t it?

The four verbs your program knows—add, display, update, and delete—are universal. This acronym is better known as CRUD for create, read, update, and delete (respectively). These are the actions you take when you update an entry in a database, ask a website for information, or write a blog post. Being familiar with this setup is good, because you’ll see it in everything from API calls to web frameworks like Ruby on Rails.


Feel free to play around with your program until you’ve got it running just the way you like it. (Maybe add a more specific else message than "Error!"?)

When you’re ready, click Run to complete this project!

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?