Single page android app that is an advertisement for a mock discount takeaway coffee shop.
App is the final project for the Udacity course, Android Basics: User Interface
{ | |
"meta": { "theme": "kendall" }, | |
"basics": { | |
"name": "Christon James Altmann", | |
"label": "Tech Enthusiast | Lifelong Learner", | |
"picture": "", | |
"email": "christonja@gmail.com", | |
"phone": "", | |
"website": "https://christonja.github.io/", | |
"summary": "Long time love of technology however have only recently found my footing in terms of how I want this passion to translate into a career. Through pursuing various roles in IT maintenance, desktop/helpdesk support and most recently assistive technologies for the elderly and disabled I've landed upon programming as the direction I want to take my passion. Currently I am pursuing postgraduate education aswell as online courses and projects where I can to meet this goal.", |
A Repl by Christonja on Repl.it.
My own solutions to an assignment provided by the Web Developer Bootcamp on Udemy, ran by Colt Steele
/*JavaScript Algorithms and Data Structures Projects: Palindrome Checker: | |
Challenge designed by FreeCodeCamp, solution derived completely from my learning obtained | |
thanks to FreeCodeCamp and other sources on the internet, notably W3Schools.com, function calls | |
provided by FreeCodeCamp as ways to test the algorithm*/ | |
function palindrome(str) { | |
// Good luck! | |
//Create a new regexp for checking for alphanumeric characters in string | |
var regexp = /[0-9a-zA-Z]+/g; |
/* JavaScript Algorithms and Data Structures Projects: Caesars Cipher: | |
Challenge designed by FreeCodeCamp, solution derived completely from my learning obtained thanks to FreeCodeCamp | |
and other sources on the internet, notably W3Schools.com, function calls provided by FreeCodeCamp as ways to | |
test the algorithm */ | |
function rot13(str) { | |
var regex = /[A-Z]/; | |
var newStr = ""; | |
var char; | |
//Cycle through the original string |
/*JavaScript Algorithms and Data Structures Projects: Roman Numeral Converter: | |
Challenge designed by FreeCodeCamp, solution derived from learning obtained thanks to FreeCodeCamp and | |
with some assistance from other people's solutions on the internet. I'm not willing to take ownership of | |
the below code beyond that I was on the right track. ie. what is inside the while loop was my own solution. | |
Function calls provided by FreeCodeCamp as ways to test the algorithm*/ | |
function convertToRoman(num) { | |
//Two array of the same length accounting for roman numerals and decimal values those roman numerals represent. | |
var startingNum = num; | |
var decimal = [ 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 ]; |
/*JavaScript Algorithms and Data Structures Projects: Telephone Number Validator: | |
Challenge designed by FreeCodeCamp, solution derived from learning obtained thanks to FreeCodeCamp and with | |
some assistance from other people's solutions on the internet. I'm not willing to take ownership of the below | |
code beyond that I was on the right track. ie. completely my solution however forgot about the ? syntax as an | |
option and therefore followed someone elses example to implement this into my solution. Once I figured out how | |
it worked for the first part of the regular expression I debugged the remainder myself and implemented the ? | |
regex syntax without following any examples. | |
Function calls provided by FreeCodeCamp as ways to test the algorithm*/ | |
function telephoneCheck(str) { |
/* JavaScript Algorithms and Data Structures Projects: Cash Register: Challenge designed by FreeCodeCamp, | |
solution derived completely from my learning obtained thanks to FreeCodeCamp and other sources on the internet. | |
Function calls provided by FreeCodeCamp as ways to test the algorithm */ | |
function checkCashRegister(price, cash, cid) { | |
var changeDue = cash - price; //change required from cash given minus cost of purchase | |
var totalChange = { status: "OPEN", change: [] }; //new object that is initialised with an open status and empty array by default | |
var changeCount = 0; //counter | |
var tempChange; //temporary variable to assist with decrementing the change due, however it could be implemented without this | |
var tempCash; //gets the money out of the cash drawer for the currency unit we're working with |
A Pen by Christonja on CodePen.
Arrays exercise on web dev bootcamp by Colt Steele, all my own solutions.
<head> | |
<!--Website follows a FreeCodeCamp tutorial where it is designed, loosely following a pre-existing | |
example website created by FreeCodeCamp however all code is original and created from scratch by 'Christonja'--> | |
<!--test script courtesy of Free Code Camp--> | |
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script> | |
<!--Google Fonts--> | |
<link href="https://fonts.googleapis.com/css?family=Antic|Fredericka+the+Great" rel="stylesheet"> | |
</head> |