Beginner
Image

Angular (previously called Angular.Js) is a client-side, cross-platform, open framework source.

It allows the creation of App. Web, especially Single Page Applications, which gain much faster and smoother loading times.

Code Examples

→ Let's start with very simple codes. The more you progress, page after page, the more sophisticated the scripts will be. However, you must go over 30 to 40 pages per level, before moving on to the next step...

→ In order to evaluate your codes, click on the icon on the left at the bottom of the page (gears), then choose a compiler from the list that will be open in another tab. Finally, test your work.

NOW REPRODUCE AND IMMERSE YOURSELF!

C 0001 - Hello World !

Reproduce this code (please do not copy-paste!).

<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<body>
<div ng-app="">
<h1>Hello World !</h1>
</div>
</body>
</html>

C 0002 - Form Field

Reproduce this code (please do not copy-paste!).

<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<body>
<div ng-app="">
<p>Enter a name in the field below :</p>
<p>Nom : <input type="text" ng-model="name" placeholder="Enter name here"></p>
<h1>Hello {{name}}. How are you ?</h1>
</div>
</body>
</html>

C 0003 - Variables

Reproduce this code (please do not copy-paste!).

<!DOCTYPE html>
<html>
<body>
<?php
$txt = "Hello, see the results !";
$x = 50; $y = 10.5;
echo $txt; echo "<br>";
echo $x; echo "<br>";
echo $y;
?>
</body>
</html>

C 0004 - Numbers

Reproduce this code (please do not copy-paste!).

<!DOCTYPE html>
<html>
<body>
<?php
$x = 50;
$y = 65;
echo $x + $y;
?>
</body>
</html>

C 0005 - Variables

Reproduce this code (please do not copy-paste!).

<!DOCTYPE html>
<html>
<body>
<?php
$txt = "Music";
echo "I like " . $txt . "!";
?>
</body>
</html>

C 0006 - Numbers

Reproduce this code (please do not copy-paste!).

<!DOCTYPE html>
<html>
<body>
<?php
// Determine if this variable has a comma (float)
$x = 20.688;
var_dump(is_float($x));
?>
</body>
</html>

C 0007 - Numbers

Reproduce this code (please do not copy-paste!).

<!DOCTYPE html>
<html>
<body>
<?php
// Determine if this variable is an integer
$x = 253;
var_dump(is_int($x));
echo "<br>";
// Recheck with this variable
$x = 12.28;
var_dump(is_int($x));
?>
</body>
</html>

C 0008 - Numbers

Reproduce this code (please do not copy-paste!).

<!DOCTYPE html>
<html>
<body>
<?php
// Determine if this variable is an integer
$x = 8823;
var_dump(is_int($x));
echo "<br>";
// Recheck with this variable
$x = 63.49;
var_dump(is_int($x));
?>
</body>
</html>
Image

CHOISISSEZ VOTRE COMPILATEUR

Reproduisez ce code, en choisissant l'un des compilateurs (♦ voir DEFci-dessous (ne copiez-collez pas ! Ce serait trop facile). Tous ont la même fonction, choisissez-en un en tenant simplement compte de vos préférences.

Lorsque vous copiez votre code, remplacez le code existant (par défaut) figurant déjà dans le compilateur, par le vôtre.

Attention ! Pour certains de ces compilateurs, vous devez vous-même choisir le langage de programmation, dans le menu qui vous est alors proposé. Bien évidemment, n'oubliez pas de cliquer sur RUN !

Angular Technical Specifications

Most Recent Versions

Tools And Methodologies

Tests

Info+ (Angular)

 Creation
» Creation date : 2016
* Created by Google
* Developed by Angular Community
* Written in TypeScript
* Multiplateform
* MIT License

Tools+ (Angular)

 Softwares & Frameworks

News

Tags
Image

Fond of Code TM © ®
2022 / All rights reserved - Protected Trademark/Logo

Legal structure based in
Nice - FRANCE / Montreal - CANADA
Only by appointment...

Image
Image