Skip to content

Commit ed63d69

Browse files
committed
Begin working on training page styling.
1 parent 118962d commit ed63d69

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/components/training/training.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<section class="training-main">
22

33
<div class="training-body">
4-
<p>Input code here</p>
4+
5+
<p>Solution</p>
56
<form>
67
Function: <textarea name="solution" cols="40" rows="5" id="solution-input" ng-model="solutionInput"></textarea>
78
<button ng-click="sendSolution(solutionInput)">Submit</button>

src/components/training/training.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66

77
.training-body {
88
background-color: red;
9-
height: 50vh;
10-
width: 50vw;
119
}

src/components/training/trainingCtrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
angular.module('app').controller('trainingCtrl', function($scope, $state, mainService) {
44

55
$scope.sendSolution = function(input) {
6-
// mainService.getTest(input).then((response) => console.log(response));
76
input = input.replace(/\n/g, " ");
87
console.log(input);
8+
// mainService.getTest(input).then((response) => console.log(response));
99
}
1010

1111

0 commit comments

Comments
 (0)