Image & js not working in admin & frontend in magento 2

Run below command from your root folder.

php bin/magento setup:static-content:deploy

It will download the all content in respective folders.

If you are in default or development mode use -f to forcefully download static content.

php bin/magento setup:static-content:deploy -f

It will download the all content in respective folders.