Challenge: Nodes and Links
Test your understanding of nodes and links in tree diagrams by working through this challenge.
We'll cover the following
Problem statement
Starting with the file simple-horizontal-tree-diagram
, change the code to show the text for the non-leaf nodes as red. Also, change the code so that the link to any leaf node is a straight line, but all other links are curved.
Final output
The final output should look like the image below:
Get hands-on with 1400+ tech skills courses.