Open jgagne opened 7 years ago
Rename index.web.html
to index.html
.
Resolve HTML issues: https://validator.w3.org/nu/?doc=https%3A%2F%2Fsjgregory97.github.io%2Fcruelty-free-site%2Findex.web.html
Before
<section>
<nav>
<ul class="menu">
<li> <a href="#hist"> <b>History</b> </a> </li>
<li> <a href="#camp"> <b>Campaigns</b> </a></li>
<li> <a href="#test"> <b>Tests </b></a> </li>
<li> <a href="#alt"> <b>Alternatives</b> </a> </li>
<li><a href="#prod"> <b>Products </b> </a> </li>
<li> <a href="#even"> <b>Events</b> </a> </li>
<li> <a href="#crit"> <b>Criticisms</b> </a> </li>
</ul>
<hr>
<ul>
<li> <a href="#also"> See Also </a></li>
<li> <a href="#ref"> References </a> </li>
</ul>
</section>
</nav>
Note: Improper nesting of tags. However, the easier way thing to do is just remove the <section>
element, since the <nav>
element is already a sectioning element.
After
<nav>
<ul class="menu">
<li> <a href="#hist"> <b>History</b> </a> </li>
<li> <a href="#camp"> <b>Campaigns</b> </a></li>
<li> <a href="#test"> <b>Tests </b></a> </li>
<li> <a href="#alt"> <b>Alternatives</b> </a> </li>
<li><a href="#prod"> <b>Products </b> </a> </li>
<li> <a href="#even"> <b>Events</b> </a> </li>
<li> <a href="#crit"> <b>Criticisms</b> </a> </li>
</ul>
<hr>
<ul>
<li> <a href="#also"> See Also </a></li>
<li> <a href="#ref"> References </a> </li>
</ul>
</nav>
Before
<p >
The term cruelty-free was first used in this way by Lady Dowding who persuaded manufacturers of fake furs to use the label Beauty Without Cruelty and went on to found the charity Beauty Without Cruelty in 1959.<a href="#three">[3] </a>The term was popularised in the USA in the 1970s by Marcia Pearson who founded the group Fashion With Compassion
</p> </h2>
Note: You have a few stray tags. For example, remove </h2>
. Be sure to validate for details.
After
<p>
The term cruelty-free was first used in this way by Lady Dowding who persuaded manufacturers of fake furs to use the label Beauty Without Cruelty and went on to found the charity Beauty Without Cruelty in 1959.<a href="#three">[3] </a>The term was popularised in the USA in the 1970s by Marcia Pearson who founded the group Fashion With Compassion
</p>
Before
<h4>
<nav>
<div class=back_to_top>
<a href ="#top"> <strong> Back to top ↑</strong> </a> </div></nav>
</h4>
html
. For example, <a href ="#top">
should be <a href="#top">
without the space after href
<div class=back_to_top>
should be <div class="back_to_top">
<nav>
element here, but consider using the <nav>
element for primary navigation onlyAfter
<div class="back_to_top">
<a href="#top"><strong>Back to top ↑</strong></a>
</div>
display: inline;
, display: inline-block;
, or display: block;
float: left;
, float: right;
, or float: none;
@media (min-width: 48em)
Add a meta description and include <link rel="canonical" href="…">
(add url) to cite the original source of content.
Add a description and url to your GitHub repo:
Add comps
folder with included comp for reference.
Style links, <a>
tags, other than the default color (blue).
Single-Serving Wiki To-Dos
20 to-dos, 5 points each; plus 4 extra credit to-dos
Essential
Code
30 points
class
,id
, and file and folder names should not have spaces, instead use a hyphen-
or an underscore_
in place of a space). For example,<section id="more-recipes">
not<section id="More Recipes">
;main.css
notMain.CSS
header
,nav
,section
, etc.) and semantic text-level elements (strong
,em
,time
, etc.) See HTML5 Doctor’s HTML5 Element Indexpadding
,border
, andmargin
for spacing and rule elementslink
elementrel="canonical"
tocite
original source of contenttitle
and metadescription
Design
45 points
woff
/woff2
web fonts and web safe fonts, see CSS font stacks for fallback replacements#9c9c9c
,rgb(153, 153, 153)
,rgba(0, 0, 0, .75)
, etc.). See Color picker toolnav
to navigation to page sections (fragments)#about
,#referemces
, etc.@media
for wide-to-wider screens, desktop and laptop, layoutinline-block
orfloat
based columns for wide-to-widermax-width: 60em;
layoutOptimization
5 points
Export > Save for Web (Legacy)…
feature by exporting images at a width of960px
using theJPEG High Preset
, and then use ImageOptim to save a few more KB. (Ideal file size per non-retina image should be under200 KB
.)Test
10 points
Git
10 points
index.html
css
(folder containing an external style sheet)main.css
orscreen.css
andprint.css
img
(folder containing images)jiffy-cornbread.jpg
versions
(folder [no spaces] containing tests, experiments, work in progress, etc.)recipe-test-1.html
refs
(folder containing images (screen-shots) and/or comps used as style references)style-idea-1.jpg
README.md
; for example https://github.com/mmuench55/quiche-recipeREADME.md
https://username.github.io/repo
→ https://jgagne.github.io/id-sp17-recipe/)Extra Extra
20 points
#useful
or Color Safe#forlateruse
h1
–h6
) See also heading and section rank