How to get index.html & index.js to render in MAMP on Mac?
I'm trying to use http://localhost:8888/ (MAMP) to render my index.html & index.js files within htdocs
import React from 'react';
import ReactDOM from 'react-dom';
<meta charset="utf-8" />
content="width=device-width, initial-scale=1" />
I would assume they should be connected via 'root' and should display 'Hello' but it doesn't, it just displays a white screen.
Please let me know what I'm doing wrong
- Anonymous1 month ago