Made use of: https://www.w3schools.com/howto/howto_js_toggle_hide_show.asp https://stackoverflow.com/questions/73600856/scrollable-div-with-arrows
A Pen by Sarah Rettig on CodePen.
<iframe style="border: 1px solid rgba(0, 0, 0, 0.1);" width="100%" height="450" src="https://www.pampam.city/p/fIna8EHEsi62peqzZPFt"></iframe> |
var app = angular.module("MyApp", []); | |
app.controller("MainController", ['$scope','$http', function ($scope, $http, myservice) { | |
$scope.serverResponse; | |
$scope.getInfo=function() { | |
myservice.sendRequest().then(function(response) { | |
$scope.serverResponse = response.data; //use var to hold data object | |
console.log($scope.serverResponse) |
<!DOCTYPE html> | |
<html lang="en" ng-app="MyApp"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Name Badge Thing</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="style.css"> | |
</head> |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
body { | |
font-size:90%; | |
background-color: #fff; | |
} | |
#wrapper { | |
width:100%; | |
} | |
main { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='UTF-8'> | |
<meta name='description' content='Javascript concepts conditionals, for loops, event handlers'> | |
<title>JS Pre-course Project</title> | |
<link rel='stylesheet' href='css/style-easier.css'> | |
</head> | |
<body> | |
<div id='wrapper'> |
echo test | |