Skip to content
This repository was archived by the owner on Oct 26, 2020. It is now read-only.

Week3/sadatakhtar #75

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
7d10518
created website and styling
sadatakhtar May 6, 2020
0f8d301
added ellipses to webpage
sadatakhtar May 6, 2020
1976cc3
adjusted padding of some images and replaced bubbles
sadatakhtar May 6, 2020
4575e51
added :first-child puesdo to css file
sadatakhtar May 6, 2020
25cf6c1
added pusedo : first-child to atricle sub-heading
sadatakhtar May 6, 2020
212b91f
added different pictures to blog sections
sadatakhtar May 6, 2020
fb8ef08
added temp links to nav anchors
sadatakhtar May 6, 2020
0fc3031
attempted to add @media screen
sadatakhtar May 6, 2020
5af8e87
added flex 1 to articles
sadatakhtar May 7, 2020
c49ffb1
adjusted nature images widths and also paragraph widths
sadatakhtar May 8, 2020
97a46ba
added extra break line
sadatakhtar May 8, 2020
c937a0b
changed image locations folder
sadatakhtar May 8, 2020
6cb82a0
changed px values to vh except font sizes
sadatakhtar May 10, 2020
6517f07
adjusted media queries for different screen sizes and ipad screen
sadatakhtar May 10, 2020
fc26f67
Started html structure for mobile device
sadatakhtar May 19, 2020
898cf85
first commit with nav bar complete with logo
sadatakhtar May 25, 2020
c885489
completed section one with hero image
sadatakhtar May 25, 2020
00e656c
completed second section with welcom heading and paragraph, also 3 im…
sadatakhtar May 25, 2020
0b022be
created footer with social media icons and background ellipses
sadatakhtar May 25, 2020
6585838
added app.js and also added a slider nav menu
sadatakhtar May 27, 2020
e4d9ac7
adjusted the slider navigation panel
sadatakhtar May 27, 2020
396158b
adjusted the slider navigation panel
sadatakhtar May 27, 2020
8004f6c
added burger animation -toggle when clicked
sadatakhtar May 28, 2020
3fa50fa
created media queries for different size devices starting from mobile…
sadatakhtar May 28, 2020
5ff4415
altered main image width for ipad screen size
sadatakhtar May 28, 2020
ac06357
added media queries for mobile devices and ipad's and also desktop
sadatakhtar May 29, 2020
c25e56e
changed background image for screens 768px and above
sadatakhtar Jun 1, 2020
bb4f475
adjusted slider nav bar to 33% width
sadatakhtar Jun 1, 2020
e2e0fcf
Merge branch 'master' into week3/sadatakhtar
sadatakhtar Jun 2, 2020
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
Prev Previous commit
Next Next commit
adjusted the slider navigation panel
  • Loading branch information
sadatakhtar committed May 27, 2020
commit e4d9ac736b64bafeaaf65114ea455bbe6d9fc297
10 changes: 5 additions & 5 deletions week3/2-website/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ const navLinks = document.querySelectorAll('.navlinks li');
//event listeners

//toggle the nav burger
burger.addEventListener('click', () =>{
burger.addEventListener('click' , () => {
nav.classList.toggle('nav-active');

//animate the links
navLinks.forEach((links, index) =>{
if(List.style.animation){
list.style.animation = ""
navLinks.forEach((link, index) =>{
if(link.style.animation){
link.style.animation = ''
}else{
list.style.animation = `navlinksfade 0.9s ease forwards ${index / 7+ 1}s`
link.style.animation = `navLinkFade 0.9s ease forwards ${index / 7 + 1}s`
}
});
});
5 changes: 4 additions & 1 deletion week3/2-website/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,14 @@ nav{
.navlinks li a:hover{
color: hotpink;
}
.navlinks li{
opacity: 0;
}
.burger{
display: block;
cursor: pointer;
}
@keyframes navlinksfade{
@keyframes navLinkFade{
from{
opacity: 0;
transform: translateX(50px);
Expand Down