Skip to content

modifications #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 51 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
ff35882
html doc
sobitd Jun 23, 2022
979deb6
link css file to index.html
sobitd Jun 23, 2022
76d9a2d
add linear gradient as background image
sobitd Jun 23, 2022
b34e524
Add new claases to navigation section
sobitd Jun 23, 2022
a80ab3a
add font style link to html
sobitd Jun 23, 2022
cfaba2d
navigation bar styling
sobitd Jun 23, 2022
5f5b600
style title
sobitd Jun 23, 2022
f098fe9
styling
sobitd Jun 23, 2022
4436b65
create media query for navbar
sobitd Jun 23, 2022
d821183
styling for nav-responsive
sobitd Jun 23, 2022
b5affaa
span styling
sobitd Jun 23, 2022
d759394
modify html
sobitd Jun 23, 2022
f7147c6
styling updates
sobitd Jun 23, 2022
f06e638
modify html
sobitd Jun 23, 2022
f494772
styling
sobitd Jun 24, 2022
b3e778c
styling
sobitd Jun 24, 2022
6eff4c6
update styling
sobitd Jun 24, 2022
e787561
styling
sobitd Jun 24, 2022
8778e44
style
sobitd Jun 24, 2022
3187731
add table where api data for market prices will be populated
sobitd Jun 24, 2022
9ea3bda
change element holding current market header from div to header
sobitd Jun 24, 2022
fed50da
table to host api data
sobitd Jun 24, 2022
1f5c13d
update on the crypto pricing table styling
sobitd Jun 24, 2022
cc6391b
modify crypto table background color
sobitd Jun 24, 2022
f3ddedf
news section
sobitd Jun 24, 2022
0ac492c
add styling for slider
sobitd Jun 24, 2022
cc8f89f
styling for slides
sobitd Jun 24, 2022
17f43e5
modify slider styling
sobitd Jun 24, 2022
12200f9
add styling for services section
sobitd Jun 24, 2022
4d9a7bb
styling
sobitd Jun 24, 2022
51e86c8
update on styling services section
sobitd Jun 25, 2022
71a8073
carousel section styling
sobitd Jun 25, 2022
50f4e95
edit classes of tectimonial images and deleted divs holding images
sobitd Jun 25, 2022
997e940
modify testimonials section
sobitd Jun 25, 2022
176da87
modify html and styling for testimonials
sobitd Jun 25, 2022
e8ac2f4
update footer styling
sobitd Jun 25, 2022
6bb6b40
update styling for footer section
sobitd Jun 26, 2022
7f2fe42
fetch function to get crypto assets from coincap api
sobitd Jun 26, 2022
2558273
catch error method
sobitd Jun 26, 2022
a949643
update fetch api get request
sobitd Jun 26, 2022
a5742e0
to do list section
sobitd Jun 26, 2022
66fb0f0
modify api due to unrealibilty
sobitd Jun 27, 2022
892a7bd
modify api dom
sobitd Jun 27, 2022
bf81723
updates on nav links
sobitd Jun 27, 2022
993f063
updates
sobitd Jun 27, 2022
a4b9ccb
modify due to javascript failing to work during deployment on github
sobitd Jun 27, 2022
d4528e6
updates
sobitd Jun 28, 2022
79dd1c4
update
sobitd Jun 28, 2022
6660209
updates on api
sobitd Jun 28, 2022
45f0c67
Update README.md
sobitd Jun 28, 2022
7535847
Update README.md
sobitd Jun 28, 2022
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
205 changes: 53 additions & 152 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,172 +1,73 @@
# Phase 1 Project Guidelines
## wikiCap
## By Daniel Sobit
## Table of Content
- [Description](#description)
- [Features](#features)
- [Technology Used](#technology-Used)
- [Licence](#licence)
- [Authors Info](#Authors-Info)
## Description

## Learning Goals
<p>This repository contains the wikiCap web application.</p>

- Design and architect features across a frontend
- Communicate and collaborate in a technical environment
- Integrate JavaScript and an external API
- Debug issues in small- to medium-sized projects
- Build and iterate on a project MVP
[Go Back to the top](#wikiCap)

## Introduction
## Features

Welcome to JavaScript Project Mode!
A cryptocurrency realtime market information using a public APIs to display market prices and news.
A User can see the cryptocurrency prices.
A User can see realtime cryptocurrency news
A User can store notes

You’ve worked so hard to get here and have learned a ton. Now it's time to bring
it all together!
[Go Back to the top](#wikiCap)
### Requirements

For this project, you're going build a Single Page Application (**SPA**).
Building this application will be challenging because it will integrate
everything you've learned up to this point. Your frontend will be built with
HTML, CSS, and JavaScript and will communicate with a public API.
* Access to a computer or any other garget
* Access to internet
* visit the website on your browser
****
[Go Back to the top](#wikiCap)

### Project Requirements
### Live Link

1. Your app must be a HTML/CSS/JS frontend that accesses data from a public API.
All interactions between the client and the API should be handled
asynchronously and use JSON as the communication format.
- Click this link to view the live application [https://sobitd.github.io/wikiCap/]

2. Your entire app must run on a single page. There should be NO redirects. In
other words, your project will contain a single HTML file.

3. Your app needs to incorporate at least 3 separate event listeners
(DOMContentLoaded, click, change, submit, etc).
### Technology Used

4. Some interactivity is required. This could be as simple as adding a "like"
button or adding comments. These interactions do not need to persist after
reloading the page.
* HTML - which was used to develope the structure off the pages.
* CSS - which was used to style the User Interface.
* JS - was used to add interactivity and functionality.
* JSON - a json file that has the product data.
*
[Go Back to the top](#wikiCap)

5. Follow good coding practices. Keep your code DRY (Do not repeat yourself) by
utilizing functions to abstract repetitive code.
## Known Bugs

### Stretch Goals
* display notes on the Pin Notes Here section

1. Use [json-server][] in your project to persist your app's interactivity.
## MIT License

## Strategy, Timeline, and Tips
Copyright (c) [2022] [wikiCap]

### Planning
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

- Plan out your features
- Develop user stories
- “As [ a user ], I want [ to perform this action ] so that
[ I can accomplish this goal ].”
- Features should not need you there to explain them to users
- Plan out the structure of your JSON requests
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

### Project Pitches
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Before you start working on your project, you'll pitch your project idea to your
instructors for approval and feedback.
## Authors Info

For your project pitch, you should include:

- The basic story of your application
- The core features of your MVP
- The API data you'll be using and how you'll use it
- Challenges you expect to face
- How you are meeting the requirements of the project

Feel free to send this pitch to your instructor via slack asynchronously.

### MVP ASAP

- Build a Minimum Viable Product (MVP) as quickly as possible.
- Pick an API and explore it early on to ensure it will work for your need

### Instructor Guidance

You should strive to solve problems independently, but you also shouldn't waste
your time stuck on a problem. A good guideline for a small bug is the rule of
10s:

- 10 minutes debugging the code
- 10 minutes using Google and StackOverflow to try to find an answer
- 10 minutes asking your fellow students for help
- Asking an instructor

If you seek out instructor guidance on your design from the start, they might
help steer you into design and architectural decisions that will help you down
the road. That will also give the instructors context for what your app is
supposed to do, so you won't need to explain everything to them when asking for
help debugging.

### Guidelines for Staying Organized

**Write down** the decisions you make about your project. This will not only
help you think more clearly, it will also help you communicate your project to
instructors when asking for help. In addition to writing everything down, we
also recommend the following to help stay organized and on track:

- Describe/sketch your ideas (use diagrams!).
- Start by creating a frontend directory with the basic files you'll need
- Next, build enough code to get some API data to work with. Don't worry about
building all of your async code yet, just get to the point where you can
access one endpoint on an API, then start working on getting that data
displayed.
- Then, continue to build additional async code and frontend features.
- Continue building features one by one.

Check in with your instructors to make sure your scope and timeline are
manageable.

### JSON Server Instructions

> **Note**: Using `json-server` is a stretch goal, so make sure you have a
> working MVP before trying to set up `json-server`!

You can use this [json-server template][] to generate your backend code. Using
this template will make it easier to deploy your backend later on.

[json-server template]: https://github.com/learn-co-curriculum/json-server-template

If you prefer, instead of using the template, you can create a `db.json` file
with a structure in the root of your project that looks like this:

```json
{
"toys": [
{
"id": 1,
"name": "Woody",
"image": "http://www.pngmart.com/files/3/Toy-Story-Woody-PNG-Photos.png",
"likes": 8
},
{
"id": 2,
"name": "Buzz Lightyear",
"image": "http://www.pngmart.com/files/6/Buzz-Lightyear-PNG-Transparent-Picture.png",
"likes": 14
}
]
}
```

Then, assuming you have `json-server` installed globally, you can run this
command to run the server:

```console
$ json-server --watch db.json
```

Whatever top-level keys exist in your `db.json` file will determine the routes
available. In the example above, since we have a key of `toys` pointing to an
array of toy objects, `json-server` will generate the following routes:

- `GET /toys`
- `POST /toys`
- `GET /toys/:id`
- `PATCH /toys/:id`
- `DELETE /toys/:id`

You can consult the [json-server docs][] for more information.

[json-server docs]: https://www.npmjs.com/package/json-server

## Resources

- [Public APIs](https://github.com/public-apis/public-apis)
- [Fun APIs](https://apilist.fun/)
- [json-server][]

[json-server]: https://www.npmjs.com/package/json-server
Gmail - [Daniel Sobit]([email protected])
99 changes: 99 additions & 0 deletions db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"posts": [
{
"id": 1,
"title": "json-server",
"author": "typicode"
},
{
"text": "IOIOIO",
"id": 31
},
{
"text": "JUIIOIO",
"id": 32
},
{
"text": "KKKK",
"id": 33
},
{
"text": "jdkjd",
"id": 34
},
{
"text": "ccc",
"id": 35
},
{
"text": "ddd",
"id": 36
},
{
"text": "sss",
"id": 37
},
{
"text": "ddd",
"id": 38
},
{
"text": "ddd",
"id": 39
},
{
"text": "sobit",
"id": 40
},
{
"text": "a",
"id": 41
},
{
"text": "s",
"id": 42
},
{
"text": "g",
"id": 43
},
{
"text": "ddd",
"id": 44
},
{
"text": "fffd",
"id": 45
},
{
"text": "gggf",
"id": 46
},
{
"text": "dmjd",
"id": 47
},
{
"text": "dhd",
"id": 48
},
{
"text": "igjfkld",
"id": 49
},
{
"text": "jjkj",
"id": 50
}
],
"comments": [
{
"id": 1,
"body": "some comment",
"postId": 1
}
],
"profile": {
"name": "typicode"
}
}
Loading