Solution to Sub-task Line Breaks

The solution to the Sub-task "line breaks" of the project "Justify Text".

We'll cover the following

Line breaks

After splitting a line by a certain width, introduce the hyphenation of a word. The word should be split into parts by referring to a dictionary and incorporating the broken word in the first part of the line however possible.

Get hands-on with 1400+ tech skills courses.