⇦ Back
WDX-180
Web Development X
Parent-Child Relationships
There are two messages in this example. The time that the message was sent is displayed for the first message, but it is missing in the second message. Complete the following steps:
-
Open the
index.html
file and add the time7:15pm
to the second message using the correct HTML syntax. You will need to identify the correct location in the code to add a new tag and make sure that you give it the correct class attribute. -
Use git to add, commit and push your changes.
-
You’ll have to copy the files existing in the folder and place them in the corresponding folder inside your
user/
folder.
For example:
- Copy all files in folder
1-parent-child
- Paste them inside folder
user/week01/exercises/day03/1-parent-child/
- Work on the copied files and complete the exercise.
- Upload (push) to your repo.
git add user/week01/exercises/day03/1-parent-child/
git commit -m "Completed 1-parent-child exercise"
git push
Hint: Use the first message as an example to help you write the second message correctly.
Sources and Attributions
Content is based on the following sources:
Project maintained by Behsolo
Hosted on GitHub Pages — Theme by mattgraham