Aquí está mi código para el archivo CSS externo. Pudo renderizar mi JavaScript pero no mi CSS.
<!DOCTYPE html> <html lang="en"> <head> <title>React App</title> <link rel="stylesheet" href="../src/styles.css" type="text/css" /> </head> <body> <div id="root"></div> <script src="../src/index.js" type="text/jsx"></script> </body> </html>
Simplemente pon
<head> <title>React App</title> <link rel="stylesheet" href="./styles.css" type="text/css" /> </head> OR <head> <title>React App</title> <link rel="stylesheet" href="styles.css" type="text/css" /> </head>