From d2f4b70ea61fd22a8c7ecbe333bd505e9951f3eb Mon Sep 17 00:00:00 2001
From: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Date: Tue, 16 Mar 2021 08:49:43 -0600
Subject: [PATCH] fix: remove end of line chars after code blocks (#41498)
---
.../basic-css/import-a-google-font.md | 7 +++++--
.../add-placeholder-text-to-a-text-field.md | 4 +++-
.../jquery/target-elements-by-id-using-jquery.md | 4 +++-
.../data-structures/create-a-priority-queue-class.md | 8 ++++++--
4 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md
index 0aa2ea1fdc0..a82471bdab7 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md
@@ -19,8 +19,11 @@ To import a Google Font, you can copy the font's URL from the Google Fonts libra
``
-Now you can use the `Lobster` font in your CSS by using `Lobster` as the FAMILY_NAME as in the following example:
-`font-family: FAMILY_NAME, GENERIC_NAME;`.
+Now you can use the `Lobster` font in your CSS by using `Lobster` as the FAMILY_NAME as in the following example:
+
+```css
+font-family: FAMILY_NAME, GENERIC_NAME;
+```
The GENERIC_NAME is optional, and is a fallback font in case the other specified font is not available. This is covered in the next challenge.
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field.md
index 5b150b75897..81539cce213 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field.md
@@ -13,7 +13,9 @@ Placeholder text is what is displayed in your `input` element before your user h
You can create placeholder text like so:
-``
+```html
+
+```
**Note:** Remember that `input` elements are self-closing.
diff --git a/curriculum/challenges/english/03-front-end-libraries/jquery/target-elements-by-id-using-jquery.md b/curriculum/challenges/english/03-front-end-libraries/jquery/target-elements-by-id-using-jquery.md
index 9610abe2134..e63f60b4e5e 100644
--- a/curriculum/challenges/english/03-front-end-libraries/jquery/target-elements-by-id-using-jquery.md
+++ b/curriculum/challenges/english/03-front-end-libraries/jquery/target-elements-by-id-using-jquery.md
@@ -20,7 +20,9 @@ Then use jQuery's `.addClass()` function to add the classes `animated` and `fade
Here's how you'd make the `button` element with the id `target6` fade out:
-`$("#target6").addClass("animated fadeOut")`.
+```js
+$("#target6").addClass("animated fadeOut");
+```
# --hints--
diff --git a/curriculum/challenges/english/10-coding-interview-prep/data-structures/create-a-priority-queue-class.md b/curriculum/challenges/english/10-coding-interview-prep/data-structures/create-a-priority-queue-class.md
index f7f70a8b32c..c381e3940ba 100644
--- a/curriculum/challenges/english/10-coding-interview-prep/data-structures/create-a-priority-queue-class.md
+++ b/curriculum/challenges/english/10-coding-interview-prep/data-structures/create-a-priority-queue-class.md
@@ -12,11 +12,15 @@ In this challenge you will be creating a Priority Queue. A Priority Queue is a s
For instance, let’s imagine we have a priority queue with three items:
-`[['kitten', 2], ['dog', 2], ['rabbit', 2]]`
+```js
+[['kitten', 2], ['dog', 2], ['rabbit', 2]]
+```
Here the second value (an integer) represents item priority. If we enqueue `['human', 1]` with a priority of `1` (assuming lower priorities are given precedence) it would then be the first item to be dequeued. The collection would look like this:
-`[['human', 1], ['kitten', 2], ['dog', 2], ['rabbit', 2]]`.
+```js
+[['human', 1], ['kitten', 2], ['dog', 2], ['rabbit', 2]]
+```
We’ve started writing a `PriorityQueue` in the code editor. You will need to add an `enqueue` method for adding items with a priority, a `dequeue` method for removing and returning items, a `size` method to return the number of items in the queue, a `front` method to return the element at the front of the queue, and finally an `isEmpty` method that will return `true` if the queue is empty or `false` if it is not.