-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFINISH
More file actions
32 lines (31 loc) · 1.44 KB
/
FINISH
File metadata and controls
32 lines (31 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# learning_step
# unit: discourse_theme_development.7
# number: 12
# title: Unit exercise
# description: Let's apply what we've learnt about overriding and extending
# Discourse javascript to a new example. Remember what we've covered:
#
# 1. Finding the relevant javascript<br>
# 2. Using the ``modifyClass`` and ``reopenWidget`` methods<br>
# 3. Preserving existing functionality<br>
# 4. Reusing existing functionality<br>
#
# exercise: Modify and extend the javascript and css so that whenever someone
# "likes" a post, the entire post turns pink. If they un-like
# the post, the post should go back to its normal color. Record
# your working code and post the recording in a comment.
#
# This may seem complicated, but focus on what we've learnt and
# try to ignore the complexity in the code you don't yet understand.
# The solution includes two api functions of a few lines each.
# review: peer
# mark: pass_change_fail
# /learning_step
# learning_step
# unit: discourse_theme_development.7
# number: 13
# title: Unit video
# description: This is where video demonstrating how to complete the unit goes
# when you're taking the unit on https://education.thepavilion.io
# visibility: hidden:until_previous_completed
# /learning_step