Coding Challenge

Let’s solve a small coding challenge in Python while using Transcrypt.

We'll cover the following

Problem statement

In this challenge, write the functions in external_jq2.py that are imported by external_jq.py.

We need to add these two functions:

  • append_ol: Use jQuery’s append method to add an item to the ol element.
  • click_button: Use jQuery’s click method on the #append_btn element to call the callback function, which in this case is the add_item function.

Get hands-on with 1400+ tech skills courses.