Playing with user.me user generator

Developer
Size
4,530 Kb
Views
8,096

How do I make an playing with user.me user generator?

Learning Angular http and some flexbox at the same time. . What is a playing with user.me user generator? How do you make a playing with user.me user generator? This script and codes were developed by Mark Santiago on 02 November 2022, Wednesday.

Playing with user.me user generator Previews

Playing with user.me user generator - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>playing with user.me user generator</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div ng-app="nameApp"> <div class="searchHolder"> <p><label for="">Search for Employee</label><input type="text" ng-model="query" /></p> </div>
<div class="appHolder" ng-controller="NameCtrl">
<!-- <pre>{{test | json}}</pre> -->
<div class="flip-container" ng-repeat="people in test |filter:query ">	<div class="flipper">	<div class="front"> <img src="{{people.picture.large}}" alt="" /> <h1 class="{{people.user.gender}}">{{people.name.title}} {{people.name.first}}</h1>	</div>	<div class="back"> <div class="info {{people.gender}}"> <p>Full Name: <span>{{people.name.first}} {{people.name.last}}</span></p> <p>Home Town: <span>{{people.location.city}}</span</p> <p>Phone: <span>{{people.phone}}</p> <p>Username: <span>{{people.login.username}}</span></p> </div>	</div>	</div>
</div> </div>
</div> <script src='http://ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Playing with user.me user generator - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Marck+Script|Tienne:400,900);
.searchHolder { text-align: center; background: steelblue; width: 40%; margin-left: 30%; padding: 5px; padding-top: 2px; border-radius: 10px; color: white; font-size: 20px; border: 4px solid; border-color: #38678f; box-shadow: 2px 2px 2px 0px #444;
}
.searchHolder input { margin-left: 10px;
}
.appHolder { padding: 0; margin: 0; list-style: none; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-flex-flow: row wrap; -ms-flex-pack: distribute; justify-content: space-around;
}
/* entire container, keeps perspective */
.flip-container { -webkit-perspective: 1000; perspective: 1000; margin-top: 30px;
}
/* flip the pane when hovered */
.flip-container:hover .flipper { -webkit-transform: rotateY(180deg); transform: rotateY(180deg);
}
.flip-container:hover .front { -webkit-filter: brightness(0.5); filter: brightness(0.5);
}
.flip-container, .front, .back { width: 200px; height: 250px; margin-top: 15px; margin-right: 10px; text-align: center; color: white; border-radius: 15px;
}
.front, .back { box-shadow: 1px 1px 5px 0px #222;
}
/* flip speed goes here */
.flipper { -webkit-transition: 1.5s; transition: 1.5s; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; position: relative;
}
/* hide back of pane during swap */
.front, .back { -webkit-backface-visibility: hidden; backface-visibility: hidden; position: absolute; top: 0; left: 0;
}
/* front pane, placed above back */
.front { z-index: 2; /* for firefox 31 */ -webkit-transform: rotateY(0deg); transform: rotateY(0deg); -webkit-transition: all .5s; transition: all .5s; -webkit-transition-delay: .05s; transition-delay: .05s;
}
.front img { height: 125px; width: 125px; margin-top: 25px; margin-bottom: 10px; border-radius: 50%; box-shadow: 4px 2px 8px -2px rgba(0, 0, 0, 0.85);
}
.front h1 { text-align: center; text-transform: capitalize; font-size: 1.5em; color: #333; margin-top: 15px;
}
.male { font-family: 'Tienne', serif;
}
.female { font-family: 'Marck Script', cursive;
}
/* back, initially hidden pane */
.back { -webkit-transform: rotateY(180deg); transform: rotateY(180deg);
}
.back .info { text-align: center; color: white; height: 90%; width: 100%; position: absolute; top: 5%;
}
.back .info p { font-size: 1.25em; font-weight: 800; line-height: .75em;
}
.back .info p span { font-size: .75em; font-weight: 400; text-transform: capitalize; display: inline-block; width: 100%;
}
.back .info p:last-child span { font-size: .75em;
}
.flip-container:nth-child(5n+1) .front, .flip-container:nth-child(5n+1) .back { background: #69D2E7;
}
.flip-container:nth-child(5n+2) .front, .flip-container:nth-child(5n+2) .back { background: #A7DBD8;
}
.flip-container:nth-child(5n+3) .front, .flip-container:nth-child(5n+3) .back { background: #E0E4CC;
}
.flip-container:nth-child(5n+4) .front, .flip-container:nth-child(5n+4) .back { background: #F38630;
}
.flip-container:nth-child(5n+5) .front, .flip-container:nth-child(5n+5) .back { background: #FA6900;
}

Playing with user.me user generator - Script Codes JS Codes

 var nameApp = angular.module('nameApp', []); //version using a factory and controller nameApp.controller('NameCtrl', function ($scope, Playson){ Playson.list(function(Playson){ $scope.test = Playson.results; }) }); nameApp.factory('Playson',function($http){ return { list: function(good, bad){ $http.get('https://randomuser.me/api/?results=12').success(good).error(function(bad){ alert('Error!') }); } }; });
Playing with user.me user generator - Script Codes
Playing with user.me user generator - Script Codes
Home Page Home
Developer Mark Santiago
Username msantiago1256
Uploaded November 02, 2022
Rating 3
Size 4,530 Kb
Views 8,096
Do you need developer help for Playing with user.me user generator?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Mark Santiago (msantiago1256) Script Codes
Create amazing captions with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!