Skip to content
Open
106 changes: 106 additions & 0 deletions Affogato.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
<!DOCTYPE html>
<html lang="en">

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

<link href="./css/style.css" rel="stylesheet">

<!-- Bootstrap links-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
crossorigin="anonymous"></script>

<link href="./css/style.css" rel="stylesheet">


</head>

<body>
<header>
<nav class="navbar navbar-expand-lg navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="index.html">Coffee Warriors</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>

<li class="nav-item dropdown active">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Coffee Type
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">

<a class="dropdown-item" href="black.html">Black</a>
<a class="dropdown-item" href="expresso.html">Espresso</a>
<a class="dropdown-item" href="latte.html">Latte</a>
<a class="dropdown-item" href="Affogato.html">Affogato</a>
</div>
<li class="nav-item">
<a class="nav-link" href="takeTest.html">Take The Test</a>
</li>
</ul>
</nav>
</header>
<main role="main">
<div class="col-md-auto">
<br>
<br>
<h1 class="text-center">Affogato</h1>
</div>

<div class="col-md-auto">
<div class="text-center">
<img src='img/Affogato-Coffee-Dessert-8.jpg ' class="featurette-image img-fluid mx-auto"
alt="resonsive image" width="300px" height="300px">
</div>
</div>

<div class="container">
<div class="row justify-content-center">
<div class="col-md-7">
<h2 class='text-center'><br>What is a Affogato Knight</h1>
<p class="text-center"><br>How daring! Ice cream in your coffee? This means
you’re playful, spontaneous, experimental and supportive of your friends. </p>
</div>
</div>
</div>


<div class="container">
<div class="row justify-content-center">
<div class="col-md-7">
<h2 class="text-center">What is Affogato coffee</h2>
<p class="text-center"><br>An affogato is an Italian coffee-based dessert. It usually takes the form
of a scoop of vanilla gelato or ice cream topped or "drowned" with a shot of hot espresso.
Some variations also include a shot of amaretto, Bicerin, or other liqueur.</p>

<p class="text-center">The affogato is extra delish served over a brownie and can be enjoyed at any
time of the year (our opinion).</p>
</div>
</div>
</div>
</main>
</body>

</html>
104 changes: 28 additions & 76 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
# AD - SBA - HTML/CSS/JavaScript

## webite link: https://jruz9.github.io/sba.javascript_3-page-website/
## My Github Respositories
>https://github.com/Jruz9?tab=repositories
## WebSite Overview
This is a website called coffee warriors. The website is about helping people know more about the different types of coffees why gameifying the experience. We call users knights and lead them toward choosing a clan to help start them on their journey to learning about coffee.


### 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.
## index.html

* 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.
This is the home page and contains general infomation about the website the test
![index.html](/css/indexHtml.png)

* 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.

## black.html
This is a website with information about black coffee and what it means to be a black coffee knight.
![black.html](/css/blackPage.png)

* 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`
## Expresso.html

* 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/
This is a website with information about Espresso coffee and what it means to be a espresso knight.
![Expresso.html](/css/espressoPage.png)


## latte.html
=======
### Deliverable:
* A theme for your site that you feel comfortable with
* Complete all technical requirements for HTML, CSS, and Javascript
Expand All @@ -32,75 +35,24 @@
* Submit the project in a ZIP file


This is a website with information about latte coffee and what it means to be a latte knight.

![latte.html](/css/lattePage.png)

## 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}`
## Affogato.html
This is a website with information about affogato coffee and what it means to be a affogato knight.

![Affogato.html](/css/affogatoPage.png)


## takeTest.html

This is a random knight generator page that chooses the reader "true" coffee knight persona and allows the user to play and learn.


## How to Submit
![takeTest.html](/css/testPage.png)

#### 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`
## signUpPage.html
This is a simple sign up that page that appears when the user submits their email for Coffee Warrior Updates.

#### 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`
![signUpPage.html](/css/signUpPage.png)
104 changes: 104 additions & 0 deletions black.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<!DOCTYPE html>
<html lang="en">

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


<!-- Bootstrap links-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
crossorigin="anonymous"></script>

<link href="./css/style.css" rel="stylesheet">

</head>

<body>
<header>
<nav class="navbar navbar-expand-lg navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="index.html">Coffee Warriors</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>

<li class="nav-item dropdown active">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Coffee Type
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item">Black</a>
<a class="dropdown-item" href="expresso.html">Espresso</a>
<a class="dropdown-item" href="latte.html">Latte</a>
<a class="dropdown-item" href="Affogato.html">Affogato</a>
</div>
<li class="nav-item">
<a class="nav-link" href="takeTest.html">Take the test</a>
</li>
</ul>
</nav>
</header>
<main role="main">
<div class="col-md-auto">
<br>
<br>
<h1 class="text-center">Black</h1>
</div>

<div class="col-md-auto">
<div class="text-center">
<img src='img/cup-of-coffee-spilled-on-black-table-1235717.jpg' class="featurette-image img-fluid mx-auto"
alt="resonsive image" width="650px" height="500px">
</div>
</div>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-7">
<h2 class='text-center'><br>What is a black Knight</h1>
<p class="text-center"><br>You prefer to keep things simple. You are old school, patient, sometimes quiet,
efficient and set in your ways. </p>
</div>
</div>
</div>



<div class="container">
<div class="row justify-content-center">
<div class="col-md-7">
<h2 class='text-center'><br>What is black Coffee</h1>
<p class="text-center"><br>Black coffee is simply coffee that is normally brewed without the addition of
additives such as sugar
, milk, cream or added flavours. </p>

<p class="text-center">If you want to sound fancy, you can call black coffee by its proper name: <i>cafe
noir.</i></p>
</div>
</div>
</div>
</main>

</body>

</html>
Binary file added css/affogatoPage.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 css/blackPage.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 css/espressoPage.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 css/indexHtml.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 css/lattePage.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 css/signUpPage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 26 additions & 4 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
/*font-family: 'Roboto', sans-serif; */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');




body {
background-color: navy;
background-color: #f5f5dc;
}

h1{
font-family: 'Roboto', sans-serif;
color: rgb(0, 0, 0);
/* text-align: center;
position:relative;
left:800px;
top:320px;
font-size: 30px; */
}
h2{

font-family: 'Noto Sans JP', sans-serif;

color: black;
/* text-align: left;
text-underline-position: below; */

object {
height: 100vh;
width: 100vh;
}

Binary file added css/testPage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading