forked from rali-udem/jsRealB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-fr.html
46 lines (45 loc) · 2.69 KB
/
index-fr.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS file -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<!-- JS files: jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<script src="../../dist/jsRealB.js"></script>
<script src="levenshtein.js"></script>
<script src="francais.js"></script>
<script src="ExercicesOrthographe.js"></script>
<link rel="stylesheet" href="ExercicesOrthographe.css">
<title>Exercice d'orthographe et de grammaire en français</title>
</head>
<body>
<h1 class="mx-2">Exercices d'orthographe et de grammaire en français</h1>
<div class="mx-2">
<div id="instructions">
<p>Tapez dans la boîte de texte, une phrase simple (sujet, verbe, complément) qui respecte des contraintes:</p>
<ul>
<li>Type de phrase: <span id="types-phrase"></span>;</li>
<li>Nombre: <em>singulier</em> ou <em>pluriel</em>; si le nombre affiche <em>pronom</em>, il faut remplacer le groupe sujet ou complément par un pronom; </li>
<li>Adjectif:le groupe complément peut comprendre un adjectif à accorder avec le nom et à positionner correctement;</li>
<li>Temps: conjuguer le verbe au temps spécifié (<span id="temps-verbe"></span>) et l'accorder avec le sujet; </li>
</ul>
<p>Lors d'un <em>RET</em> le système fige la phrase tapée dans la boîte de texte et affiche les différences avec la <em>bonne</em> réponse dans la partie basse à droite. <br/><span class="bravo">Il affiche la phrase en vert lorsqu'il n'y a pas d'erreur</span>.</p>
<p>En cliquant sur <input type="button" value="Prochaine phrase" class="btn btn-primary btn-sm"> est affiché un autre exercice dont les mots et les contraintes sont tirés au hasard.</p>
<p>Amusez-vous bien et tentez de réussir plusieurs <span class="bravo">phrases vertes</span>.</p>
<p><a href="mailto:lapalme@iro.umontreal.ca">Guy Lapalme</a></p>
</div>
</div>
<input type="button" name="instructions" value="Masquer les instructions" id="cacher-montrer" class="btn btn-link">
<a href="index-en.html" id="change-lang">Try it in English</a>
<div class="mx-2">
<table id="exercices" class="table table-sm"></table>
<input type="button" name="encore" value="Prochaine phrase" id="encore" class="btn btn-primary">
<span id=score></span>
</div>
</body>
</html>