Skip to content

Commit e418285

Browse files
committed
More problem fixes
1 parent ad0620d commit e418285

39 files changed

Lines changed: 85 additions & 94 deletions

File tree

files/en-us/games/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ For a list of web game examples, see our list of [Tutorials](/en-US/docs/Games/T
3030
- : An online book, written by Bob Nystrom, which discusses programming patterns in the context of game development with the aim of helping game developers produce more effective and efficient code.
3131
- [Gamedev.js Weekly](https://gamedevjsweekly.com/)
3232
- : Weekly newsletter about HTML game development, sent every Friday. Contains the latest articles, tutorials, tools, and resources.
33-
- [HTML5 Game Engine](https://html5gameengine.com/)
34-
- : List of the most popular HTML game frameworks along with their rating, features and samples.
3533
- [Tuts+ Game Development](https://code.tutsplus.com/c/game-development)
3634
- : Tutorials and articles about game development in general.
3735
- [HTML5 Gamedev Starter](https://html5devstarter.enclavegames.com/)

files/en-us/glossary/microsoft_internet_explorer/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Microsoft ended support for IE on June 15, 2022.
1818
- [Internet Explorer](https://en.wikipedia.org/wiki/Internet_Explorer) on Wikipedia
1919
- [History of Internet Explorer](https://en.wikipedia.org/wiki/History_of_Internet_Explorer) on Wikipedia
2020
- [Internet Explorer version history](https://en.wikipedia.org/wiki/Internet_Explorer_versions) on Wikipedia
21-
- [IE11 end of support countdown](https://death-to-ie11.com/)
2221
- Related glossary terms:
2322
- {{glossary("Browser")}}
2423
- {{glossary("Trident")}} (IE's rendering engine)

files/en-us/glossary/node.js/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ Packages hosted on npm are downloaded from the registry at [https://registry.npm
1818
- [Node.js](https://en.wikipedia.org/wiki/Node.js) on Wikipedia
1919
- [Node.js website](https://nodejs.org/)
2020
- [API reference documentation](https://nodejs.org/api/)
21-
- [Guides](https://nodejs.org/en/learn/getting-started/introduction-to-nodejs)
21+
- [Guides](https://nodejs.org/learn/getting-started/introduction-to-nodejs)
2222
- [npm Documentation](https://docs.npmjs.com/)

files/en-us/learn_web_development/core/accessibility/what_is_accessibility/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ To summarize:
144144
There are numerous checklists and sets of guidelines available for basing accessibility tests on, which might seem overwhelming at first glance. Our advice is to familiarize yourself with the basic areas in which you need to take care, as well as understanding the high-level structures of the guidelines that are most relevant to you.
145145

146146
- For a start, the W3C has published a large and very detailed document that includes very precise, technology-agnostic criteria for accessibility conformance. These are called the [Web Content Accessibility Guidelines](https://www.w3.org/WAI/standards-guidelines/wcag/) (WCAG), and they are not a short read by any means. The criteria are split up into four main categories, which specify how implementations can be made perceivable, operable, understandable, and robust. The best place to get a light introduction and start learning is [WCAG at a Glance](https://www.w3.org/WAI/standards-guidelines/wcag/glance/). There is no need to learn all of the WCAG criteria — be aware of the major areas of concern, and use a variety of techniques and tools to highlight any areas that don't conform to the WCAG criteria (see below for more).
147-
- Your country may also have specific legislation governing the need for websites serving their population to be accessible — for example [EN 301 549](https://www.etsi.org/deliver/etsi_en/301500_301599/301549/02.01.02_60/en_301549v020102p.pdf) in the EU, [Section 508 of the Rehabilitation Act](https://www.section508.gov/training/) in the US, [Federal Ordinance on Barrier-Free Information Technology](https://www.aktion-mensch.de/inklusion/barrierefreiheit/barrierefreie-website) in Germany, the [Accessibility Regulations 2018](https://www.legislation.gov.uk/uksi/2018/952/introduction/made) in the UK, [Accessibilità](https://www.agid.gov.it/it/ambiti-intervento/accessibilita-usabilita) in Italy, the [Disability Discrimination Act](https://humanrights.gov.au/resource-hub/resources-for-organisations-businesses/disability-resources-employers/guidelines-equal-access-digital-goods-and-services) in Australia, etc. The W3C keeps a list of [Web Accessibility Laws & Policies](https://www.w3.org/WAI/policies/) by country.
147+
- Your country may also have specific legislation governing the need for websites serving their population to be accessible — for example [EN 301 549](https://www.etsi.org/deliver/etsi_en/301500_301599/301549/02.01.02_60/en_301549v020102p.pdf) in the EU, [Section 508 of the Rehabilitation Act](https://www.section508.gov/training/) in the US, [Federal Ordinance on Barrier-Free Information Technology](https://www.aktion-mensch.de/inklusion/barrierefreiheit/barrierefreie-website) in Germany, the [Accessibility Regulations 2018](https://www.legislation.gov.uk/uksi/2018/952/introduction/made) in the UK, [Accessibilità](https://www.agid.gov.it/it/ambiti-intervento/accessibilita-usabilita) in Italy, the [Disability Discrimination Act](https://humanrights.gov.au/resource-hub/by-resource-type/guidelines-and-standards/guides-and-standards-disability-rights/guidelines-equal-access-digital-goods-and-services) in Australia, etc. The W3C keeps a list of [Web Accessibility Laws & Policies](https://www.w3.org/WAI/policies/) by country.
148148

149149
So while the WCAG is a set of guidelines, your country will probably have laws governing web accessibility, or at least the accessibility of services available to the public (which could include websites, television, physical spaces, etc.) It is a good idea to find out what your laws are. If you make no effort to check that your content is accessible, you could be legally liable if people complain.
150150

files/en-us/learn_web_development/extensions/forms/customizable_select/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ We start our CSS by styling the `<optgroup>` elements themselves. These are most
437437
}
438438

439439
html {
440-
font-family: Arial, Helvetica, sans-serif;
440+
font-family: "Arial", sans-serif;
441441
}
442442

443443
select,
@@ -447,8 +447,8 @@ select,
447447
}
448448

449449
select {
450-
border: 2px solid #ddd;
451-
background: #eee;
450+
border: 2px solid #dddddd;
451+
background: #eeeeee;
452452
padding: 10px;
453453
}
454454

@@ -459,9 +459,9 @@ select {
459459

460460
```css live-sample___optgroup-example
461461
optgroup {
462-
border: 2px solid #ddd;
462+
border: 2px solid #dddddd;
463463
border-radius: 8px;
464-
background: #eee;
464+
background: #eeeeee;
465465
padding: 10px 0 0 0;
466466
margin-top: 5px;
467467
}
@@ -480,7 +480,7 @@ Finally, we style the `<option>` elements, providing a {{cssxref("background")}}
480480

481481
```css live-sample___optgroup-example
482482
option {
483-
background: #eee;
483+
background: #eeeeee;
484484
padding: 10px;
485485
}
486486

@@ -489,7 +489,7 @@ option:last-of-type {
489489
}
490490

491491
option:nth-of-type(odd) {
492-
background: #fff;
492+
background: white;
493493
}
494494

495495
option:hover,

files/en-us/learn_web_development/extensions/forms/customizable_select_listboxes/index.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ We begin our styling by opting the `<select>` into custom styling with an {{cssx
9898
}
9999

100100
html {
101-
font-family: Arial, Helvetica, sans-serif;
101+
font-family: "Arial", sans-serif;
102102
}
103103
```
104104

@@ -114,22 +114,22 @@ Our basic styles look like this:
114114

115115
```css live-sample___basic-listbox live-sample___expanding-listbox live-sample___horizontal-listbox
116116
select {
117-
border: 2px solid #ddd;
117+
border: 2px solid #dddddd;
118118
border-radius: 8px;
119-
background: #eee;
119+
background: #eeeeee;
120120
width: 200px;
121121
height: 130px;
122122
}
123123

124124
option {
125-
background: #eee;
125+
background: #eeeeee;
126126
padding: 10px;
127127
height: 40px;
128128
outline: none;
129129
}
130130

131131
option:nth-of-type(odd) {
132-
background: #fff;
132+
background: white;
133133
}
134134
```
135135

@@ -306,7 +306,7 @@ We start our CSS by opting the `<select>` element into custom styling, as before
306306
}
307307

308308
html {
309-
font-family: Arial, Helvetica, sans-serif;
309+
font-family: "Arial", sans-serif;
310310
}
311311
```
312312

@@ -320,9 +320,9 @@ Most of the styling is fairly rudimentary, but we'll run through it, pointing ou
320320

321321
```css live-sample___complex-listbox
322322
.wrapper {
323-
border: 2px solid #ddd;
323+
border: 2px solid #dddddd;
324324
border-radius: 8px;
325-
background: #ddd;
325+
background: #dddddd;
326326
width: 250px;
327327
}
328328
```
@@ -334,21 +334,21 @@ Next, we style the filter `<input>`, the `.options` `<div>` and the contained `<
334334
display: block;
335335
padding: 5px;
336336
border-radius: 5px;
337-
border: 1px solid #bbb;
337+
border: 1px solid #bbbbbb;
338338
width: 95%;
339339
margin: 8px auto;
340340
}
341341

342342
.options {
343343
padding: 0 5px;
344-
background: #ddd;
344+
background: #dddddd;
345345
}
346346

347347
select {
348348
height: 200px;
349349
overflow-y: scroll;
350350
width: 100%;
351-
border: 1px solid #bbb;
351+
border: 1px solid #bbbbbb;
352352
}
353353

354354
.edit {
@@ -363,12 +363,12 @@ We style our `<option>` elements in a similar manner to earlier examples, giving
363363

364364
```css live-sample___complex-listbox
365365
option {
366-
background: #eee;
366+
background: #eeeeee;
367367
padding: 10px;
368368
}
369369

370370
option:nth-of-type(odd) {
371-
background: #fff;
371+
background: white;
372372
}
373373

374374
option:checked {
@@ -392,17 +392,17 @@ a {
392392

393393
input:hover,
394394
input:focus {
395-
border: 1px solid #999;
396-
background: #eef;
395+
border: 1px solid #999999;
396+
background: #eeeeff;
397397
}
398398

399399
.edit a {
400-
color: #333;
400+
color: #333333;
401401
}
402402

403403
a:hover,
404404
a:focus {
405-
outline: 2px dotted #666;
405+
outline: 2px dotted #666666;
406406
}
407407
```
408408

files/en-us/learn_web_development/howto/tools_and_setup/how_much_does_it_cost/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ You can use any of them, as they will have similar functionality, though some ar
6363

6464
If you want to include video or audio into your website, you can either embed online services (for example YouTube, Vimeo, or Dailymotion), or include your own videos (see below for bandwidth costs).
6565

66-
For audio files, you can find free software ([Audacity](https://www.audacityteam.org/), [Wavosaur](https://www.wavosaur.com/)), or paying up to a few hundred dollars ([Sound Forge](https://www.vegascreativesoftware.com/us/sound-forge-pro/), [Adobe Audition](https://www.adobe.com/products/audition.html)). Likewise, video-editing software can be free ([PiTiVi](https://www.pitivi.org/), [OpenShot](https://www.openshot.org/) for Linux, [iMovie](https://support.apple.com/imovie) for Mac), less than $100 ([Adobe Premiere Elements](https://www.adobe.com/products/premiere-elements.html)), or several hundred dollars ([Adobe Premiere Pro](https://www.adobe.com/products/premiere.html), [Avid Media Composer](https://www.avid.com/media-composer), [Final Cut Pro](https://www.apple.com/final-cut-pro/)). The software you received with your digital camera may cover all your needs.
66+
For audio files, you can find free software ([Audacity](https://www.audacityteam.org/), [Wavosaur](https://www.wavosaur.com/)), or paying up to a few hundred dollars ([Sound Forge](https://www.vegascreativesoftware.com/sound-forge/), [Adobe Audition](https://www.adobe.com/products/audition.html)). Likewise, video-editing software can be free ([PiTiVi](https://www.pitivi.org/), [OpenShot](https://www.openshot.org/) for Linux, [iMovie](https://support.apple.com/imovie) for Mac), less than $100 ([Adobe Premiere Elements](https://www.adobe.com/products/premiere-elements.html)), or several hundred dollars ([Adobe Premiere Pro](https://www.adobe.com/products/premiere.html), [Avid Media Composer](https://www.avid.com/media-composer), [Final Cut Pro](https://www.apple.com/final-cut-pro/)). The software you received with your digital camera may cover all your needs.
6767

6868
### Publishing tools
6969

7070
You also need a way to upload files: from your hard drive to a distant web server. To do that you should use a publishing tool such as an [(S)FTP client](/en-US/docs/Glossary/FTP), [RSync](https://en.wikipedia.org/wiki/Rsync), or [Git/GitHub](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site).
7171

7272
Each operating system includes an (S)FTP client, as part of its file manager. Windows Explorer, Nautilus (a common Linux file manager), and the Mac Finder all include this functionality. However, people often choose dedicated (S)FTP clients to display local or remote directories side-by-side and store server passwords.
7373

74-
If you want to install an (S)FTP client, there are several reliable and free options: for example, [FileZilla](https://filezilla-project.org/) for all platforms, [WinSCP](https://winscp.net/eng/index.php) for Windows, [Cyberduck](https://cyberduck.io/) for Mac or Windows, [and more](https://en.wikipedia.org/wiki/List_of_FTP_server_software).
74+
If you want to install an (S)FTP client, there are several reliable and free options: for example, [FileZilla](https://filezilla-project.org/) for all platforms, [WinSCP](https://winscp.net/eng/index.php) for Windows, [Cyberduck](https://cyberduck.io/) for Mac or Windows.
7575

7676
Because FTP is inherently insecure, you should make sure to use SFTP — the secure, encrypted version of FTP that most hosting sites you'll deal with these days will offer by default — or another secure solution like Rsync over SSH.
7777

files/en-us/mozilla/add-ons/webextensions/your_second_webextension/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ touch choose_beast.html choose_beast.css choose_beast.js
151151
The HTML file looks like this:
152152

153153
```html
154-
<!DOCTYPE html>
155-
<html>
154+
<!doctype html>
155+
<html lang="en-US">
156156
<head>
157157
<meta charset="utf-8" />
158158
<link rel="stylesheet" href="choose_beast.css" />
@@ -344,7 +344,7 @@ function reportExecuteScriptError(error) {
344344
})();
345345
```
346346

347-
The popup script executes [the content script](#the-content-script) in the active tab as soon as the popup is loaded, using the [`browser.scripting.executeScript()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/scripting/executeScript) API. If the content script execution is successful, it stays loaded in the page until the tab is closed or the user navigates to a different page.
347+
The popup script executes [the content script](#the_content_script) in the active tab as soon as the popup is loaded, using the [`browser.scripting.executeScript()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/scripting/executeScript) API. If the content script execution is successful, it stays loaded in the page until the tab is closed or the user navigates to a different page.
348348

349349
The `browser.scripting.executeScript()` call can fail if the extension can't execute content scripts in the active page. For example, an extension can't execute scripts in privileged browser pages such as `about:debugging`, or on pages in the [addons.mozilla.org](https://addons.mozilla.org/) domain. If the call fails, `reportExecuteScriptError()` hides the `<div id="popup-content">` element, displays the `<div id="error-content"...` element, and logs an error to the [console](https://extensionworkshop.com/documentation/develop/debugging/).
350350

files/en-us/web/api/deprecationreport/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ const options = {
131131

132132
const observer = new ReportingObserver((reports, observer) => {
133133
reports.forEach((report) => {
134-
//console.log(report);
135134
log(JSON.stringify(report, null, 2));
136135
});
137136
}, options);

files/en-us/web/api/document/createattribute/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ An {{domxref("Attr")}} node.
3535
### Exceptions
3636

3737
- `InvalidCharacterError` {{domxref("DOMException")}}
38-
- : Thrown if the [`localName`](#localName) value is not a valid attribute name.
38+
- : Thrown if the [`localName`](#localname) value is not a valid attribute name.
3939
It must have at least one character, and may not contain ASCII whitespace, `NULL`, `/`, `=` or `>` (U+0000, U+002F, U+003D, or U+003E, respectively).
4040

4141
> [!NOTE]

0 commit comments

Comments
 (0)