0

nesecito ayuda con react

tengo este proyecto en react https://stackblitz.com/edit/react-state-counter-example-8zmcpr?file=index.html y e tratado de embeber codigo css que esta en una carpeta css y no hace el import por lo que no ejecuta los archivos css me prodrian ayudar

3rd Sep 2021, 7:39 PM
Mismel
Mismel - avatar
10 Réponses
+ 2
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title> Page Title ✍️</title> <link href="./style.css" rel="stylesheet"> <link href="./css/cards.css" rel="stylesheet"> <link href="./css/exam.css" rel="stylesheet"> <link href="./css/fonts.css" rel="stylesheet"> <link href="./css/footer.css" rel="stylesheet"> <link href="./css/header.css" rel="stylesheet"> <link href="./css/layers.css" rel="stylesheet"> <link href="./css/loader.css" rel="stylesheet"> <link href="./css/main.css" rel="stylesheet"> <link href="./css/side-nav.css" rel="stylesheet"> <link href="./css/video-playlist.css" rel="stylesheet"> </head> <body> etc .. </body>
3rd Sep 2021, 9:29 PM
SoloProg
SoloProg - avatar
+ 2
add script ./index.js in the <head> section of an HTML page
4th Sep 2021, 10:26 AM
SoloProg
SoloProg - avatar
7th Sep 2021, 9:32 AM
SoloProg
SoloProg - avatar
+ 2
there is another way put @import "./css/cards.css"; in style.css file
7th Sep 2021, 9:37 AM
SoloProg
SoloProg - avatar
+ 2
The beginners GUIDE TO REACT & REDUX The Complete React Web Development Course (with Redux) https://usermanual.wiki/Document/Beginners20Guide20to20React.603117965.pdf
7th Sep 2021, 6:43 PM
SoloProg
SoloProg - avatar
7th Sep 2021, 6:56 PM
SoloProg
SoloProg - avatar
+ 1
Were I embebing de code css ??? In the index.js??
6th Sep 2021, 4:43 PM
Mismel
Mismel - avatar
+ 1
Above </head> tag
6th Sep 2021, 4:55 PM
SoloProg
SoloProg - avatar
+ 1
Yes but in the index.js
6th Sep 2021, 5:09 PM
Mismel
Mismel - avatar
+ 1
I tell you how i do in react bucause i know how i do in html
7th Sep 2021, 1:11 PM
Mismel
Mismel - avatar