angular 9 tutorial code example

Example 1: angular

steps to install angular
step 1 :Install node 
download link=>https://nodejs.org/en/

step 2 :Install angular Cli with Command prompt
npm install -g @angular/cli

step 3 : checking the installed angular version
ng --version


Initializing angular 10 project :
ng new my-raj-app   (here "my-raj-app" is App name)

your project is initialised:
go inside the project and run it with:

ng serve -o 

done ....!! Happy coding..!! -rajesh reddy:)

Example 2: Angular 9 tutorial

<div class="calculator">

  <input type="text" class="calculator-screen" value="0" disabled />

  <div class="calculator-keys">

    <button type="button" class="operator" value="+">+</button>
    <button type="button" class="operator" value="-">-</button>
    <button type="button" class="operator" value="*">×</button>
    <button type="button" class="operator" value="/">÷</button>

    <button type="button" value="7">7</button>
    <button type="button" value="8">8</button>
    <button type="button" value="9">9</button>


    <button type="button" value="4">4</button>
    <button type="button" value="5">5</button>
    <button type="button" value="6">6</button>


    <button type="button" value="1">1</button>
    <button type="button" value="2">2</button>
    <button type="button" value="3">3</button>


    <button type="button" value="0">0</button>
    <button type="button" class="decimal" value=".">.</button>
    <button type="button" class="all-clear" value="all-clear">AC</button>

    <button type="button" class="equal-sign" value="=">=</button>

  </div>
</div>

Example 3: angular 9 tutorial

ng new ng9-app --create-application=false --strict