Skip to content

Commit 8ac947d

Browse files
committed
classroom??
2 parents 87c87e9 + ba8040b commit 8ac947d

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/classroom.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,22 @@ jobs:
2525
command: |
2626
REPO="${{ github.repository }}"
2727
REPO="${REPO##*/}"
28+
<<<<<<< HEAD
2829
STUDENT="${REPO##*-}"
2930
COUNT=$(git log main --author="$STUDENT" --pretty=oneline | wc -l | tr -d ' ')
3031
echo "Student: $STUDENT"
3132
echo "Commit count on main: $COUNT"
3233
[ "$COUNT" -ge 5 ]
34+
=======
35+
36+
# 1. Strip assignment prefix
37+
STUDENT="${REPO#mozilla-website-}"
38+
39+
# 2. Strip trailing -<digits> if present
40+
STUDENT="$(echo "$STUDENT" | sed -E 's/-[0-9]+$//')"
41+
42+
echo "Student: $STUDENT"
43+
>>>>>>> ba8040b138934725f788b0efd9be0fa96affb84a
3344
timeout: 2
3445
max-score: 10
3546
- name: Autograding Reporter

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<body class="oswald-funfont">
1414
<h1> Mozilla Firefox is Fire! </h1>
1515
<img src="images/firefox-icon.png" alt="The Firefox logo: a flaming fox surrounding the Earth." />
16-
<p>At Mozilla, we're a global community of</p>
16+
<p>At Mozilla, we're a global community of...</p>
1717

1818
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras semper tellus quis est lacinia, non consectetur urna consequat. Aliquam sed finibus ipsum. Suspendisse nec euismod nibh. Donec id orci risus. Aliquam erat volutpat. Praesent in sem diam. Nam rutrum dui vitae ante scelerisque gravida. In eget erat sed tellus dignissim tincidunt eget non eros. Nulla facilisi. Aenean arcu tellus, gravida sed ex ut, pellentesque dapibus erat. Duis quis quam eget diam rhoncus euismod. </p>
1919

@@ -39,7 +39,7 @@ <h1> Mozilla Firefox is Fire! </h1>
3939
</ul>
4040

4141
<p>working together to keep the fifth most used web broswer alive and kicking.</p>
42-
42+
<p> We believe this act of human collaboration across an open platform is essential to individual growth and our collective future.</p>
4343
<p> Our
4444
<a href="https://www.mozilla.org/en-US/about/manifesto/"> Mozilla Manifesto</a>
4545
outlines the values and principles that guide our work.

styles/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ body {
1212
font-style: normal;
1313
width: 600px;
1414
margin: 0 auto;
15+
margin-top: 50px;
1516
background-color: #FDAA46;
16-
padding: 0 20px 20px 20px;
17+
padding: 20px 20px 20px 20px;
1718
border: 5px solid black;
1819
}
1920

0 commit comments

Comments
 (0)