Semester 3 pog
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"directory": "public_html/bower_components"
|
||||
}
|
@@ -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({
|
||||
});
|
||||
};
|
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "lab12js",
|
||||
"version": "1.0.0",
|
||||
"main": "path/to/main.css",
|
||||
"ignore": [
|
||||
".jshintrc",
|
||||
"**/*.txt"
|
||||
],
|
||||
"dependencies": {
|
||||
},
|
||||
"devDependencies": {
|
||||
}
|
||||
}
|
BIN
Semester 1/Assignments/JavaScript/lab12js_CalebFontenot/ch3.pdf
Normal file
BIN
Semester 1/Assignments/JavaScript/lab12js_CalebFontenot/ch3.pdf
Normal file
Binary file not shown.
Binary file not shown.
@@ -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 @@
|
||||
browser=SL[/Browsers/FirefoxBrowser
|
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||
<group>
|
||||
<file>file:/home/caleb/ASDV-WebDev/Assignments/JavaScript/lab12js/bower.json</file>
|
||||
<file>file:/home/caleb/ASDV-WebDev/Assignments/JavaScript/lab12js/.bowerrc</file>
|
||||
<file>file:/home/caleb/ASDV-WebDev/Assignments/JavaScript/lab12js/package.json</file>
|
||||
</group>
|
||||
</open-files>
|
||||
</project-private>
|
@@ -0,0 +1,5 @@
|
||||
file.reference.lab12js-public_html=public_html
|
||||
file.reference.lab12js-test=test
|
||||
files.encoding=UTF-8
|
||||
site.root.folder=${file.reference.lab12js-public_html}
|
||||
test.folder=${file.reference.lab12js-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>lab12js</name>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "lab12js",
|
||||
"version": "1.0.0",
|
||||
"keywords": ["util", "functional", "server", "client", "browser"],
|
||||
"author": "caleb",
|
||||
"contributors": [],
|
||||
"dependencies": {}
|
||||
}
|
@@ -0,0 +1,29 @@
|
||||
<!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">
|
||||
<script type="text/javascript">
|
||||
var input = prompt("Please enter a temperature to convert!");
|
||||
var toCelcius = prompt("Do you want to convert to celcius?");
|
||||
if (toCelcius == "true" || toCelcius == "yes") {
|
||||
var celcius = 5 / 9 * (input - 32);
|
||||
document.write( input +" in Celcius is " + celcius + "C");
|
||||
response();
|
||||
} else {
|
||||
var fahrenheit = (input * 5/9) + 32;
|
||||
document.write(input + "in Fahrenheit is " + fahrenheit + "F");
|
||||
}
|
||||
function response() {
|
||||
if (fahrenheit <= 0 || celcius <= -18) {
|
||||
document.write("Bundle up! It's really cold out there!");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
@@ -0,0 +1,23 @@
|
||||
<!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">
|
||||
<script type="text/javascript">
|
||||
var input = prompt("Please enter a temperature to convert!");
|
||||
var toCelcius = prompt("Do you want to convert to celcius?");
|
||||
if (toCelcius == "true" || toCelcius == "yes") {
|
||||
var celcius = 5 / 9 * (input - 32);
|
||||
document.write( input +" in Celcius is " + celcius + "C");
|
||||
} else {
|
||||
var fahrenheit = (input * 5/9) + 32;
|
||||
document.write(input + "in Fahrenheit is " + fahrenheit + "F")
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
</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">
|
||||
<script type="text/javascript">
|
||||
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
Reference in New Issue
Block a user