Craig White

WEB DEVELOPMENT


Growing up, I enjoyed playing online games, which naturally led to an interest in computers and programming. When an opportunity arose to attend a 24-week boot camp through GWU, it was perfect. I liked learning new tools and techniques and have continued to develop my own skills and toolkit. The boot camp’s instruction focused mainly on the interpretation of documentation and how to effectively manipulate the available open-source code to increase efficiency and productivity, along with a deep understanding of Object-Oriented Programming, algorithms, JavaScript, and SQL database development.

Code Snippets


temperature conversion

The Ruby program prompts and accepts a user inputted Celsius temperature and outputs the Fahrenheit conversion.


 puts "enter degrees celcious"
 val1 = gets.chomp.to_i
 val2 = (val1 * 9 / 5.to_f) + 32
 conversion = val2
 puts "#{val1} degrees celcious is #{val2}"

Ordinal Challange

This Ruby program will convert a plain number to its ordinal, For example, if the user inputs 12, the program will output 12th. For 2, the program outputs 2nd.


	puts "Enter number"
number = gets.chomp.to_i

ones_place = number % 10
tens_place = number % 100

	if tens_place >= 11 && tens_place <= 19 
end
if ones_place == 0 
	puts "#{number}th"
elsif tens_place >= 11 && tens_place <= 19  
	puts "#{number}th"
elsif ones_place == 1 
	puts "#{number}st"
elsif ones_place == 2 
	puts "#{number}nd"
elsif ones_place == 3 
	puts "#{number}rd"
end
else
	puts "#{number}th"

FooBar

this ruby program is an adaptation of a technical interview challange, the user is prompted to enter the endpoint of the sequence to be processed. and displays the Foobar pattern to that number.


n = 0
puts "How many items do you want to see?"
items = gets.chomp.to_i
list = []
(1..items).each do |n|
if n % 3 == 0 && n % 5 == 0
	list.push ("FooBar")
	elsif n % 3 == 0
	list.push ("Foo")
elsif n % 5 == 0
  list.push ("Bar")
else
   list.push  (n)
  end
end
puts list

Web Apps



Quote Generator

A database-powered quote generator with a mobile-first design, using the Ruby on Rails framework, HTML, and CSS. Uses Git and GitHub for version control, deployed using Heroku.

Yelp Clone

A Yelp clone that integrates with the Google Maps API, and includes features like user comments, star ratings, image uploading, and user authentication.


Test Driven Development

An Instagram clone that was built using industry-standard, test-driven development following numerous red/green/refactor cycles.

Single Page Todo Application

This single-page to-do application features a fluid user interface that– by using JavaScript– allows users to rapidly add dynamic content.

Insperational Verse Generator

Another version of the quote generator, powered by an SQL database, Made as a base for future application APIs.

Skills & tools


I have developed proficiency and expertise in the following programming languages and tools.