Please click on the each project and read its README file, or read this article:
Code, Compile, and Deploy using Hardhat → https://guideofdapp.com/posts/code-deploy-using-hardhat/
Connect Hardhat with Frontend using Ethers → https://guideofdapp.com/posts/how-to-connect-hardhat-contract-with-ethers/