Here is my solution of the challenge to build your own cheat sheet. It may not be perfect but I’m still learning and improving and open to suggestions on ways to improve my work.
I decided to make a cheatsheet for box positioning because it’s the most confusing for me. Here is my site: CSS Box Positioning Reference.
Here is my github repository: the code.
I made my color theme from a picture of toffee pudding on some cake using imagecolorpicker.
I liked your table! Here are a couple things that I appreciated:
Rounded edges on the table, I think it helped the table blend into the page better.
White and gray shaded rows, I think it made the table prettier.
I didn’t see anything in your code that could be improved, I actually learned a few new things looking at it. I guess the only thing I would suggest improving is the content. Maybe add a table to show some CSS tips to make the table look like yours.
I’ve never really posted to forums before so I don’t know if this is the right way to reply. I’ve been rather quiet in the Codecademy community tbh. I’m a little shy about my work.
Here is my version of the Build Your Own Cheatsheet Challenge project. I decided to fiddle with the colour scheme because it told me I could make it different and I prefer cyan over purple. I know the original colors though if it needs to be changed. I also chose to go with a flexible table width rather than a specific width.
Found a CSS reset template and made a small css display cheat sheet! take a look at it
<!DOCTYPE html>
<html>
<head>
<title>CSS Cheat Sheet</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=New+Amsterdam&display=swap" rel="stylesheet">
</head>
<body>
<header><h1>CSS Display models</h1></header>
<div class="intro">
<h2>Just a quick reminder of how each of the following display values mean</h2>
</div>
<table>
<tr class="col_headers">
<th scope="col">Inline</th>
<th scope="col">Block</th>
<th scope="col">Inline-Block</th>
</tr>
<tr>
<td>Elements displayed Inline, will have the size of their contents and cannot
be specified. Inline elements do not force a new line to be placed and are
placed next to other inline elements
</td>
<td>
Block elements take a whole row to be placed and can be specified dimensions.
</td>
<td>
Inline-Block elements do not force a new row to be placed but can be specified
dimensions.
</td>
</tr>
</table>
</body>
</html>