aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/javascript/reference/statements/for/index.html
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-07-30 20:18:17 +0200
committerGitHub <noreply@github.com>2021-07-30 20:18:17 +0200
commit2a76c37d0e733dedf8ed87d1e7e46caf3c44667e (patch)
treeeef4e1f7f84846e950ff27780bf447000542d4e0 /files/fr/web/javascript/reference/statements/for/index.html
parent6f195c0befca01246e2db1c38a65628baf1938e1 (diff)
downloadtranslated-content-2a76c37d0e733dedf8ed87d1e7e46caf3c44667e.tar.gz
translated-content-2a76c37d0e733dedf8ed87d1e7e46caf3c44667e.tar.bz2
translated-content-2a76c37d0e733dedf8ed87d1e7e46caf3c44667e.zip
Prepare JS French section for Markdown (#1574)
* Rm IDs w/ [^h\d] id=" * Remove class="hidden" * Remove hidden for code blocks * rm summary classes * Use Note consistently * Remove sup * Rm code in pre * Fixes dd/dt/dl * Fix some more dd * Remove inline style and useless/craft from span/font * h2m report fixing - Consistent use of notes * h2m report fixing - Consistent use of warnings * h2m report fixing - reword one callout * h2m report fixing - array cruft spans hell * Cleaning the rest of docs for md conversion
Diffstat (limited to 'files/fr/web/javascript/reference/statements/for/index.html')
-rw-r--r--files/fr/web/javascript/reference/statements/for/index.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/files/fr/web/javascript/reference/statements/for/index.html b/files/fr/web/javascript/reference/statements/for/index.html
index a27610508d..7b8da7b5f4 100644
--- a/files/fr/web/javascript/reference/statements/for/index.html
+++ b/files/fr/web/javascript/reference/statements/for/index.html
@@ -14,8 +14,6 @@ original_slug: Web/JavaScript/Reference/Instructions/for
<div>{{EmbedInteractiveExample("pages/js/statement-for.html")}}</div>
-<p class="hidden">Le code source de cet exemple interactif est disponible dans un dépôt GitHub. Si vous souhaitez contribuez à ces exemples, n'hésitez pas à cloner <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> et à envoyer une <em>pull request</em> !</p>
-
<h2 id="Syntaxe">Syntaxe</h2>
<pre class="syntaxbox">for ([<em>initialisation</em>]; [<em>condition</em>]; [<em>expression_finale</em>])
@@ -91,7 +89,7 @@ for (;;) {
console.log("Décalage de position : \"" + sId + "\" element:\n left: " + nLeft + "px;\n top: " + nTop + "px;");
}</pre>
-<div class="note"><strong>Note :</strong> Dans cas, où on n'utilise pas la section d'instruction,<strong> il faut mettre un point-virgule immédiatement après la déclaration de la boucle.</strong></div>
+<div class="note"><p><strong>Note :</strong> Dans cas, où on n'utilise pas la section d'instruction,<strong> il faut mettre un point-virgule immédiatement après la déclaration de la boucle.</strong></p></div>
<h2 id="Spécifications">Spécifications</h2>