diff --git a/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672aa80bc17f355fabd2e9e8.md b/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672aa80bc17f355fabd2e9e8.md
index 9dee9b226ff..e636a6e02d5 100644
--- a/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672aa80bc17f355fabd2e9e8.md
+++ b/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672aa80bc17f355fabd2e9e8.md
@@ -11,9 +11,17 @@ Typography is the art of choosing the right fonts and format to make text visual
We'll start by talking about typefaces and fonts. A typeface is the overall design and style of a set of characters, numbers, and symbols. It's like a blueprint for a family of fonts. A font is a specific variation of a typeface with specific characteristics, such as size, weight, style, and width.
-Two very important examples of typefaces are Serif and Sans Serif. The Serif typeface has a classical style with small lines at the end of characters. Serif typefaces are commonly used for printed materials, like books. Some examples are Times New Roman, Georgia, and Garamond.
+Two very important examples of typefaces are Serif and Sans Serif. The Serif typeface has a classical style with small lines at the end of characters. Serif typefaces are commonly used for printed materials, like books.
-In contrast, the Sans Serif typeface has a more modern look, without the small lines at the end of characters. Sans Serif typefaces are commonly used in digital design because they are easy to read on screen. Some examples include Helvetica, Arial, and Roboto. There are other typeface classifications, like Script, Blackletter, Monospaced, and Decorative.
+
+
+Some examples are Times New Roman, Georgia, and Garamond.
+
+In contrast, the Sans Serif typeface has a more modern look, without the small lines at the end of characters. Sans Serif typefaces are commonly used in digital design because they are easy to read on screen. Some examples include Helvetica, Arial, and Roboto.
+
+
+
+There are other typeface classifications, like Script, Blackletter, Monospaced, and Decorative.
We mentioned that typefaces are like blueprints for fonts, right? Well, fonts can also be grouped if they share a similar design. Different weights and styles can be combined. For example, Times New Roman includes variations like Times New Roman Bold, Times New Roman Italic, and Times New Roman Bold Italic. These variations within the same font family typically include:
@@ -23,15 +31,41 @@ We mentioned that typefaces are like blueprints for fonts, right? Well, fonts ca
Great. Now let's explore the fundamental elements of typography:
-- The baseline is the imaginary line on which most characters rest.
-- The cap height is the height of uppercase letters, measured from the baseline to the top.
-- The x-height is the average height of lowercase letters, excluding ascenders and descenders.
-- Ascenders are the parts of lowercase letters that extend above the x-height, such as the tops of the letters `h`, `b`, `d`, and `f`.
-- Descenders are the parts of lowercase letters that extend below the baseline, such as the tails of `y`, `g`, `p`, and `q`.
+
+
+The baseline is the imaginary line on which most characters rest.
+
+
+
+The cap height is the height of uppercase letters, measured from the baseline to the top.
+
+
+
+The x-height is the average height of lowercase letters, excluding ascenders and descenders.
+
+
+
+Ascenders are the parts of lowercase letters that extend above the x-height, such as the tops of the letters `h`, `b`, `d`, and `f`.
+
+
+
+Descenders are the parts of lowercase letters that extend below the baseline, such as the tails of `y`, `g`, `p`, and `q`.
There are more advanced concepts too, like kerning, tracking, and leading.
-Kerning is how space is adjusted between specific pairs of characters to improve their readability and aesthetics. For example, reducing the space between the letters `A` and `V`. Tracking is how space is adjusted between all characters in a block of text. It's essentially the distance between the characters. It affects how dense and open the text will be. Leading is the vertical space between lines of text. It's measured from the baseline of one line to the baseline of the next line.
+
+
+Kerning is how space is adjusted between specific pairs of characters to improve their readability and aesthetics. For example, reducing the space between the letters `A` and `V`.
+
+
+
+
+
+Tracking is how space is adjusted between all characters in a block of text. It's essentially the distance between the characters. It affects how dense and open the text will be.
+
+
+
+Leading is the vertical space between lines of text. It's measured from the baseline of one line to the baseline of the next line.
Being familiar with these concepts is essential for choosing the right font for your project.
diff --git a/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd807c49548fc9be66aca.md b/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd807c49548fc9be66aca.md
index 4797c3a0ebd..b8a2c254ae9 100644
--- a/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd807c49548fc9be66aca.md
+++ b/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd807c49548fc9be66aca.md
@@ -13,15 +13,33 @@ Let's start with readability. You should choose clear and simple fonts to make y
Text should also be large enough for everyone to read it. You should try to keep lines relatively short. The specific number of characters per line really depends on your project. But keeping lines short will make the content easier to read.
-You can use font size to create a visual hierarchy for headings, subheadings, paragraphs, and other elements. For example, the main heading on a webpage should have a larger font, followed by subheadings with smaller font sizes. This will give every element in the hierarchy a specific font size that helps users navigate through the structure visually.
+
+
+You can use font size to create a visual hierarchy for headings, subheadings, paragraphs, and other elements.
+
+
+
+For example, the main heading on a webpage should have a larger font, followed by subheadings with smaller font sizes. This will give every element in the hierarchy a specific font size that helps users navigate through the structure visually.
You should use two or three fonts at most to create a visual consistency. Using too many fonts can make the text more difficult to read and weaken your branding's identity. This can also impact the user experience by increasing the load time of the website.
-Once you choose these two or three fonts, use them consistently across different pages and elements. These fonts should be consistent with the overall design of your web application, product, or service. You should also use whitespace to create a visual balance and enhance readability.
+
+
+Once you choose these two or three fonts, use them consistently across different pages and elements. These fonts should be consistent with the overall design of your web application, product, or service.
+
+
+
+You should also use whitespace to create a visual balance and enhance readability.
+
+
For accessibility purposes, you should follow the Web Content Accessibility Guidelines. These guidelines set the recommended contrast ratio for text. A higher contrast ratio makes text easier to read, especially for people with visual disabilities.
-You should also provide options to adjust font size and avoid complex fonts as much as possible. As a general rule, you should use simple fonts whenever possible. If your content is easy to read, users are more likely to engage with it. A final tip for working with typography is making sure that your fonts are displayed correctly on different screen sizes and devices.
+You should also provide options to adjust font size and avoid complex fonts as much as possible. As a general rule, you should use simple fonts whenever possible. If your content is easy to read, users are more likely to engage with it.
+
+
+
+A final tip for working with typography is making sure that your fonts are displayed correctly on different screen sizes and devices.
Typography is a powerful tool for creating beautiful designs and engaging user experiences. By understanding the fundamentals of typography and applying these best practices, you can create effective designs.
diff --git a/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd814105a0ffcf36f9233.md b/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd814105a0ffcf36f9233.md
index 7f4f31eb61d..121cf8dddd9 100644
--- a/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd814105a0ffcf36f9233.md
+++ b/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd814105a0ffcf36f9233.md
@@ -9,6 +9,8 @@ dashedName: what-are-font-families
A font family is a group of fonts that share a common design. All the fonts that belong to the same family are based on the same core typeface, but they also have variations in their style, weight, and width. You can think of them as siblings who share similar characteristics but also have some differences. For example, Arial is a font family that includes variations like Arial Bold and Arial Italic.
+
+
In CSS, you can set the font family with the `font-family` property. Here is an example of setting the font for the paragraph to `Arial`:
:::interactive_editor
diff --git a/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd81ee07c43fd2070f0fe.md b/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd81ee07c43fd2070f0fe.md
index e5a8c69c6a9..6708baf0d33 100644
--- a/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd81ee07c43fd2070f0fe.md
+++ b/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd81ee07c43fd2070f0fe.md
@@ -15,14 +15,27 @@ However, the fallback font selected by the browser may look very different from
Let's check out some examples of web-safe fonts. In a previous lesson, you learned that sans-serif fonts are commonly used for web development because they don't have small "feet" or lines at the end of the characters, so they're easy to read on screen. Some examples of web-safe sans-serif fonts are:
-- Arial
-- Verdana
-- Trebuchet MS
+Arial
+
+
+
+Verdana
+
+
+
+Trebuchet MS
+
+
In contrast, serif fonts do have small "feet" at the end of the characters, so they're commonly used for traditional print. But if you ever need to use them for web development purposes, web-safe serif fonts include:
-- Times New Roman
-- Georgia
+Times New Roman
+
+
+
+Georgia
+
+
By using web-safe fonts, you can make sure that your design looks consistent across devices and platforms. They can also enhance accessibility for users with visual disabilities, since they are simple and easy to read. And finally, web-safe fonts can reduce page load time, since they don't have to be downloaded if they're already installed.
diff --git a/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd8453d1371fdb1510fe5.md b/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd8453d1371fdb1510fe5.md
index 85809b0c159..9f60681c33a 100644
--- a/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd8453d1371fdb1510fe5.md
+++ b/curriculum/challenges/english/blocks/lecture-working-with-css-fonts/672bd8453d1371fdb1510fe5.md
@@ -18,15 +18,25 @@ Let's start with Google Fonts. This is a Google service that offers a collection
- A section where you can find and download icons for your web projects.
- A section where you can learn more about fonts and their best practices, followed by frequently asked questions.
-To add a Google Font to your website, you should go to the first section (Fonts). You can customize the preview text on the left sidebar, where it says "Preview." Just write the text that you would like to see and it will be updated automatically. This is helpful to preview the font with the text that you already have in mind for your website. You can also adjust the font size and filter the fonts based on their characteristics.
+To add a Google Font to your website, you should go to the first section (Fonts). You can customize the preview text on the left sidebar, where it says "Preview." Just write the text that you would like to see and it will be updated automatically. This is helpful to preview the font with the text that you already have in mind for your website. You can also adjust the font size and filter the fonts based on their characteristics.
+
+
To see more information about a font, just click on it and you will see important information about the font, like who designed it, preview text, and different styles, like light, regular, medium, bold, and black. If you click on the options at the top, you can go to the type tester, see individual glyphs, and learn more about the font and its license.
-You can customize the font size of the preview text with the blue slider located next to the field where you can enter the preview text. Once you're ready to add the font to your project, click on the blue "Get font" button at the top. You'll be taken to a summary page where you'll see the fonts that you currently have selected. You can have multiple fonts selected simultaneously.
+You can customize the font size of the preview text with the blue slider located next to the field where you can enter the preview text.
+
+
+
+Once you're ready to add the font to your project, click on the blue "Get font" button at the top. You'll be taken to a summary page where you'll see the fonts that you currently have selected. You can have multiple fonts selected simultaneously.
+
+
Next, you have to choose if you would like to download the font files to add them to your project as local files or if you would like to use them as external fonts and download them from Google's servers when a user enters your website. Click on "Download all" if you want to download them but if you prefer to use them as external fonts on Google's servers, click on "Get embed code." If you click on "Get embed code," you'll see the instructions that you should follow to add these external fonts to your project.
-For web development projects, you have two options. You can either use a `link` element or `@import`. If you choose the `link` element option, you can copy and paste the HTML snippet and the CSS rules to add them to your project. You should embed the code in the `head` element of your HTML file and add the CSS rules that fit your needs.
+For web development projects, you have two options. You can either use a `link` element or `@import`. If you choose the `link` element option, you can copy and paste the HTML snippet and the CSS rules to add them to your project. You should embed the code in the `head` element of your HTML file and add the CSS rules that fit your needs.
+
+
Here is an example of using all Roboto styles:
@@ -131,7 +141,11 @@ Here is an example of using all Roboto styles:
There's a CSS rule for each font style. Each rule assigns the custom fonts with fallback fonts in case the custom fonts are not loaded properly.
-If you choose the `@import` option instead, you will need to add that rule to your CSS file. Here is an example:
+If you choose the `@import` option instead, you will need to add that rule to your CSS file.
+
+
+
+Here is an example:
```css
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@@ -139,18 +153,42 @@ If you choose the `@import` option instead, you will need to add that rule to yo
The CSS rules are exactly the same.
-If you only want to include specific font styles, you also have the option to remove them from these snippets. The HTML and CSS snippets will be updated automatically.
+If you only want to include specific font styles, you also have the option to remove them from these snippets. The HTML and CSS snippets will be updated automatically.
+
+
And this is Google Fonts. It's one of the most popular options for finding free and open source fonts for web development projects.
-Another great option is Font Squirrel, where you can find and download the custom fonts that you envision for your design. If you search for a font and click on a result, you'll see more details about the font, including specimens, test drive, glyphs, and Webfont kit. You can also see samples of the different styles and variations of the font, like thin, light, medium, bold, and black.
+Another great option is Font Squirrel, where you can find and download the custom fonts that you envision for your design.
+
+
+
+If you search for a font and click on a result, you'll see more details about the font, including specimens, test drive, glyphs, and Webfont kit.
+
+
+
+
+
+You can also see samples of the different styles and variations of the font, like thin, light, medium, bold, and black.
+
+
Once you've decided on a font that you want to use in your project, go to the "Webfont Kit" tab. Here, you can check if the font's license allows you to use it in `@font-face` CSS embeddings. You can also choose the subset and format.
-Clicking on the "Download @font-face Kit" button will download a compressed (zip) file. If you unzip it, you'll find a "web fonts" folder, the license as a text file, and an HTML file with instructions on how to use web fonts. The web fonts folder will have all the font files that you need for your project. You will find them grouped into specific folders for the different fonts styles.
+
+
+Clicking on the "Download @font-face Kit" button will download a compressed (zip) file. If you unzip it, you'll find a "web fonts" folder, the license as a text file, and an HTML file with instructions on how to use web fonts.
+
+
+
+The web fonts folder will have all the font files that you need for your project. You will find them grouped into specific folders for the different fonts styles.
+
+
If you open the HTML file on a browser, it has instructions on how to add the fonts to your project, how to include them in the stylesheet with the `@font-face` declaration, and how to use them in the CSS rules.
+
+
This is how you can add custom Font Squirrel fonts to your project. You can also host them on a separate server and use them as external fonts. External fonts are very helpful for customizing the overall look and design of your website. They can make your website truly unique.
However, you should also keep in mind that using multiple external fonts can increase the load time of the website, affecting its overall performance. You should always strive to find a balance between style and efficiency.