File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818}
1919.cours {
2020 text-align : center;
21- color : # ffc219 ;
21+ background-color : # ffcc00 ;
22+ color : black;
23+ text-align : center;
24+ font-weight : bold;
25+ display : block;
26+ text-transform : uppercase;
27+ border-radius : 8px ;
2228}
2329
30+ .cours2 {
31+ color : # f0f0f0 ;
32+ text-align : center;
33+ font-weight : bold;
34+ }
2435.carte {
2536 background-color : # ffc219 ; /* fond clair, style « crème » */
2637 border-radius : 12px ;
7990 .carte .contenu p {
8091 font-size : 1.1rem ;
8192 }
93+
94+ .cours {
95+ background-color : # ffcc00 ;
96+ color : black;
97+ text-align : center;
98+ font-weight : bold;
99+ padding : 8px 20px ;
100+ display : block;
101+ font-size : 35px ;
102+ margin : 0 auto 30px ;
103+ text-transform : uppercase;
104+ width : fit-content;
105+ border-radius : 8px ;
106+ }
82107}
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ function Cours() {
1717 < h1 >
1818 Mission 1 < br /> Decouvre le code
1919 </ h1 >
20+ </ div >
21+ < div className = "cours2" >
2022 < h2 > Clique sur le poussin de ton choix.</ h2 >
2123 </ div >
2224
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ const LevelContainer: React.FC = () => {
116116
117117 return (
118118 < div className = "level-container" >
119- < h2 className = "lvlcontainer-title" > Mission 2 : Code Blocks</ h2 >
119+ < h2 className = "lvlcontainer-title" > Mission 3 : Code Blocks</ h2 >
120120
121121 < LevelSelector
122122 currentLevel = { currentLevel }
Original file line number Diff line number Diff line change @@ -109,23 +109,31 @@ const Quiz = () => {
109109 }
110110
111111 return (
112- < div className = "border" >
113- < div className = "quiz" >
114- < div className = "countandTime" >
115- < div className = "questionNumber" >
116- Question : { currentQuestion + 1 } / { data . length }
112+ < >
113+ < div className = "cours" >
114+ < h1 >
115+ Mission 2 < br /> Teste tes connaissances.
116+ </ h1 >
117+ </ div >
118+ < div className = "border" >
119+ < div className = "quiz" >
120+ < div className = "countandTime" >
121+ < div className = "questionNumber" >
122+ Question : { currentQuestion + 1 } / { data . length }
123+ </ div >
124+ < div className = "timer" > { timer } </ div >
117125 </ div >
118- < div className = "timer" > { timer } </ div >
126+ < Question
127+ question = { data [ currentQuestion ] . question }
128+ options = { data [ currentQuestion ] . options }
129+ onAnswer = { handleAnswer }
130+ onNext = { handleNext }
131+ showNextButton = { showNextButton }
132+ />
119133 </ div >
120- < Question
121- question = { data [ currentQuestion ] . question }
122- options = { data [ currentQuestion ] . options }
123- onAnswer = { handleAnswer }
124- onNext = { handleNext }
125- showNextButton = { showNextButton }
126- />
127134 </ div >
128- </ div >
135+ ;
136+ </ >
129137 ) ;
130138} ;
131139
You can’t perform that action at this time.
0 commit comments