'Is it possible to read a view function on a web front end from a smart contract?

Hey so I am fairly new to JS,Solidity and WEB3 and I was wondering if I can fetch data when interacting with a view function and using that data on my front end. The reason being the token is coupled with external data using chain-link and I would like an easy way for users to get the current price in the contract, here is what I have wrote to call the function using moralis, but have no clue what to do after that or if it even possible to get the data: enter image description here

I was also thinking of getting the data directly from the chain-link website, It has the current prices that I would need to display on the front end, but since I am new to this I'm not too sure how to go about doing that, I know this is a kind of n00b question but thanks in advance, any direction would be great!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source