Build a Website Style Guide Challenge Project (HTML, CSS)

Love it. looks great

2 Likes

Nice job Patricia! Looks clean and displays great.

3 Likes

Sharing my design. Code available at, https://github.com/KosmoLoco/webstyles. Preview can be seen at, Webstyles

3 Likes

For some reason my CSS stopped translating to the page when I started the fonts section and I can’t seem to figure out why it won’t work. Can anyone help?

Code is here:

<!Doctypehtml>
<html>
  <!--Heading-->
  <head>
    <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Merriweather:ital@0;1&display=swap" rel="stylesheet">
    <link href="styles.css" rel='stylesheet'>
    <title>Meg's Style Guide</title>
      </head> 
  <!--Body-->
  <body>
    <h1>My Website Style Guide</h1>
    <!--Colors Box-->
      <div class='container'>
        <h2>Colors</h2>
          <div class='color-container'>
        <!--Blue Box-->
            <div class='color-container  cool-blue'>
            <p class='colorname'>Cool Blue</p>
            <p class='color-hex'>#2d5dcc</p>
          </div>
      <!--Pink Box--> 
          <div class="color-container pink">
          <p class="colorname">Light Pink</p>
          <p class="color-hex">#FEC3FB</p> 
          </div>
      <!--Purple Box-->
          <div class="color-container purple">
             <p class="colorname">Purple</p>
              <p class="color-hex">#cc33f2</p> 
          </div>
      <!--Green Box--> 
          <div class="color-container green">
             <p class="colorname">Green</p>
              <p class="color-hex">#05f224</p> 
          </div>
        </div>
  <!--Fonts Box--> 
        <div class="font-container">
          <h2>Fonts</h2>
            <div class="font-panel">
              <p style ="font-label ">Arial</p>
              <p style="regular-merriweather">The Cute Lil Sloth Wore Three Trenchcoats and Pretended to be Human</p>
              <p style="italic-merriweather">The Cute Lil Sloth Wore Three Trenchcoats and Pretended to be Human</p>
            </div>
      </div>
      </div>
  </body>
</html>

And CSS:

.color-container {
  border: 1px solid black;
  display: inline-block;
  text-align: center;
  width: 45%;
  min-height: 20px;
}
.cool-blue{
  background-color: #2d5dcc;
  color: white;
}
.pink{
  background-color: #FEC3FB;
  color: white;
}
.purple{
  background-color: #cc33f2;
  color: white;
}
.green{
  background-color: #05f224;
  color: white;

.text-container{
   border: 1px solid black;
  display: inline-block;
  text-align: center;
  width: 45%;
  min-height: 20px;
}
.font-panel{
  width: 45%;
  display: inline-block;
}
.merriweather{
  font-family: "arial";
}
font-label{
  font-size: 60px;
  text-decoration: underline;
}
1 Like

Style Guide! I added it in to the previous cheat sheet project.

https://zdooge12.github.io/code-cheat-sheet/index.html

2 Likes

Hello colleagues, I just finished my design system. Here you can find the links to my website and its code:
live website
website code

If there is anyone there who can review my code … I would very much appreciate it. Critiques are always welcome.

5 Likes

Hello everyone!
My second Codecademy project is done.
I hope you enjoy and comment .
Thanks

Live Site : Style Guide
Repository: GitHub - Rochadevv/Website-Style-Guide: Codecademy Project

3 Likes

Hi guys,

I hope you are well,

Just completed the Challenge CodeCademy ( Project: Build a Website Design System )

I would be grateful if you could check and review my design.

GitHub code:

CodeCademy Live page:
https://www.codecademy.com/workspaces/630f9d723a5e6d3f6f910a98

Many Thanks

1 Like

https://shussain330.github.io/CssBoxModel1/
here is my website layout for this challenge project

1 Like

Hello,

Here is my “Challenge Project: Build a Website Design System” website: (https://jafranj.github.io/website-design-system-starting/)

Github Repo: GitHub - jafranj/website-design-system-starting

This one was a process! Not thrilled with how mine turned out but it’s a beginning and all part of the learning experience, right?
Here’s the live site if you’d like to take a look and offer any feedback:
https://moonrivervoyager.github.io/StyleGuide/

1 Like

Here is my CSS - at the top I have custom options set up. All work EXCEPT the Font-Sizes.

when I use these in a class for example <p class"fs-900" they do not change the font. Is this not yet supported by codecademy or is this an error in my css?

/* ------------------ /
/
Custom Properties /
/
------------------ */

:root {
/* colors */
–clr-dark: 230 35% 7%;
–clr-light: 231 77% 90%;
–clr-white: 0 0% 100%;

/* font-sizes */
–fs-900: 9.375rem;
–fs-800: 6.25rem;
–fs-700: 3.5rem;
–fs-600: 2rem;
–fs-500: 1.75rem;
–fs-400: 1.125rem:
–fs-300: 1rem:
–fs-200: 0.875rem;

/* font-families */
–ff-serif: “Bellefair”, serif;
–ff-sans-cond: “Barlow Condensed”, sans-serif;
–ff-sans-normal: “Barlow”, sans-serif;
}

/* A Modern CSS Reset - Piccalilli */

/* Box Sizing */
*,
*::before,
*::after {
box-sizing: border-box;
}

/* Reset Margins */

body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
font-weight: 400;
}

/* Set up the Body */
body {
font-family: var(–ff-sans-normal);
font-size: var(–fs-400);
color: hsl( var(–clr-white) );
background-color: hsl( var(–clr-dark) );
line-height: 1.5;
min-height: 100vh;

}

/* Make Images Easier to Work With */
img,
picture {
max-width: 100%;
display: block;
}

/* Make Forms Easier to Work With */
input,
button,
textarea,
select {
font: inherit;
}

/* Remove Animations for People who Have Turned Them Off */

@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}

/* ------------------ /
/
Utility Classes /
/
------------------ */

.flex {
display: flex;
gap: var(–gap, 1rem);
}

.grid {
display: grid;
gap: var(–gap, 1rem);
}

.container {
padding-inline: 2em;
margin-inline: auto;
max-width: 80rem;
}

.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap; /* added line */
border: 0;
}

/* Colors */

.bg-dark { background-color: hsl( var(–clr-dark) ); }
.bg-accent { background-color: hsl( var(–clr-light) ); }
.bg-white { background-color: hsl( var(–clr-white) ); }

.text-dark { color: hsl( var(–clr-dark) ); }
.text-accent { color: hsl( var(–clr-light) ); }
.text-white { color: hsl( var(–clr-white) ); }

/* typography */

.ff-serif { font-family: var(–ff-serif); }
.ff-sans-cond { font-family: var(–ff-sans-cond); }
.ff-sans-normal { font-family: var(–ff-sans-normal); }

.letter-spacing-1 { letter-spacing: 4.75px; }
.letter-spacing-2 { letter-spacing: 2.7px; }
.letter-spacing-3 { letter-spacing: 2.35px; }

.uppercase { text-transform: uppercase;}

.fs-900,
.fs-800,
.fs-700,
.fs-600 {
line-height: 1.1;
}

Here’s my project:

Github: https://github.com/SaraMajeed/SaraMajeed.github.io/tree/main/WebsiteDesignSystem

Live Page: https://saramajeed.github.io/WebsiteDesignSystem/

Would love to hear your thoughts and any feedback!

1 Like

Hello Everyone!

Hope you’re all doing great!

Here are the links to my project:

Github: Adonx’s Web Design Website
Live: Adonx’s Web Design Website Live

Any feedback or suggestion would be gladly appreciated.

1 Like

So good! Very nice.
One tiny detail I noticed and maybe I’m wrong but is “text styles” in a slightly bigger/different font than the rest of the headings? Looks like it

This took me a little longer than I had hoped but i got the job done and I’m quite proud of myself.

Github:GitHub - Jay-Levi/design-system.github.io: A repository for the CodeCademy design system project

Live: Website Style Guide

I plan on adding media queries once I start learning about it a bit more but this is it for now. If anyone has any advice I would be happy to hear from you :smiley: thanks!

1 Like

this is my take on it. any feedback is appreciated.

https://ozzycf.github.io/Codecademy-training/

1 Like

Very neat and easy to understand! Great work :slight_smile:

1 Like

I think is a great project. Well done, Bogdan! If you would like to review more of your codes, I am open to do it. I am also from Romania. Have a nice day!

Hello! Here is my second project. I am open to hear your opinion about my project. Have a nice and productive day, coders!
Code: GitHub - Katherine2816/websitedesignsystem.github.io
Live: Website Design System

1 Like