"Structuring a page of content" assessment

Hello @sjmcsy

you doing great well done here are my notice :

  1. the nav is part of the header so move it there

  2. for the picture issue you have some option
    a) codepen does not allow you to upload picture to the project for free account so you would need a paid account to do that
    b) you can put the picture on any online service and just use it’s link and it work fine
    c) you can use https://glitch.com/ for free that allow you to upload assests
    d) use github (or any online git service gitlab and so on)but it has learning curve but that where your real project will use in the future

  3. it better to create your own post in the future
    hope that help and have a nice day :slight_smile:

2 Likes

Thank you for the advice and I will continue to learn more. Have fun every day!

2 Likes

you welcome and happy coding :slight_smile:

1 Like
<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>观鸟网</title>
  <link href="https://fonts.googleapis.com/css?family=Long+Cang|Noto+Sans+SC:300" rel="stylesheet">
  <link rel="stylesheet" href="style.css">
  <!--[if lt IE 9]>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
    <![endif]-->
</head>

<body>
  <header>
    <h1>观鸟网</h1>
    <img src="dove.png" alt="一张鸽子剪影图片">
  </header>

  <nav>
    <ul>
      <li><span>主页</span></li>
      <li><a href="#">开始</a></li>
      <li><a href="#">图片</a></li>
      <li><a href="#">设备</a></li>
      <li><a href="#">论坛</a></li>
    </ul>
  </nav>

  <main>
    <section>
      <h2>欢迎</h2>

      <p>欢迎访问观鸟网虚拟站点。如果这是一个真实的网站,那么它就是观鸟爱好者的理想聚集地。无论你是一名期望学习观鸟知识的新手,还是一位希望分享体会、经验和图片的观鸟老手。</p>
      <p>时不我待!赶快带齐装备,关上电脑,去拥抱美丽的大自然吧!</p>
    </section>
    <aside>
      <h2>收藏照片</h2>

      <a href="favorite-1.jpg"><img src="favorite-1_th.jpg" alt="一只体型小巧的鸟,羽毛蓝绿色,爪黑白相间,黑色的喙细且锋利。点击缩略图查看完整照片。"></a>
      <a href="favorite-2.jpg"><img src="favorite-2_th.jpg" alt="一只美丽的孔雀的上半身图片,它的颈上覆盖蓝色的羽毛,有浅色的喙和蓝色的冠。点击缩略图查看完整照片。"></a>
      <a href="favorite-3.jpg"><img src="favorite-3_th.jpg" alt="一只大鸟的上半身图片,羽毛白色,浅色的喙细长而弯曲。点击缩略图查看完整照片。"></a>
      <a href="favorite-4.jpg"><img src="favorite-4_th.jpg"
          alt="一只成年鹈鹕,羽毛大多为白色,背部和腹部有少许黑色羽毛,又长又直的喙呈黄色,喙的下方有一个喉囊可以暂时储存食物。点击缩略图查看完整照片。"></a>
    </aside>
  </main>

  <footer>
    <p>本虚拟站点遵守 CC0 协议,所有内容均可任意修改和复用。原始版本由 Chris Mills 于 2016 年编写。Roy Tian 于 2019 年汉化。</p>
    <p><a href="http://game-icons.net/lorc/originals/dove.html">鸽子图标</a> 由 Lorc 绘制。</p>
  </footer>
</body>

</html>

Hi @Robert_Huang and welcome to the community :wave:

To match the solution picture, the <nav> should be inside the <header>. (In general it’s also fine to have it outside)
Everything else is perfect. :+1:

Cheers,
Michael

Hi, I just finished task 2 “Structuring a page of content”, can’t wait your review and feedback :slight_smile:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Birdwatching</title>
    <link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300%7CCinzel+Decorative:700" rel="stylesheet">
      <link rel="stylesheet" href="style.css" type="text/css">
    <!--[if lt IE 9]>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
    <![endif]-->
  </head>
  <body>
      <header>
          <h1>Birdwatching</h1>
          <img src="dove.png" alt="a simple dove logo">
          <nav>
              <ul>
                  <li><span>Home</span></li>
                  <li><a href="#">Get started</a></li>
                  <li><a href="#">Photos</a></li>
                  <li><a href="#">Gear</a></li>
                  <li><a href="#">Forum</a></li>
              </ul>
          </nav>
      </header>
      <main>
          <article>
              <h2>Welcome</h2>

              <p>Welcome to our fake birdwatching site. If this were a real site, it would be the ideal place to come to learn more about birdwatching, whether you are a beginner looking to learn how to get into birding, or an expert wanting to share ideas, tips, and photos with other like-minded people.</p>

              <p>So don't waste time! Get what you need, then turn off that computer and get out into the great outdoors!</p>
          </article>
          <aside>
              <h2>Favourite photos</h2>

              <a href="favorite-1.jpg"><img src="favorite-1_th.jpg" alt="Small black bird, black claws, long black slender beak, links to larger version of the image"></a>
              <a href="favorite-2.jpg"><img src="favorite-2_th.jpg" alt="Top half of a pretty bird with bright blue plumage on neck, light colored beak, blue headdress, links to larger version of the image"></a>
              <a href="favorite-3.jpg"><img src="favorite-3_th.jpg" alt="Top half of a large bird with white plumage, very long curved narrow light colored break, links to larger version of the image"></a>
              <a href="favorite-4.jpg"><img src="favorite-4_th.jpg" alt="Large bird, mostly white plumage with black plumage on back and rear, long straight white beak, links to larger version of the image"></a>
          </aside>
      </main>
      <footer>
          <p>This fake website example is CC0 — any part of this code may be reused in any way you wish. Original example written by Chris Mills, 2016.</p>
          <p><a href="http://game-icons.net/lorc/originals/dove.html">Dove icon</a> by Lorc.</p>
      </footer>
  </body>
</html>

Hi @Bonzar and welcome to the community :wave:

Congratulations! You correctly structured the whole page. :clap:

By the way, if you plan on doing more tasks it would be helpful if you could share your code in an online editor like https://codepen.io/, https://glitch.com or https://jsfiddle.net/ and create a new topic. (I nearly missed that you also posted in another topic.)
Thank you :blush:

Have a nice day,
Michael

I just finished task 2 and hope to get some feedback!

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>观鸟网</title>
    <link href="https://fonts.googleapis.com/css?family=Long+Cang|Noto+Sans+SC:300" rel="stylesheet">

    <!--[if lt IE 9]>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
    <![endif]-->
    <link rel="stylesheet" href="style.css">
  </head>

  <body>
    <header>
      <h1>观鸟网</h1>
      <img src="dove.png" alt="一张鸽子剪影图片">
    </header>

    <nav>
      <ul>
        <li><span>主页</span></li>
        <li><a href="#">开始</a></li>
        <li><a href="#">图片</a></li>
        <li><a href="#">设备</a></li>
        <li><a href="#">论坛</a></li>
      </ul>
    </nav>
   

    <main>
      <article>
      <h2>欢迎</h2>
    
      <p>欢迎访问观鸟网虚拟站点。如果这是一个真实的网站,那么它就是观鸟爱好者的理想聚集地。无论你是一名期望学习观鸟知识的新手,还是一位希望分享体会、经验和图片的观鸟老手。</p>
      <p>时不我待!赶快带齐装备,关上电脑,去拥抱美丽的大自然吧!</p>
      </article>
    

    <aside>
       
      <h2>收藏照片</h2>
   
      <a href="favorite-1.jpg"><img src="favorite-1_th.jpg" alt="一只体型小巧的鸟,羽毛蓝绿色,爪黑白相间,黑色的喙细且锋利。点击缩略图查看完整照片。"></a>
      <a href="favorite-2.jpg"><img src="favorite-2_th.jpg" alt="一只美丽的孔雀的上半身图片,它的颈上覆盖蓝色的羽毛,有浅色的喙和蓝色的冠。点击缩略图查看完整照片。"></a>
      <a href="favorite-3.jpg"><img src="favorite-3_th.jpg" alt="一只大鸟的上半身图片,羽毛白色,浅色的喙细长而弯曲。点击缩略图查看完整照片。"></a>
      <a href="favorite-4.jpg"><img src="favorite-4_th.jpg" alt="一只成年鹈鹕,羽毛大多为白色,背部和腹部有少许黑色羽毛,又长又直的喙呈黄色,喙的下方有一个喉囊可以暂时储存食物。点击缩略图查看完整照片。"></a>
      
    </aside>

    </main>
    

    <footer>
      <p>本虚拟站点遵守 CC0 协议,所有内容均可任意修改和复用。原始版本由 Chris Mills 于 2016 年编写。Roy Tian 于 2019 年汉化。</p>
      <p><a href="http://game-icons.net/lorc/originals/dove.html">鸽子图标</a> 由 Lorc 绘制。</p>
    </footer>

  </body>
</html>

Well done, @derrieter!

By the task description the <nav> should be inside the <header>, but in general it’s perfectly fine to have the <nav> outside.

The rest looks fine. :+1:

Michael

Hello! Just finished! Please, take a look

Hi again @sandman

Congratulations! I have nothing to complain about. :medal_sports:

Michael

Hi! I finished to sturcturing a page content.

Can you cheek for errors?

I would appriciate to your feedback.

Well done, @Nishurato! :+1:

Everything looks fine.

Have a nice day,
Michael

salut!je souhaite être évaluer sur “structurer une page de contenu”Texte préformaté

<meta charset="utf-8">

<title>Birdwatching</title>

<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300%7CCinzel+Decorative:700" rel="stylesheet">

<!--[if lt IE 9]>

  <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>

<![endif]-->
  <h1>Birdwatching</h1>

  <img src="images/dove.png" alt="a simple dove logo">

  <link rel="stylesheet" href="style.css">

</header>
  <ul>

    <li><span>Home</span></li>

    <li><a href="#">Get started</a></li>

    <li><a href="#">Photos</a></li>

    <li><a href="#">Gear</a></li>

    <li><a href="#">Forum</a></li>

  </ul>

</nav>
  <h2>Welcome</h2>

  <p>Welcome to our fake birdwatching site. If this were a real site, it would be the ideal place to come to learn more about birdwatching, whether you are a beginner looking to learn how to get into birding, or an expert wanting to share ideas, tips, and photos with other like-minded people.</p>

  <p>So don't waste time! Get what you need, then turn off that computer and get out into the great outdoors!</p>

</article>

<aside>

  <h2>Favourite photos</h2>

  <a href="favorite-1.jpg"><img src="images/favorite-1_th.jpg" alt="Small black bird, black claws, long black slender beak, links to larger version of the image"></a>

  <a href="favorite-2.jpg"><img src="images/favorite-2_th.jpg" alt="Top half of a pretty bird with bright blue plumage on neck, light colored beak, blue headdress, links to larger version of the image"></a>

  <a href="favorite-3.jpg"><img src="images/favorite-3_th.jpg" alt="Top half of a large bird with white plumage, very long curved narrow light colored break, links to larger version of the image"></a>

  <a href="favorite-4.jpg"><img src="images/favorite-4_th.jpg" alt="Large bird, mostly white plumage with black plumage on back and rear, long straight white beak, links to larger version of the image"></a>

</aside>
  <p>This fake website example is CC0 — any part of this code may be reused in any way you wish. Original example written by Chris Mills, 2016.</p>

  <p><a href="http://game-icons.net/lorc/originals/dove.html">Dove icon</a> by Lorc.</p>

</footer>

@chrisdavidmills bonjour! je souhaite être évaluer pour “structurer une page de contenu” merci beaucoup Aller au contenu

Rechercher…
Tous les essentiels
Retour à GitHub
@Fenosoaliva
@Fenosoaliva
Fenosoaliva / bapwxyr.markdown
Crééil y a 2 heures
0
Code
Révisions
1

BaPWXYr
bapwxyr.markdown
BaPWXYr
Un stylo par Fenosoaliva sur CodePen .

Licence .

index.html

< html lang =" fr " >
< tête >
< jeu de caractères méta =" utf-8 " >
< title > Observation des oiseaux </ title >
< link href =" https://fonts.googleapis.com/css?family=Roboto+Condensed:300|Cinzel+Decorative:700 " rel =" feuille de style " >

<!--[si lt IE 9]>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->

</ tête >

< corps >
< en-tête >
< h1 > Observation des oiseaux </ h1 >
< img src =" images/dove.png " alt =" un simple logo de colombe " >
< lien rel =" feuille de style " href =" style.css " >
</ en- tête >
< navigation >
< ul >
< li > < span > Accueil </ span > </ li >
< li > < a href =" # " > Démarrer </ a > </ li >
< li > < a href =" # " > Photos </ a > </ li >
< li > < a href =" # " > Équipement </ a > </ li >
< li > < a href =" # " > Forum </ a > </ li >
</ ul >
</ nav >
< principal >
< article >
< h2 > Bienvenue </ h2 >

  < p > Bienvenue sur notre faux site d'observation d'oiseaux. S'il s'agissait d'un vrai site, ce serait l'endroit idéal pour en savoir plus sur l'observation des oiseaux, que vous soyez un débutant cherchant à apprendre à observer les oiseaux ou un expert souhaitant partager des idées, des conseils et des photos avec d'autres comme les gens d'esprit. </ p >

  < p > Alors ne perdez pas de temps ! Obtenez ce dont vous avez besoin, puis éteignez cet ordinateur et sortez au grand air ! </ p >
</ article >
< à part >
  < h2 > Photos favorites </ h2 >

  < a  href =" favorite-1.jpg " > < img  src =" images/favorite-1_th.jpg " alt =" Petit oiseau noir, griffes noires, long bec fin noir, liens vers une version agrandie de l'image " > < / un >
  < a  href =" favorite-2.jpg " > < img  src =" images/favorite-2_th.jpg " alt =" Moitié supérieure d'un joli oiseau au plumage bleu vif sur le cou, bec clair, coiffe bleue, liens vers version agrandie de l'image " > </ a >
  < a  href =" favorite-3.jpg " > < img  src =" images/favorite-3_th.jpg " alt =" Moitié supérieure d'un grand oiseau au plumage blanc, très longue cassure incurvée étroite de couleur claire, liens vers une version agrandie de l'image " > </ a >
  < a  href =" favorite-4.jpg " > < img  src =" images/favorite-4_th.jpg " alt =" Grand oiseau, plumage principalement blanc avec plumage noir sur le dos et l'arrière, long bec blanc droit, liens vers plus gros version de l'image " > </ a >
</ à part >

</ principal >
< pied de page >
< p > Cet exemple de faux site Web est CC0 — n’importe quelle partie de ce code peut être réutilisée comme bon vous semble. Exemple original écrit par Chris Mills, 2016. </ p >

  < p > < a  href =" http://game-icons.net/lorc/originals/dove.html " > Icône Colombe </ a > par Lorc. </ p >
</ pied de page >

</ corps >
</ html >
style.css
/* || Configuration générale */

html , corps {
marge : 0 ;
rembourrage : 0 ;
}

html {
taille de police : 10 px ;
couleur de fond : # a9a9a9 ;
}

corps {
largeur : 70 % ;
largeur min : 800 px ;
marge : 0 auto ;
}

/* || typographie */

h1 , h2 , h3 {
font-family : ‘Cinzel Decorative’ , cursive;
couleur : # 2a2a2a ;
}

p , entrée , li {
font-family: ‘Roboto Condensed’, sans-serif;
color: #2a2a2a;
}

h1 {
font-size: 4rem;
text-align: center;
text-shadow: 2px 2px 10px black;
}

h2 {
font-size: 3rem;
text-align: center;
}

h3 {
font-size: 2.2rem;
}

p, li {
font-size: 1.6rem;
line-height: 1.5;
}

/* || header layout */

header {
margin-bottom: 10px;
display: flex;
flex-flow: row wrap;
}

body > * {
background-color: red;
padding: 1%;
}

main, header, nav, article, aside, footer, section {
background-color: rgba(0,255,0,0.5);
padding: 1%;
}

h1 {
flex: 5;
text-transform: uppercase;
}

header img {
display: block;
height: 60px;
padding-top: 20.15px;
}

nav {
height: 50px;
flex: 100%;
display: flex;
}

nav ul {
padding: 0;
list-style-type: none;
flex: 2;
display: flex;
}

nav li {
display: inline;
text-align: center;
flexible : 1 ;
}

nav a , nav span {
affichage : bloc en ligne ;
taille de police : 2 rem ;
hauteur : 3 rem ;
hauteur de ligne : 1.7 ;
text-transform : majuscule ;
texte-décoration : aucun ;
couleur : noir;

}

/* || mise en page principale */

principal {
affichage : flexible ;
}

article , rubrique {
flex : 4 ;
}

de côté {
flexible : 1 ;
marge-gauche : 10 px ;
rembourrage : 1 % ;
}

de côté un {
affichage : bloc ;
flotteur : gauche ;
largeur : 50 % ;
}

de côté img {
largeur max : 100 % ;
}

pied de page {
marge-haut : 10 px ;
}
@Fenosoaliva

Ajouter du texte d’en-têteAjouter du texte en gras, <Ctrl+b>Ajouter du texte en italique, <Ctrl+i>
Ajoutez une citation, <Ctrl+Maj+.>Ajouter du code, <Ctrl+e>Ajouter un lien, <Ctrl+k>
Ajouter une liste à puces, <Ctrl+Maj+8>Ajouter une liste numérotée, <Ctrl+Maj+7>Ajouter une liste de tâches, <Ctrl+Maj+l>
Mentionner directement un utilisateur ou une équipe

Hi @fenosoaliva_ratovoson

I looked at your first post an as far as I can tell you choose the correct elements for the different areas of the page. :+1:
On thing I spotted is the line <link rel="stylesheet" href="style.css"> inside <header>. This should go into the <head>.

See you,
Michael

bonjour @mikoMK d’accord :+1: merci beaucoup, passez une bonne journée :slightly_smiling_face:

1 Like

Hola.
Enlace al ejercicio Structuring a page of content para su valoración.

Gracias por su tiempo y comentarios.

Hi @Juan_Carlos_Alvarez_Fernandez and welcome to the community :wave:

Congratulations! All of the tags are used correctly.

If you plan on doing more exercises, it would be preferred to start new topics. Sometimes, new messages in these big topics are easy to miss. :slightly_smiling_face:

Have a nice day,
Michael

Gracias! lo tendré en cuenta y comenzaré nuevo tema para las próximas ocasiones.

1 Like