Skip to content

Commit

Permalink
Fix absolute URLs of test files
Browse files Browse the repository at this point in the history
The new extension doesn’t support loading test files different from the
document origin. That means, it won’t work on a local version.
  • Loading branch information
notetiene committed Nov 6, 2016
1 parent cf6de32 commit 1b82f65
Show file tree
Hide file tree
Showing 25 changed files with 44 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Figures Quiz</title>
<!-- the next line loads the tests for the Udacity Feedback extension -->
<meta name="udacity-grader" content="http://localhost:8000/fend/fend-refresh/lesson2/problem-set/figures/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Figures Quiz</title>
<!-- the next line loads the tests for the Udacity Feedback extension -->
<meta name="udacity-grader" content="http://localhost:8000/fend/fend-refresh/lesson2/problem-set/figures/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<!--
Expand Down
2 changes: 1 addition & 1 deletion fend-refresh/lesson2/problem-set/figures/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Figures Quiz</title>
<!-- the next line loads the tests for the Udacity Feedback extension -->
<meta name="udacity-grader" content="http://udacity.github.io/fend/fend-refresh/lesson2/problem-set/figures/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<!--
Expand Down
2 changes: 1 addition & 1 deletion fend-refresh/lesson2/problem-set/headers/index 2.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Headers Quiz</title>
<!-- the next line loads the tests for the Udacity Feedback extension -->
<meta name="udacity-grader" content="http://udacity.github.io/fend/fend-refresh/lesson2/problem-set/headers/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<p>Add your headers below this paragraph element! Add an h1, h2, h3, and h4 to finish the quiz. And make sure every header has text content :)</p>
Expand Down
2 changes: 1 addition & 1 deletion fend-refresh/lesson2/problem-set/headers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Headers Quiz</title>
<!-- the next line loads the tests for the Udacity Feedback extension -->
<meta name="udacity-grader" content="http://udacity.github.io/fend/fend-refresh/lesson2/problem-set/headers/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<p>Add your headers below this paragraph element! Add an h1, h2, h3, and h4 to finish the quiz. And make sure every header has text content :)</p>
Expand Down
2 changes: 1 addition & 1 deletion fend-refresh/lesson2/problem-set/lists/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Lists Quiz</title>
<!-- the next line loads the tests for the Udacity Feedback extension -->
<meta name="udacity-grader" content="http://udacity.github.io/fend/fend-refresh/lesson2/problem-set/lists/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<p>Create an unordered list! Make a list of the three web languages: HTML, CSS and JavaScript.</p>
Expand Down
4 changes: 2 additions & 2 deletions fend-refresh/lesson2/problem-set/tree-to-html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Tree to HTML</title>
<!-- the next line loads the tests for the Udacity Feedback extension -->
<meta name="udacity-grader" content="http://udacity.github.io/fend/fend-refresh/lesson2/problem-set/tree-to-html/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<!-- Did you notice that the body tag - the top of the sample tree - is already here? You don't need to add another one. -->
Expand All @@ -15,4 +15,4 @@ <h1>My Header!</h1>
<p>These words are insightful.</p>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L3/problem-set/05-writing-selectors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Writing Selectors Quiz</title>
<!-- the next line loads the tests for the Udacity Feedback extension -->
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L3/problem-set/05-writing-selectors/tests.json">
<meta name="udacity-grader" content="tests.json">
<style>
/* missing id */ {
text-align: center;
Expand All @@ -26,4 +26,4 @@ <h1 class="item">Chicken Clay Pot</h1>
<p class="description">Crispy rice baked in clay pot topped with chicken and vegetables</p>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L3/problem-set/07-slack-card/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Slacker Card</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L3/problem-set/07-slack-card/tests.json">
<meta name="udacity-grader" content="tests.json">
<style>
* {
box-sizing: border-box;
Expand Down Expand Up @@ -99,4 +99,4 @@ <h3 class="name">Udacity Stufent <span class="status"></span></h3>
</p>
</section>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L3/problem-set/07-slack-card/solution.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Slacker Card</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L3/problem-set/07-slack-card/tests.json">
<meta name="udacity-grader" content="tests.json">
<style>
* {
box-sizing: border-box;
Expand Down Expand Up @@ -103,4 +103,4 @@ <h3 class="name">Udacity Student <span class="status"></span></h3>
</p>
</section>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L3/problem-set/08-udacity-site-header/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Udacity Site Header</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L3/problem-set/08-udacity-site-header/tests.json">
<meta name="udacity-grader" content="tests.json">
<style>
* {
box-sizing: border-box;
Expand Down Expand Up @@ -84,4 +84,4 @@
</p>
</section>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L3/problem-set/08-udacity-site-header/solution.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Udacity Site Header</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L3/problem-set/08-udacity-site-header/tests.json">
<meta name="udacity-grader" content="tests.json">
<style>
* {
box-sizing: border-box;
Expand Down Expand Up @@ -86,4 +86,4 @@
</p>
</section>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L3/problem-set/10-link-to-a-stylesheet/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<head>
<title>Link to a Stylesheet Quiz</title>
<!-- the next line loads the tests for the Udacity Feedback extension -->
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L3/problem-set/10-link-to-a-stylesheet/tests.json">
<meta name="udacity-grader" content="tests.json">
<!-- add link here -->
</head>
<body>
Expand All @@ -31,4 +31,4 @@ <h1>My Portfolio</h1>
</div>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L5/problem-set/02-keep-it-boxy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Keep it Boxy</title>
<link href="css/styles.css" rel="stylesheet">
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L5/problem-set/02-keep-it-boxy/tests.json" unit-tests="js/tests.js">
<meta name="udacity-grader" content="tests.json" unit-tests="js/tests.js">
</head>
<body>
<div class="container">
Expand All @@ -23,4 +23,4 @@
</div>
</body>
<script type="text/javascript" src="js/jquery-3.0.0.min.js"></script>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L5/problem-set/02-keep-it-boxy/original.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Keep it Boxy</title>
<link href="css/original.css" rel="stylesheet">
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L5/problem-set/02-keep-it-boxy/tests.json" unit-tests="js/tests.js">
<meta name="udacity-grader" content="tests.json" unit-tests="js/tests.js">
</head>
<body>
<div class="container">
Expand All @@ -23,4 +23,4 @@
</div>
</body>
<script type="text/javascript" src="js/jquery-3.0.0.min.js"></script>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L5/problem-set/04-text-align-with-cheetahs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Text-align with Cheetahs</title>
<link href="css/styles.css" rel="stylesheet">
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L5/problem-set/04-text-align-with-cheetahs/tests.json" unit-tests="js/tests.js">
<meta name="udacity-grader" content="tests.json" unit-tests="js/tests.js">
</head>
<body>
<div class="one">
Expand All @@ -26,4 +26,4 @@
</div>
</body>
<script type="text/javascript" src="js/jquery-3.0.0.min.js"></script>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Text-align with Cheetahs</title>
<link href="css/styles.css" rel="stylesheet">
<link href="css/answer.css" rel="stylesheet">
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L5/problem-set/04-text-align-with-cheetahs/tests.json" unit-tests="js/tests.js">
<meta name="udacity-grader" content="tests.json" unit-tests="js/tests.js">
</head>
<body>
<div class="one left">
Expand All @@ -27,4 +27,4 @@
</div>
</body>
<script type="text/javascript" src="js/jquery-3.0.0.min.js"></script>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ p {
padding: 0;
}
.panel-title {
font-weight: bold;
font-weight: bold;
}
.exponent {
vertical-align: super;
Expand Down Expand Up @@ -51,4 +51,4 @@ p {
.container {
max-width: 100%;
}
}
}
4 changes: 2 additions & 2 deletions lessons/L5/problem-set/05-fun-with-vertical-align/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Fun with Vertical-align</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link href="css/styles.css" rel="stylesheet">
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L5/problem-set/05-fun-with-vertical-align/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<div class="container">
Expand Down Expand Up @@ -56,4 +56,4 @@ <h3 class="panel-title">Pangram with Images</h3>
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Fun with Vertical-align</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link href="css/original.css" rel="stylesheet">
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L5/problem-set/05-fun-with-vertical-align/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<div class="container">
Expand Down Expand Up @@ -56,4 +56,4 @@ <h3 class="panel-title">Pangram with Images</h3>
</div>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L5/problem-set/06-playing-with-line-height/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Playing with Line-Height</title>
<link href="css/styles.css" rel="stylesheet">
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L5/problem-set/06-playing-with-line-height/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<div class="container">
Expand All @@ -25,4 +25,4 @@
</body>
<script type="text/javascript" src="js/jquery-3.0.0.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Playing with Line-Height</title>
<link href="css/original.css" rel="stylesheet">
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L5/problem-set/06-playing-with-line-height/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<div class="container" style="background:#ccc;">
Expand All @@ -23,4 +23,4 @@
</div>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L5/problem-set/07-making-peach-ice-cream/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="https://fonts.googleapis.com/css?family=Lato:400,300,700" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
<link href="css/styles.css" rel="stylesheet">
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L5/problem-set/07-making-peach-ice-cream/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<main class="recipe">
Expand Down Expand Up @@ -49,4 +49,4 @@ <h3 class="section-title">Directions</h3>
</section>
</main>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="https://fonts.googleapis.com/css?family=Lato:400,300,700" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
<link href="css/original.css" rel="stylesheet">
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L5/problem-set/07-making-peach-ice-cream/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<main class="recipe">
Expand Down Expand Up @@ -49,4 +49,4 @@ <h3 class="section-title">Directions</h3>
</section>
</main>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions lessons/L6/problem-set/XX-solve-the-puzzle/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Solve the Puzzle</title>
<link href="css/styles.css" rel="stylesheet">
<meta name="udacity-grader" content="http://udacity.github.io/fend/lessons/L6/problem-set/XX-solve-the-puzzle/tests.json">
<meta name="udacity-grader" content="tests.json">
</head>
<body>
<div class="container">
Expand Down Expand Up @@ -63,4 +63,4 @@
<p>Vincent van Gogh<br><em>The Starry Night</em><br>Saint Rémy, June 1889</p>
</div>
</body>
</html>
</html>

0 comments on commit 1b82f65

Please sign in to comment.