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
106 changes: 7 additions & 99 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,107 +1,15 @@
# AD - SBA - HTML/CSS/JavaScript

Access my site at https://sotteh7.github.io/ps.3pagewebsite/

# AD - SBA - HTML/CSS/JavaScript

### Description
* In this Skill-based Assessment, you will be creating a small website and you get to pick what is the website about. The main purpose of this SBA is to test your skills in implementing a clean HTML structure that follows the methodologies of visual design, and styling your site so that it is user-friendly.

* You have the entire day for this SBA. Make sure to check in with your instructor for approval of your idea. Your work will be graded based on the below technical requirements. Also, creativity always works in your favor.

* Since this is your first time creating a 3 page website, keep it simple. Keeping it simple is very important. It ensures that you can complete this project within the given time and also gives you a better idea of what can you get done in the given time if you were to do it again with more requirements.

* Once you got your idea, think in the user’s perspective when creating the website.  You like your users to have a good experience when interacting with your site. This gives you a better chance of users trusting your site and coming back for more. For this SBA, don’t worry too much about the content. There are many places you can get free content to display on your site. Concentrate more on the web site's structure and grid system.


* Some resources for free content:
* Photos: `https://www.pexels.com/search/template/`
* Text: `https://www.lipsum.com/`
* GIFs: `https://www.motionelements.com/stock-image-10116013-business-and-startup-4k`

* Useful API sites:
* https://rapidapi.com/ (Links to an external site.)
* https://any-api.com/ (Links to an external site.)
* https://github.com/toddmotto/public-apis#public-apis- (Links to an external site.)
* https://apilist.fun/

### Deliverable:
* A theme for your site that you feel comfortable with
* Complete all technical requirements for HTML, CSS, and Javascript
* Have markups of your pages
* Research for a public API that can provide you with content (Optional)
* Include a README file. The file should include technical specifications and description of your website.
* Host on GitHub, include the link to your GitHub account in the README file(optional)
* Submit the project in a ZIP file




## Technical requirements

* HTML
* Have at least 3 pages, keep the grid system consistent as much as possible
* Use at least 10 different HTML tags
* Use HTML tables
* Implement at least two uses for forms
* Dropped Down Menu
* Use web fonts
* Use different types of content in the form of text, images, videos, and GIFs
* Use regex validation

* CSS
* Inline, internal, and external styling
* Use five different CSS selectors
* Don’t use too many fonts
* Use colors that complement each other
* Use Flexbox (Optional)
* Use SASS/SCSS (Optional)
* Use animations (Optional)

* Javascript
* External scripts
* Use variables, if statements, loops, at least one form of collections, functions/call back, and events
* Use AJAX (Optional)
* Use JSON or XML (Optional)
* Use JQuery (Optional)



## How to Download

#### Part 1 - Forking the Project
* To _fork_ the project, click the `Fork` button located at the top right of the project.


#### Part 2 - Navigating to _forked_ Repository
* Navigate to your github profile to find the _newly forked repository_.
* Copy the URL of the project to the clipboard.

#### Part 3 - Cloning _forked_ repository
* Clone the repository from **your account** into the `~/dev` directory.
* if you do not have a `~/dev` directory, make one by executing the following command:
* * `mkdir ~/dev`
* navigate to the `~/dev` directory by executing the following command:
* * `cd ~/dev`
* clone the project by executing the following command:
* * `git clone https://github.com/${MYUSERNAME}/${NAMEOFPROJECT}`




The Coffee Shop "Espresso Dreams"

This webpage shows my skils thus far in HTML, CSS, & JavaScript.

## How to Submit
The first page is a mock landing page. There is a popup to subscribe in order to receive 10%.

#### Part 1 - _Pushing_ local changes to remote repository
* from a _terminal_ navigate to the root directory of the _cloned_ project.
* from the root directory of the project, execute the following commands:
* * add all changes
* * `git add .`
* * commit changes to be pushed
* * `git commit -m 'I have added changes'`
* * push changes to your repository
* * `git push -u origin master`
From there you can click the world gif to travel to the shopping center. There you can check prices, and type. As well as view locations in the area to buy coffee.

#### Part 2 - Submitting assignment
* from the browser, navigate to the _forked_ project from **your** github account.
* click the `Pull Requests` tab.
* select `New Pull Request`
The last page is the shopping cart checkout. Here you can check out at your convience, and add a donation.
71 changes: 71 additions & 0 deletions css/cart.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
body {
background: #faeae2;
margin: 20px;
border: 100px;

}

*:before,
*:after {
box-sizing: border-box;
}
form {
border: 1.5px solid #0a0c04;
border-radius: 3px;
font: 12px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
color: white;
background-color: #980b36;


overflow: hidden;
width: 200px;
}
fieldset {
border: 0;
margin: 3px;
padding: 0;
}
input {
border-radius: 5px;
font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 5px;
}
.account-info {
padding: 20px 20px 0 20px;
}
.account-info label {
color: #395870;
display: block;
font-weight: bold;
margin-bottom: 20px;
}
.account-info input {
background: #fff;
border: 1px solid #faeae2;
box-shadow: inset 0 1px 1px #faeae2(0, 0, 0, .1);
color: #faeae2;
padding: 6px;
margin-top: 6px;
width: 100%;
}
.account-action {
background: #faeae2;
border-top: 1px solid #faeae2;
padding: 5px;
}
.account-action .btn {
background: linear-gradient(#3c4909, #693619);
border: 0;
color: #fff;
cursor: pointer;
font-weight: bold;
float: left;
padding: 8px 16px;
margin: 0px;
}
.account-action label {
color: #3c4909;
font-size: 12px;
float: left;
margin: 2px 0 0 6px;
}
27 changes: 27 additions & 0 deletions css/gallery.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
body {
background: #faeae2;
margin: 20px;
}
div.gallery {
margin: 50px;
border: .5px solid #980b36;
float: left;
width: 250px;
height: 300px;
}

div.gallery:hover {
border: 6px solid #980b36;
}

div.gallery img {
width: 100%;
height: 125px;
}

div.desc {
padding: 15px;
text-align: center;
}


9 changes: 9 additions & 0 deletions css/landing.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
body {
background: #faeae2;
margin: 20px;
}
:last-child> a > img {
border: 3px solid #980b36;
width: 250px;
height: 300px;
}
9 changes: 0 additions & 9 deletions css/style.css

This file was deleted.

Binary file added img/Earth.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Founder Pic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cart.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/dark.jfif
Binary file not shown.
Binary file added img/download.jfif
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/founder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/golden-coffee-beans.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
86 changes: 32 additions & 54 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,57 +1,35 @@
<!DOCTYPE html>
<html lang="en">

<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<head> <!-- header begins here -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">

<link href="./css/style.css" rel="stylesheet">
<script type="text/javascript" src="./js/header-functions.js"></script>

</head> <!-- header ends here -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->












<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<body> <!-- body begins here -->


The quickest of brown foxes.




<!-- ====================================================== -->
<!-- ====================================================== -->
<footer>
<!-- footer of page begins here -->
<script type="text/javascript" src="./js/footer-functions.js"></script>
</footer> <!-- footer of page ends here -->
<!-- ====================================================== -->
<!-- ====================================================== -->

</body>
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<html>

<head>
<meta>

<link type="text/css" rel="stylesheet" href="css/landing.css"/>

<title>Landing Page</title>

</head>
<body>

<script src="js/subscript.js"></script>

<h1>Espresso Dreams</h1>

<h4>Organic Coffee from Around the World<a href="shopgall.html"><img src="img/Earth.gif" alt="world spinning" width="40px" height="40px"></a></h4>

<h6>established 2020</h6>

<a href="https://vignette.wikia.nocookie.net/disney/images/7/70/OOTCS.png/revision/latest?cb=20110916024855"><img src="img/founder.png" alt="Our Founder; Pen Guin Archibald" width="300px" height="400px" margin="50px"></a>

<h5>Our Founder; Pen Guin Archibald</h5>

<h6>A Solomon Tetteh company</h6>

<!-- Inline Styling-->
<p style="height: 1x; color: red;">"Be the Change" Ghandi</p>

<h3><u>"Our mission is to spread charity through coffee"</u></h3>

</body>

</html>
13 changes: 13 additions & 0 deletions js/subscript.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
var Subscribe = alert("Subscribe today for 10% off");

var myName = prompt("What is your first & last name?");

var ageNumber = prompt("What is your age?");

var locationCity = prompt("What City are you located in?");

var locationState = prompt("State");

var contactEmail = prompt("What is your email")

console.log(myName + ' is ' + ageNumber + ' yrs old, lives in ' + locationCity + ',' + locationState + ', and can be contacted at email address ' + contactEmail);
Loading