The lesson states:
Notice that whereas with ne ... pas (not), pas could only be placed after the auxiliary verb (être or avoir) in compound tenses. See Using 'ne ... pas' with compound tenses (negation).
The restrictive que in ne ... que can be placed either after the auxiliary verb, or in front of the word it's restricting. You should place que in front of the word you restrict.
The above needs to be reformulated as "Notice that whereas with......................................, the restrictive que in ne....que....................
The writer leaves the poor reader hanging with the current punctuation. Whereas needs a second clause in the same sentence separated with a happy comma.
Not a huge issue of course, but I had to read this several times to understand the meaning. The fix is quick as noted above.