This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var assets = data.GetAssetWarrantyResponse.GetAssetWarrantyResult.Response.DellAsset; | |
var faults = data.GetAssetWarrantyResponse.GetAssetWarrantyResult.Faults.FaultException | |
$(document).ready(function() { | |
//fault loop | |
for (var i = 0; i < faults.length; i++) { | |
var msg = faults[i].Message.__text; | |
// console.log(msg); | |
$('#flts').append($('<li></li>').html(msg)); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
console.log( "ready!" ); | |
//Shows form to create user racer | |
$('button#create').on('click', function() { | |
$('form#userStats').removeClass('hidden'); | |
}) | |
var user; | |
$('form').on('submit', function(event) { | |
var $userName = $('#userName').val(); | |
console.log("User name " + $userName) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>RaceGame</title> | |
<link rel="Stylesheet" type="text/css" href="css/race.css"> | |
</head> | |
<body> | |
<h1 id="header"> Welcome to the racetrack! </h1> | |
<h2> Meet the participants...</h2> | |
<ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Catch the energizer bunny</title> | |
<link rel="stylesheet" href="rabbit.css" /> | |
</head> | |
<body> | |
<h2>Catch me if you can</h2> | |
<h3>Catch the rabbit by hovering over it with your mouse. You can make the game harder by selecting a faster rabbit and/or choosing to use a mouse click to catch it. You can change rabbit speed and catch method while game is running.</h3> | |
<div id="page"> |