Skip to content

Commit e02277d

Browse files
adding fixes to text task
1 parent 7dc971c commit e02277d

File tree

3 files changed

+76
-6
lines changed

3 files changed

+76
-6
lines changed

webcamstudy/src/components/textTask.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,38 @@ <h3>Please Read the following message</h3>
123123
</script>
124124
</body>
125125
</html>
126+
<style>
127+
.textTask {
128+
text-align: center;
129+
font-family: Arial, sans-serif;
130+
}
131+
132+
h3 {
133+
margin: 40px 25% 0;
134+
}
135+
136+
.formatted-text {
137+
display: flex;
138+
flex-wrap: wrap;
139+
justify-content: center;
140+
text-align: justify;
141+
margin: 40px auto;
142+
max-width: 33%;
143+
width: 100%;
144+
line-height: 2; /* Double spacing */
145+
}
146+
147+
.word-block {
148+
display: inline-flex;
149+
flex-wrap: nowrap;
150+
}
151+
152+
.letter {
153+
font-size: 24px; /* Increased font size */
154+
}
155+
156+
.space {
157+
width: 4px;
158+
}
159+
</style>
160+

webcamstudy/src/components/textTask2.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,37 @@ <h3>Please Read the following message</h3>
9999
</script>
100100
</body>
101101
</html>
102+
<style>
103+
.textTask {
104+
text-align: center;
105+
font-family: Arial, sans-serif;
106+
}
107+
108+
h3 {
109+
margin: 40px 25% 0;
110+
}
111+
112+
.formatted-text {
113+
display: flex;
114+
flex-wrap: wrap;
115+
justify-content: center;
116+
text-align: justify;
117+
margin: 40px auto;
118+
max-width: 33%;
119+
width: 100%;
120+
line-height: 2; /* Double spacing */
121+
}
122+
123+
.word-block {
124+
display: inline-flex;
125+
flex-wrap: nowrap;
126+
}
127+
128+
.letter {
129+
font-size: 24px; /* Increased font size */
130+
}
131+
132+
.space {
133+
width: 4px;
134+
}
135+
</style>

webcamstudy/src/components/textTask3.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
text-align: center;
1010
font-family: Arial, sans-serif;
1111
}
12-
12+
1313
h3 {
1414
margin: 40px 25% 0;
1515
}
16-
16+
1717
.formatted-text {
1818
display: flex;
1919
flex-wrap: wrap;
@@ -22,17 +22,18 @@
2222
margin: 40px auto;
2323
max-width: 33%;
2424
width: 100%;
25+
line-height: 2; /* Double spacing */
2526
}
26-
27+
2728
.word-block {
2829
display: inline-flex;
2930
flex-wrap: nowrap;
3031
}
31-
32+
3233
.letter {
33-
font-size: 18px;
34+
font-size: 24px; /* Increased font size */
3435
}
35-
36+
3637
.space {
3738
width: 4px;
3839
}

0 commit comments

Comments
 (0)