Skip to content

Commit 37ecdaf

Browse files
author
Sam Vitare
committed
removed article 'the' and made the 'notes' class italics to keep consistency with previous para 'container' class
1 parent 6ed6293 commit 37ecdaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/0/en/part0b.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ The file defines two [class selectors](https://developer.mozilla.org/en-US/docs/
381381
382382
A class selector definition always starts with a period and contains the name of the class.
383383
384-
The classes are [attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class), which can be added to HTML elements.
384+
Classes are [attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class), which can be added to HTML elements.
385385
386386
CSS attributes can be examined on the <i>elements</i> tab of the console:
387387
@@ -391,7 +391,7 @@ The outermost <i>div</i> element has the class <i>container</i>. The <i>ul</i> e
391391
392392
The CSS rule defines that elements with the <i>container</i> class will be outlined with a one-pixel wide [border](https://developer.mozilla.org/en-US/docs/Web/CSS/border). It also sets 10-pixel [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding) on the element. This adds some empty space between the element's content and the border.
393393
394-
The second CSS rule sets the text color of the notes as blue.
394+
The second CSS rule sets the text color of the <i>notes</i> class as blue.
395395
396396
HTML elements can also have other attributes apart from classes. The <i>div</i> element containing the notes has an [id](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) attribute. JavaScript code uses the id to find the element.
397397

0 commit comments

Comments
 (0)