Building comparison feature

Hi to everyone. I am currently working in Phone Hungers. I have to make a product comparison feature for this. i just have some basic knowledge about javascript and dont have much idea. this is on wp. can anyone guide me how can i do that?

To add a product comparison feature to your WordPress site, install a plugin like YITH WooCommerce Compare or WooCommerce Compare Products by going to Plugins > Add New, searching for the plugin, and activating it. Configure the plugin settings via the respective plugin settings page.
If you need further customization, create a custom JavaScript file (e.g., custom-compare.js ), enqueue it in your theme’s functions.php file, and add your custom scripts to enhance functionality. Finally, test the feature by adding products to the comparison table to ensure it works correctly across different browsers and devices. Or hire a web developer but this will cost you his/her online bill