Challenge: Count Number of Images
Swipe to start coding
You have successfully opened, read, and decoded the page. Your tasks are:
- Count the number of
div
tags within theweb_page
. - Count the number of images (
img
) within theweb_page
.
To identify these elements, search for the strings "<div"
and "<img"
, as elements may include attributes.
Løsning
Takk for tilbakemeldingene dine!