File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ document.addEventListener("DOMContentLoaded", () => {
25
25
<p>${ details . description } </p>
26
26
<p><strong>Schedule:</strong> ${ details . schedule } </p>
27
27
<p><strong>Availability:</strong> ${ spotsLeft } spots left</p>
28
+ <p><strong>Participants:</strong></p>
29
+ <ul>
30
+ ${ details . participants . map ( participant => `<li>${ participant } </li>` ) . join ( "" ) }
31
+ </ul>
28
32
` ;
29
33
30
34
activitiesList . appendChild ( activityCard ) ;
Original file line number Diff line number Diff line change @@ -74,6 +74,18 @@ section h3 {
74
74
margin-bottom : 8px ;
75
75
}
76
76
77
+ .activity-card ul {
78
+ margin-top : 10px ;
79
+ padding-left : 20px ;
80
+ list-style-type : disc;
81
+ color : # 555 ;
82
+ }
83
+
84
+ .activity-card ul li {
85
+ margin-bottom : 5px ;
86
+ font-size : 14px ;
87
+ }
88
+
77
89
.form-group {
78
90
margin-bottom : 15px ;
79
91
}
You can’t perform that action at this time.
0 commit comments