HTML Diff
0 added 0 removed
Original 2026-01-01
Modified 2026-03-09
1 <p>In the current assignment we will assign styles to the &lt;pre&gt; block with the child element &lt;code&gt;. You will only need to uncomment the blocks with code in these assignments. But let’s take a closer look at what exactly we are uncommenting.</p>
1 <p>In the current assignment we will assign styles to the &lt;pre&gt; block with the child element &lt;code&gt;. You will only need to uncomment the blocks with code in these assignments. But let’s take a closer look at what exactly we are uncommenting.</p>
2 <p>Let’s look at the first assignment.</p>
2 <p>Let’s look at the first assignment.</p>
3 <p>The first rule for pre and code that we are uncommenting is responsible for assigning the text color (color) and background color (background-color). We found out about these properties in <a>one of the previous assignments</a>.</p>
3 <p>The first rule for pre and code that we are uncommenting is responsible for assigning the text color (color) and background color (background-color). We found out about these properties in <a>one of the previous assignments</a>.</p>
4 <p>Next we will cover the border and border-radius properties. We have already tried working with these properties a little, so you already know them.</p>
4 <p>Next we will cover the border and border-radius properties. We have already tried working with these properties a little, so you already know them.</p>
5 <p>The only other property in the first uncommented rule is font-family. Do you recall that we talked about monospace fonts in the<a>assignment</a>about font-family? We have used this font family here. A monospaced font is one in which all characters occupy the same amount of space. This was the type of font that was once used in typewriters, but now it is popular in code editors. Even right now you are entering text in a monospace font in the code editor that you are using to complete the assignment.</p>
5 <p>The only other property in the first uncommented rule is font-family. Do you recall that we talked about monospace fonts in the<a>assignment</a>about font-family? We have used this font family here. A monospaced font is one in which all characters occupy the same amount of space. This was the type of font that was once used in typewriters, but now it is popular in code editors. Even right now you are entering text in a monospace font in the code editor that you are using to complete the assignment.</p>
6 <p>OK, let’s continue. The following are separate rules for pre and code, which are used to set the padding.<a>You are also already familiar</a>with them.</p>
6 <p>OK, let’s continue. The following are separate rules for pre and code, which are used to set the padding.<a>You are also already familiar</a>with them.</p>
7 <p>Proceed to the second assignment.</p>
7 <p>Proceed to the second assignment.</p>
8 <p>As you will see after completing the first assignment, “extra” properties were applied to the &lt;code&gt; block inside &lt;pre&gt;. Let’s redefine them<a>according to a cascade</a>.</p>
8 <p>As you will see after completing the first assignment, “extra” properties were applied to the &lt;code&gt; block inside &lt;pre&gt;. Let’s redefine them<a>according to a cascade</a>.</p>