MP13 progress
This commit is contained in:
3
Assignments/JavaScript/MP13_CalebFontenot/.bowerrc
Normal file
3
Assignments/JavaScript/MP13_CalebFontenot/.bowerrc
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"directory": "public_html/bower_components"
|
||||
}
|
9
Assignments/JavaScript/MP13_CalebFontenot/Gruntfile.js
Normal file
9
Assignments/JavaScript/MP13_CalebFontenot/Gruntfile.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/Gruntfile.js to edit this template
|
||||
*/
|
||||
module.exports = function (grunt) {
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
});
|
||||
};
|
13
Assignments/JavaScript/MP13_CalebFontenot/bower.json
Normal file
13
Assignments/JavaScript/MP13_CalebFontenot/bower.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "MP13_CalebFontenot",
|
||||
"version": "1.0.0",
|
||||
"main": "path/to/main.css",
|
||||
"ignore": [
|
||||
".jshintrc",
|
||||
"**/*.txt"
|
||||
],
|
||||
"dependencies": {
|
||||
},
|
||||
"devDependencies": {
|
||||
}
|
||||
}
|
BIN
Assignments/JavaScript/MP13_CalebFontenot/ch8.pdf
Normal file
BIN
Assignments/JavaScript/MP13_CalebFontenot/ch8.pdf
Normal file
Binary file not shown.
10
Assignments/JavaScript/MP13_CalebFontenot/gulpfile.js
Normal file
10
Assignments/JavaScript/MP13_CalebFontenot/gulpfile.js
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/gulpfile.js to edit this template
|
||||
*/
|
||||
|
||||
var gulp = require('gulp');
|
||||
|
||||
gulp.task('default', function () {
|
||||
// place code for your default task here
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
file.reference.MP13_CalebFontenot-public_html=public_html
|
||||
file.reference.MP13_CalebFontenot-test=test
|
||||
files.encoding=UTF-8
|
||||
site.root.folder=${file.reference.MP13_CalebFontenot-public_html}
|
||||
test.folder=${file.reference.MP13_CalebFontenot-test}
|
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.web.clientproject</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
|
||||
<name>MP13_CalebFontenot</name>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
8
Assignments/JavaScript/MP13_CalebFontenot/package.json
Normal file
8
Assignments/JavaScript/MP13_CalebFontenot/package.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "MP13_CalebFontenot",
|
||||
"version": "1.0.0",
|
||||
"keywords": ["util", "functional", "server", "client", "browser"],
|
||||
"author": "caleb",
|
||||
"contributors": [],
|
||||
"dependencies": {}
|
||||
}
|
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/html.html to edit this template
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Problem 3</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<label>Enter your name: <input id="nameInput"></label><br>
|
||||
<label>Enter your nickname:<input id="nickInput"></label><br>
|
||||
<label>Enter your email address: <input id="emailInput"></label><br>
|
||||
<label>Favorite movie: <input id="movieInput"></label><br>
|
||||
<label>Favorite book: <input id="bookInput"></label><br>
|
||||
<label>Favorite type of music: <input id="musicInput"></label><br>
|
||||
<label><input type="button" value="Submit" onclick="onClick();"></label><br>
|
||||
</body>
|
||||
<script>
|
||||
function onClick() {
|
||||
var userInput = {
|
||||
"name": "",
|
||||
"nickname": "",
|
||||
"email": "",
|
||||
"movie": "",
|
||||
"book": "",
|
||||
"music": ""
|
||||
};
|
||||
console.log(userInput[0]);
|
||||
let fields = ["nameInput", "nickInput", "emailInput", "movieInput", "bookInput", "musicInput"]
|
||||
let i = 0;
|
||||
for (const x in userInput) {
|
||||
userInput[x] = document.getElementById(fields[i++]).value;
|
||||
}
|
||||
console.log(userInput);
|
||||
let doc = "<p> Your information: <br>"
|
||||
for (const x in userInput) {
|
||||
doc += x + ": " +userInput[x] + "<br>";
|
||||
}
|
||||
doc += "</p>"
|
||||
document.write(doc);
|
||||
}
|
||||
</script>
|
||||
</html>
|
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/html.html to edit this template
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>TODO supply a title</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
<script>
|
||||
function tableBuilder(field) {
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
</html>
|
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this template
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>TODO supply a title</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<div>TODO write content</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user