Final C# Class Project: developed an application that utilized a relational
database with six tables in SQL Server to customize behavioral health therapies for
young children and individuals with special needs. This had three learning games in
one application. Some technologies used included inheritance,
polymorphism, exception handling, LINQ, an extension method, threading, and a
programmer-created event. Here is a snippet of that code:
public int GetAnswer(int aQuestionNum)
{
//use question number to get answer from database table
string command = "SELECT answerID FROM Questions WHERE Id = " + aQuestionNum + ";";
//create the command, data adapter, and dataset
sqlCommand = new SqlCommand(command, sqlConnection);
sqlDataAdapter = new SqlDataAdapter(sqlCommand);
DataSet dataSet2 = new DataSet();
//fill the dataset, get the table
sqlDataAdapter.Fill(dataSet2);
DataTable dataTable = dataSet2.Tables[0];
foreach (DataRow dataRow in dataTable.Rows)
{
var a = dataRow[0];
aAnswerNum = int.Parse(a.ToString());
}
return aAnswerNum;
}
Try this environmental science trivia application!
Environmental Science Trivia
Final HTML/ CSS Class Project: This project is this portfolio. Included are navigation
buttons and links, various headers and paragraphs, and images included (as you can see).
There is also a separate CSS style sheet used. Here are a couple of sections of
CSS and HTML code:
/* media queries */
@media screen and (min-width: 50px)
{
.samples {
margin: 1em;
font-size: small;
}
ul {
list-style-type: none;
display: flex;
margin: 1em;
}
}
...
<!-- navigation -->
<header>
<nav>
<ul>
<li><a href="portfolio_index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="resume.html">Resume</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>