14.7.3. Code writing activity part 3

On this page, you will complete the final activity to write code that:

Scrapes all the comments on the Rate My Professor page for Prof. Ericson and Prof. Oney and prints them

Here is the link to Prof. Ericson's Rate My Professor page.

Here is the link to Prof. Oney's Rate My Professor page.

You can see that both the pages have the same layout.

Prof. Ericson's Rate My Professor page Prof. Ericson's Rate My Professor page

The comments all have the same tag name, which is 'div' tag with class='Comments__StyledComments-dzzyvm-0 dvnRbr'. Here’s what it looks like when you inspect Prof. Ericson’s page:

Inspecting the tags on the Rate My Professor page

Here is the code that you assembled from the plans. Now that you’ve assembled the correct plans, fill in the blanks to complete the code.

You have attempted of activities on this page