Skip to content

Instantly share code, notes, and snippets.

@aozora
Last active January 10, 2018 10:57
Show Gist options
  • Save aozora/c30bcf98a63f3197aa29207068542ad1 to your computer and use it in GitHub Desktop.
Save aozora/c30bcf98a63f3197aa29207068542ad1 to your computer and use it in GitHub Desktop.
<!--
This should be the markup for an article with the abstract for the first episode of the TV Show "Game of Thrones"
This markup is valid, ma semantically incorrect; please refactor it.
-->
<div>
<div>
<div>
<div>
<div>
<div>
<label>Winter Is Coming</label>
</div>
</div>
</div>
</div>
</div>
</div>
<span>
<div>
<span>Jon Arryn, the Hand of the King, is dead. King Robert Baratheon plans to ask his oldest friend, Eddard Stark,
to take Jon's place. Across the sea, Viserys Targaryen plans to wed his sister to a nomadic warlord in exchange
for an army.</span>
</div>
</span>
@aozora
Copy link
Author

aozora commented Jan 10, 2018

Solution:

<article>
<h2>Winter Is Coming</h2>
<p>Jon Arryn, the Hand of the King, is dead. King Robert Baratheon plans to ask his oldest friend, Eddard Stark, 
    to take Jon's place. Across the sea, Viserys Targaryen plans to wed his sister to a nomadic warlord in exchange 
    for an army.</p>
</article>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment