Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 14 additions & 68 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,77 +1,23 @@
Assignment 1 - Hello World: Basic Deployment w/ Git, GitHub, Glitch
===

*DUE: Thursday, August 29th by 11:59 AM (before the start of class!)*

This assignment is a "warm-up" exercise.
You will simply deploy the starting Web site that you will use this term to [Glitch](http://www.glitch.com/).

Treat this assignment as a chance to get up to speed on Git, GitHub, and Glitch.
If you already know these, great.
However, if you're new to them, spend several hours practicing, experimenting, and reading documentation.
In other words, don't just get your website up and done. You will need skills with these tools throughout the rest of the course.
a1-jamevor

Assignment details
---
Show
README.md
Justin Amevor Webware a1 [email protected]

Do the following to complete this assignment:
This project shows all the basic information for me along with a picture and a song. Various design and technical decisions were made detailed in this readme.

1. Fork the starting project code in GitHub. This repo contains:
* the server code, `server.js`
* A starting `index.html` file that you will edit as described below
* A package.json file that helps configure Glitch
* This README
2. Edit `index.html` to show the following information about you:
* your name and class at WPI (e.g. class of 2020) Note: Do not put any contact or personal information that you do not potentially want other people outside of this class to see.
* your major(s) and minor(s)
* previous computer science courses that you have taken at WPI
* your experience with the following technologies and methods (none, some, a lot)
* HTML
* CSS
* Java
* JavaScript
* Ruby
* Python
* unit testing
3. Test your project to make sure that when someone goes to your main page, it displays correctly. You can do this locally by simply running `node server.js` from within the assignment directory.
Technical Achivments:

4. Modify the README file according to the specification below.
5. Commit and push all your changes to GitHub.
6. Deploy your project to Glitch. You can do this by [importing the repo from GitHub](https://medium.com/glitch/import-code-from-anywhere-83fb60ea4875)
7. Ensure that your project has the proper naming scheme (guide follows) so we can find it.
8. Create and submit a Pull Request to the original repo.

Naming and URL Scheme
---

You must use a consistent naming scheme for all projects in this course.
If we can't find it, we can't grade it.

By default Glitch often assigns your application a random name. To change it, click on the project dropdown menu in the upper left corner of Glitch. You will then see an additional text field displaying the project name in the resulting menu; click here to edit the name.

The name scheme should be `a1-yourGitHubUsername`.
The `a1` will need to be updated to `a2`, `a3`, and so on in future projects.

Resources
---

If you need a JavaScript/HTML/CSS refresher, see [Technology Fundamentals by Scott Murray](http://chimera.labs.oreilly.com/books/1230000000345/ch03.html#_html) and/or [JavaScript Codeacademy](https://www.codecademy.com/en/tracks/javascript).

If you need a Git/GitHub refreseher, see [GitHub Bootcamp](https://help.github.com/categories/bootcamp/), the [GitHub Guides](https://guides.github.com/) (especially the ones on Hello World, and Understanding the GitHub Flow, and Forking Projects), and [CodeSchool's Try Git Course](https://www.codeschool.com/courses/try-git).

Sample Readme (delete the above when you're ready to submit, and modify the below so with your links and descriptions)
---

Charlie Roberts
http://a1-charlieroberts.glitch.me

This project shows ...

## Technical Achievements
- **Proved P=NP**: Using a combination of...
- **Solved AI**: ...

### Design Achievements
- **Re-vamped Apple's Design Philosophy**: Shown in `style.css`, the code...
I added in a side navigation bar that will stay in the same place when the user scrolls through the page. I put in links to my GitHub and LinkedIn page.
I added in a song that he user can start pause, and download.
To make the index.html page cleaner I made my own style sheet and put all the CSS in that file.
Design Achivements:

The colors chosen in the table help correlate to my knowledge in the subject. Green is what I know best, yellow was for having basic knowledge, red is for never using the language before.
Along with choosing the various colors and fonts to add to the aesthetics of the page, I added in a table to view my experience with various programming languages and a picture.
References Most of my esearch was done using w3schools Topics used: Margins Nav bar padding jquerry https://www.w3schools.com/ https://www.youtube.com/watch?v=ARs37sA4lnk&t=141s https://www.youtube.com/watch?v=9F49XgzlZgA

Issues: I attempted to use JQuerry to use hide and show but I was unsuccesful
108 changes: 93 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,106 @@
<!doctype html>
<html lang="en">
<head>
<title>CS4241 Assignment 1</title>

<!--
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js"></script>

<script>
$(document).ready(function(){
$("#Yes").click(function(){
$("p").yes();
});
$("#Nah").click(function(){
$("p").nah();
});
});
</script>
-->

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title>CS4241 Assignment 1</title>
<link href="./styles.css" rel="stylesheet" type="text/css">


<div class="navbar">
<ul>
<a href="https://www.linkedin.com/in/justin-amevor-897178128/">LinkedIn</a>
<a href="https://github.com/jamevor">Github</a>
</ul>
<p> <i> Warning: Clicking links will exit page </i> </p>
</div>
</head>


<div class= "allbody">
<body>
<h1>Information about [Your name here]</h1>
<p>
[Self introduction]
</p>
<h1>Information about Justin Amevor</h1>
<p>
[Major and other information]
</p>
<p>
[Other things]
This is my favorite song!
</p>
<div class= "music">
<audio controls>
<source src="https://cdn.glitch.com/0a9376cf-8155-415a-ac46-5351009c3b6f%2FDreamsAndNightmaresInstrumental.mp3?v=1567012637001" type="audio/mpeg">
</audio>
</div>

<!--
<p>Do you want to learn about me?</p>

<h2>Experience</h2>
<button id="Yes">Yes</button>
<button id="Nah">Nah</button>
-->

<div class= "myinfo">
<p>
I am from Worcester, Massachusetts and I go to WPI.
</p>
<p>
I am a senior majoring in computer science.
</p>
<p>
I have had two internships in software development and testing.
</p>
</div>


<h2 >My Experience</h2>
<p>
Working experience
I have taken CS1101, CS2102, CS3133, Database 1 and 2, Algortithms, Systems Programming, and HCI.
My expirence in the following languages is as follows:
</p>
<ul>
<li>IBM/Rational</li>
<li>WPI</li>
</ul>

<div class= "table">
<table style="width:100%">
<tr>
<th style= "background-color: green;">Much Knowlege</th>
<th style= "background-color: yellow;">Some Knowlege</th>
<th style= "background-color: red;">No Clue</th>
</tr>
<tr>
<td>Python </td>
<td>HTML</td>
<td>Ruby</td>

</tr>
<tr>
<td>Unit Testing</td>
<td>CSS</td>
<td></td>
</tr>
<tr>
<td>Java</td>
<td>Javascript</td>
<td></td>
</tr>
</table>
</div>

<footer>
<img src="https://cdn.glitch.com/0a9376cf-8155-415a-ac46-5351009c3b6f%2FDlb-mxlU0AE9_sA.jpg?v=1567028513900" style="width:400px;height:300px;">
</footer>

</body>
</div>
</html>
7 changes: 5 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ const server = http.createServer( function( request,response ) {
break
case '/index.html':
sendFile( response, 'index.html' )
break;
case '/styles.css':
sendFile( response, 'styles.css');
break
default:
response.end( '404 Error: File Not Found' )
Expand All @@ -19,7 +22,7 @@ server.listen( process.env.PORT || port )

const sendFile = function( response, filename ) {
fs.readFile( filename, function( err, content ) {
file = content
response.end( content, 'utf-8' )
file = content;
response.end(content, 'utf-8' )
})
}
56 changes: 56 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
body{
background-color: coral;
}
.divchange {

border: 1px solid #555;
}
#div2{
background-color: blue;
}
body {
margin: 0;
}

.allbody{
margin-left:167px;
}

.navbar {
width: 130px;
position: fixed;
z-index: 1;
top: 20px;
left: 10px;
background: #eee;
overflow-x: hidden;
padding: 8px 10px;
background-color: #ADD8E6;
}

.navbar a {
padding: 6px 8px 6px 1px;
text-decoration: none;
font-size: 21px;
color: #000000
display: block;
}

table, th, td {
border: 2px solid black;
}

.myinfo{
border-style: solid;
border-color: red green blue yellow;
}

.music{
padding-bottom: 20px
}
.table{
padding-bottom: 20px;
}