Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solution added #694

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

TimurHrynenko
Copy link

Copy link

@VinnieJ-2k20 VinnieJ-2k20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some fixes required

src/index.html Outdated
<h1>Universal Declaration of Human Rights</h1>
<h2>Preamble</h2>
<p>
Whereas recognition of the inherent dignity and of the equal and inalienable rights of all members of the human family is the foundation of freedom, justice and peace in the world,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should manually keep lines length less than 80 symbols, so the text can be read without horizontal scroll.
Fix it here and through the document, make it like at lines 44-48

src/style.css Outdated
Comment on lines 10 to 32
h1 {
font-size: 17px;
font-weight: bold;
}

h2 {
font-size: 15px;
font-weight: normal;
padding: 1em 0;
}

a {
color: green;
}

h1,
a,
h2,
p,
ol,
li {
margin: 0;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add styles to classes, not to tags.

Copy link

@VinnieJ-2k20 VinnieJ-2k20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not all text has been formatted for 80 max length, but let's move to the next tasks.

Comment on lines +178 to +182
<a class="link"
href="https://www.ohchr.org/EN/UDHR/Documents/UDHR_Translations/eng.pdf"
>
Articles 17 to 30
</a>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tag and attributes in this case should be on separate lines.

Suggested change
<a class="link"
href="https://www.ohchr.org/EN/UDHR/Documents/UDHR_Translations/eng.pdf"
>
Articles 17 to 30
</a>
<a
class="link"
href="https://www.ohchr.org/EN/UDHR/Documents/UDHR_Translations/eng.pdf"
>
Articles 17 to 30
</a>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants