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


Access my website by navigating to the following link https://julwac9225.github.io/sba.javascript_3-page-website/

# AD - SBA - HTML/CSS/JavaScript
Party Time website
### 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 website created for the company Party Time that offers variety of party services and supplies.
The website style is user-friendly and includes 3 standard webpages: Home Page, Contact Us, and Our Services.

## How to Submit
### Technical specifications
* Home page includes 2 forms: Login and Registration; interactive top navigation bar; image; and short description of the services the company offers.

#### 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`
* Contact Us page includes interactive top navigation bar, images, company contact details, a gird container used for layout, a table used to create input form, a dropped down menu.

#### 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`
* Our Services page uses responsive grid to represent services. Each grid element has dropped down menu to view service options.
82 changes: 82 additions & 0 deletions contact_us.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<!DOCTYPE html>
<html lang="en">
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<head> <!-- header begins here -->
<meta charset="utf-8">
<title>Party Time - Contact Us</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Contact Us">
<meta name="author" content="Julia Waclawek">

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

</head> <!-- header ends here -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<body>
<header>
<h2><center>Party Time! We Bring Life to Your Party!</center></h2>
<div class="topNavBar" id="myTopnav">
<a href="index.html">Home</a>
<a href="services.html">Our Services</a>
<a href="contact_us.html" class="active">Contact Us</a>
<a href="search.html">Search</a>
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
</header>
<div class="container">
<div style="text-align:center">
<h2>Contact Us</h2>
<p><h4>Let's plan your event together!
<br/>Stop by for a coffee or Leave us a message!</h4></p>
</div>
<div class="row">
<div class="column">
<img src="./img/coffee_plan.jpg" style="width:100%">
<h5><b>Our Location:</b> 2345 Party Ave, Charlotte NC</h5>
<h5><b>Phone number:</b> (704) 567-7869</h5>
<img src="./img/location.jpg" style="width:100%">

</div>
<div class="column">
<form action="/action_page.php">
<label for="fname">First Name</label>
<input type="text" id="fname" name="firstname" placeholder="Your name ..">
<label for="lname">Last Name</label>
<input type="text" id="lname" name="lastname" placeholder="Your last name..">
<label for="country">Country</label>
<select id="country" name="country">
<option value="usa">USA</option>
<option value="canada">Canada</option>
<option value="australia">Australia</option>
<option value="mexico">Mexico</option>
<option value="cuba">Cuba</option>
</select>
<label for="message">Message</label>
<textarea id="message" name="message" placeholder="Write something.." style="height:170px"></textarea>
<input type="submit" value="Submit">
</form>
</div>
</div>
</div>
<footer>
<!-- footer of page begins here -->
<script type="text/javascript" src="./js/footer-functions.js"></script>
</footer> <!-- footer of page ends here -->
<!-- ====================================================== -->
<!-- ====================================================== -->

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

</html>
97 changes: 97 additions & 0 deletions css/contact_us.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
html {
font-family: Cambria, serif;
color: midnightblue;
font-size: 20px;
}
header {
background-color: plum;
}
body {
background-color: plum;
background-position: center;
background-size: cover;
width: 980px;
margin-left: auto;
margin-right: 30px;
padding: 10px;
padding-top: 0px;
}
.topNavBar {
background-color: grey;
overflow: hidden;
}

.topNavBar a {
float: left;
display: block;
color: midnightblue;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}

.topNavBar a:hover {
background-color:whitesmoke;
color: blue;
}

.topNavBar a.active {
background-color:darkslategray;
color: white;
}

.topNavBar .icon {
display: none;
}

* {
box-sizing: border-box;
}

input[type=text], select, textarea {
width: 100%;
padding: 12px;
border: 1px solid gainsboro;
margin-top: 6px;
margin-bottom: 16px;
resize: vertical;
}

input[type=submit] {
background-color: gray;
color: white;
padding: 12px 20px;
border: none;
cursor: pointer;
}

input[type=submit]:hover {
background-color: gray;
}

.container {
border-radius: 5px;
background-color: pink;
padding: 10px;
}

.column {
float: left;
width: 50%;
margin-top: 6px;
padding: 20px;
}

.row:after {
content: "";
display: table;
clear: both;
}

@media screen and (max-width: 600px) {
.column, input[type=submit] {
width: 100%;
margin-top: 0;
}
}
74 changes: 74 additions & 0 deletions css/home_page.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
html {
font-family: Cambria, serif;
color: midnightblue;
font-size: 15px;
}
header {
background-color: plum;
}
body {
background-color: plum;
background-position: center;
background-size: cover;
width: 980px;
margin-left: auto;
margin-right: 30px;
padding: 10px;
padding-top: 0px;
}
img {
float: right;
}
.topNavBar {
background-color: grey;
overflow: hidden;
}

.topNavBar a {
float: left;
display: block;
color: midnightblue;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}

.topNavBar a:hover {
background-color:whitesmoke;
color: blue;
}

.topNavBar a.active {
background-color:darkslategray;
color: white;
}

.topNavBar .icon {
display: none;
}
aside {
float : left;
width : 320px;
height: 800px;
margin-right: 15px;
margin-bottom: 15px;
padding-left: 15px;
padding-right: 15px;
background-color: pink;
border : 1px solid lavenderblush;
}
aside form {
display:inline-block;
line-height: 2em;
margin-bottom: 100px;
text-align: right;
}
aside form {
display:inline-block;
line-height: 2em;
margin-top: 50px;
margin-bottom: 0px;
text-align: right;
}

Loading