From 53cb1cef802987454af4780f99dacd271b71394e Mon Sep 17 00:00:00 2001 From: "stackedactors1@gmail.com" Date: Tue, 21 Jan 2014 23:04:17 -0700 Subject: [PATCH 1/8] test to see if connected --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index ad0297d..b9d37e2 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - Front-End Developer Test + Front-End Developer Test jkay From 4a876a6ec262ec80feecc7184cc51fd9d2e7cbfa Mon Sep 17 00:00:00 2001 From: "stackedactors1@gmail.com" Date: Tue, 21 Jan 2014 23:10:34 -0700 Subject: [PATCH 2/8] test to see if connected --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index b9d37e2..0847c3e 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - Front-End Developer Test jkay + Front-End Developer Test jkaadsfasdy From da600c1516b551f6b44a248618668433a713eb1a Mon Sep 17 00:00:00 2001 From: "stackedactors1@gmail.com" Date: Tue, 21 Jan 2014 23:20:19 -0700 Subject: [PATCH 3/8] test to see if connected, once again --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 0847c3e..94d458d 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - Front-End Developer Test jkaadsfasdy + Front-End Developer Test once again From 94b46b7c1c2f122f5a28ce1ed593591f5868b028 Mon Sep 17 00:00:00 2001 From: "stackedactors1@gmail.com" Date: Wed, 22 Jan 2014 09:35:44 -0700 Subject: [PATCH 4/8] First real commit: index.html - added meta tag in header for mobile development, added jQuery and custom js file in js folder, referenced those before for faster load time. script.js - made ajax call to http://fedtest.aws.af.cm to populate radio buttons. main.css - added min height to education_level div to prevent jumping when the ajax call is made to populate radio buttons. --- index.html | 9 +++++++++ js/script.js | 17 +++++++++++++++++ styles/main.css | 18 +++++++++++++++++- 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 js/script.js diff --git a/index.html b/index.html index 94d458d..67ddc3c 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,7 @@ + Front-End Developer Test once again @@ -29,6 +30,12 @@

Nibh Hendrerit Sodales

Email Address: + +
+ +
@@ -47,5 +54,7 @@

Nibh Hendrerit Sodales

+ + diff --git a/js/script.js b/js/script.js new file mode 100644 index 0000000..a6d4e9d --- /dev/null +++ b/js/script.js @@ -0,0 +1,17 @@ +$(document).ready(function(){ + var HTML_EDU = ''; + $.ajax({ + url:'http://fedtest.aws.af.cm', + dataType:'jsonp', + success:function(msg){ + var x = 0; + for(var i in msg){ + HTML_EDU += '' + + '' + + '
'; + x++; + } + $('div.education_level').html(HTML_EDU); + } + }); +}); \ No newline at end of file diff --git a/styles/main.css b/styles/main.css index 7bb98ad..962b48b 100644 --- a/styles/main.css +++ b/styles/main.css @@ -45,7 +45,7 @@ h2 { label { display: block; margin-bottom: .8em; - color #222; + color: #222; } input { @@ -75,3 +75,19 @@ input { padding-left: 20px; } +/*jkay additions*/ +.education_level{ + min-height:200px; +} + + + + + + + + + + + + From 30cf6a7b77e036b974fe55068c891ae970514c11 Mon Sep 17 00:00:00 2001 From: "stackedactors1@gmail.com" Date: Wed, 22 Jan 2014 10:06:18 -0700 Subject: [PATCH 5/8] index.html - added error_header div for slide down effect when submitting the form with errors. script.js - built custom submit function for form validation. Also made error handling obj for functions to check certain input fields. main.css - added .clear class, its always good to have a class setup for clearing. Formatted radio button layout. side note: I know adding jQuery may have been too much to add on something this small but I thought the slide effect on the form submission with errors is really cool! --- index.html | 3 +- js/script.js | 84 +++++++++++++++++++++++++++++++++++++++++++++++++ styles/main.css | 34 ++++++++++++++++++++ 3 files changed, 120 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 67ddc3c..82265de 100644 --- a/index.html +++ b/index.html @@ -7,12 +7,13 @@ +

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

-
+

Nibh Hendrerit Sodales