Write a function to identify the header/menus and footer for websites
Budget: $10 – $30 USD
You will need strong skills in javascript, making a testing environment with iframes or nodejs, and writing tests
its finding the header and footer dom node using javascript
the data inside the header and footer isn't important, the task is to identify what is the header and footer on all the pages
The function and proof of it passing on almost all of the websites. Maximum error rate should be as low as possible, but no more than 5-10%.
You will receive a message with txt files with test website urls and existing function.
the current solution does not work at all for some sites that have vertical header/menus.. like ign.com and yummly (https://www.yummly.com/recipe/5-Minute-Anti-Inflammatory-Dinner-2547107)
the existing solution currently only identifies one div for the header... and in the case of etsy.com, there is a separate div for the menu which should be counted as part of the header
its finding the header and footer dom node using javascript
the data inside the header and footer isn't important, the task is to identify what is the header and footer on all the pages
The function and proof of it passing on almost all of the websites. Maximum error rate should be as low as possible, but no more than 5-10%.
You will receive a message with txt files with test website urls and existing function.
the current solution does not work at all for some sites that have vertical header/menus.. like ign.com and yummly (https://www.yummly.com/recipe/5-Minute-Anti-Inflammatory-Dinner-2547107)
the existing solution currently only identifies one div for the header... and in the case of etsy.com, there is a separate div for the menu which should be counted as part of the header