TESTING

In this example below you will see how to do a TESTING with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by NoBine, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright NoBine ©

Technologies

  • HTML
  • CSS
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>TESTING </title>
  
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">

  <link rel='stylesheet prefetch' href='https://ui-grid.info/release/4.0.0//ui-grid.css'>

      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div ng-controller="MainCtrl as $ctrl">
	<div id="grid1" ui-grid="{ data: $ctrl.myData }" class="grid">
	</div>		
</div>

This is a simple
  <script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular.js'></script>
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular-touch.js'></script>
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular-animate.js'></script>
<script src='https://ui-grid.info/docs/grunt-scripts/csv.js'></script>
<script src='https://ui-grid.info/docs/grunt-scripts/pdfmake.js'></script>
<script src='https://ui-grid.info/docs/grunt-scripts/vfs_fonts.js'></script>
<script src='https://ui-grid.info/docs/grunt-scripts/lodash.min.js'></script>
<script src='https://ui-grid.info/docs/grunt-scripts/jszip.min.js'></script>
<script src='https://ui-grid.info/docs/grunt-scripts/excel-builder.dist.js'></script>
<script src='https://ui-grid.info/release/4.0.0/ui-grid.min.js'></script>

  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/NoBine/testing-jZWWeR */
.grid {
  width: 500px;
  height: 250px;
}


/*Downloaded from https://www.codeseek.co/NoBine/testing-jZWWeR */
angular.module('app', ['ngTouch', 'ui.grid'])
  .controller('MainCtrl', MainCtrl);
 
function MainCtrl() {
  this.myData = [
    {
        firstName: "Cox",
        lastName: "Carney",
        company: "Enormo",
        employed: true
    },
    {
        firstName: "Lorraine",
        lastName: "Wise",
        company: "Comveyer",
        employed: false
    },
    {
        firstName: "Nancy",
        lastName: "Waters",
        company: "Fuelton",
        employed: false
    }
  ];
}

Comments