Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling corrected for 'aquired' #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 03_14/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ const everydayPack = new Backpack(

console.log("The everydayPack object:", everydayPack);
console.log("The pocketNum value:", everydayPack.pocketNum);
console.log("Days since aquired:", everydayPack.backpackAge());
console.log("Days since acquired:", everydayPack.backpackAge());
2 changes: 1 addition & 1 deletion 03_15/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const everydayPack = new Backpack(

console.log("The everydayPack object:", everydayPack);
console.log("The pocketNum value:", everydayPack.pocketNum);
console.log("Days since aquired:", everydayPack.backpackAge());
console.log("Days since acquired:", everydayPack.backpackAge());

// Book param order: title, author, ISBN, pubYear, pageNumber, currentPage, readStatus
const surveillanceCapitalism = new Book(
Expand Down
2 changes: 1 addition & 1 deletion 04_01/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ const everydayPack = new Backpack(

console.log("The everydayPack object:", everydayPack);
console.log("The pocketNum value:", everydayPack.pocketNum);
console.log("Days since aquired:", everydayPack.backpackAge());
console.log("Days since acquired:", everydayPack.backpackAge());
2 changes: 1 addition & 1 deletion 04_02/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ document.body.innerHTML = content;

console.log("The everydayPack object:", everydayPack);
console.log("The pocketNum value:", everydayPack.pocketNum);
console.log("Days since aquired:", everydayPack.backpackAge());
console.log("Days since acquired:", everydayPack.backpackAge());
2 changes: 1 addition & 1 deletion 04_02e/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ document.body.innerHTML = content;

console.log("The everydayPack object:", everydayPack);
console.log("The pocketNum value:", everydayPack.pocketNum);
console.log("Days since aquired:", everydayPack.backpackAge());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're looking to correct the spelling of the word "acquired" in a piece of code or text, here's a simple example:

HTML Example

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Spelling Correction Example</title>
</head>
<body>
  <p id="text-content">The skills were aquired over time.</p>

  <script>
    // Correcting the spelling using JavaScript
    const textElement = document.getElementById('text-content');
    textElement.textContent = textElement.textContent.replace('aquired', 'acquired');
  </script>
</body>
</html>

Explanation:

  1. Original Text:

    • The original text in the <p> element contains the misspelled word "aquired".
  2. JavaScript Correction:

    • The JavaScript code selects the paragraph element with the id text-content and replaces the incorrect word "aquired" with the correct spelling "acquired" using the replace method.

You can apply similar corrections in other contexts, such as in code comments, documentation, or any text-based content.

console.log("Days since acquired:", everydayPack.backpackAge());