constgreetings=(firstName)=>{console.log(`Hi :), My name is ${firstName} and I mostly program stuff that I either want to learn or just for personal use ๐`);};greetings('Naseif');
Scrpaing the products links from amazon has been tricky so far. It all depends on the way the page is styled and after testing with some search queries I noticed that the html content of each search operation was different so I went to amazon and searched using the same queries and here was the surprise, each search result was styled different. One was styled with cards, the other is was styled as a list etc. Product titles are also messed up for some results. I need to find a way of validating the existing of a class before pushing and that can only be achieved if the parent class of all these different styles has the same name. I then have only to check which of these classes exist and push their value.