Since in the function above 2 icons are rendered, a function called renderIcon should be created.
This function receives 2 parameters: "iconName" which is the name of the icon that should be rendered and "className" which is the class that the icon should have.
https://github.com/Stellar-Junior-Dev/cocktailMasters-cosmin/blob/ea54941415d5eaccef593cf4838dec64aa70a9dd/detailsPage/script.js#L173
Since in the function above 2 icons are rendered, a function called renderIcon should be created. This function receives 2 parameters: "iconName" which is the name of the icon that should be rendered and "className" which is the class that the icon should have.