Skip to content
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

Feedback #112

Open
wants to merge 290 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
7168a95
Delete style.css
jorgennonstad May 5, 2023
c0cce42
Update index.html
jorgennonstad May 5, 2023
c3acd56
Add files via upload
jorgennonstad May 5, 2023
538100f
scss files
jorgennonstad May 5, 2023
54355f3
Merge pull request #17 from AdvancedCSS2023/changed-to-scss
jorgennonstad May 5, 2023
fd50012
added images
jorgennonstad May 5, 2023
14bc0f9
added animations
jorgennonstad May 5, 2023
04f0555
made some color variables
jorgennonstad May 5, 2023
b050829
styled some text
jorgennonstad May 5, 2023
75ea5a6
layout
jorgennonstad May 5, 2023
a13b2a1
added scenes that i styled
jorgennonstad May 5, 2023
9c06cdb
style
jorgennonstad May 5, 2023
ca61e09
intersection observer
jorgennonstad May 5, 2023
b9a10b1
Merge pull request #18 from AdvancedCSS2023/added-elements-and-style
jorgennonstad May 5, 2023
f241a7d
Add files via upload
jorgennonstad May 5, 2023
2a75dcc
added a little detail
jorgennonstad May 5, 2023
4130925
merge: added something
jorgennonstad May 5, 2023
255402f
Add files via upload
johanfka May 9, 2023
92be6cf
Merge pull request #20 from AdvancedCSS2023/wave-img
johanfka May 9, 2023
866e67b
Update _animations.scss
solvre May 10, 2023
246e99d
Merge pull request #21 from AdvancedCSS2023/animation-sun
solvre May 10, 2023
389ff92
Update index.html
solvre May 10, 2023
c2f0872
Merge pull request #22 from AdvancedCSS2023/man+man-animation
solvre May 10, 2023
751625b
Update _layout.scss
solvre May 10, 2023
6072618
Merge pull request #23 from AdvancedCSS2023/man-css
solvre May 10, 2023
d6bd3df
Update _color.scss
solvre May 10, 2023
6c7e09d
Merge pull request #24 from AdvancedCSS2023/main
solvre May 10, 2023
1dba279
Merge pull request #25 from AdvancedCSS2023/man-css
solvre May 10, 2023
e7584d5
Update _layout.scss
solvre May 10, 2023
c2c142e
Merge pull request #26 from AdvancedCSS2023/man-animation
solvre May 10, 2023
af0e113
Update _animations.scss
solvre May 10, 2023
c82add2
Merge pull request #27 from AdvancedCSS2023/man-animation-keyframes
solvre May 10, 2023
65cfc6d
color scheme index.css
alnaderelina May 10, 2023
52ea477
Merge pull request #28 from AdvancedCSS2023/color-scheme
alnaderelina May 10, 2023
0d5e930
Update _layout.scss
solvre May 10, 2023
06ba9e6
Merge pull request #29 from AdvancedCSS2023/man--css
solvre May 10, 2023
eb4b01a
waves index.html
johanfka May 10, 2023
c4f32ba
Merge pull request #30 from AdvancedCSS2023/waves-animation
johanfka May 10, 2023
876b38f
waves layout _layout.scss
johanfka May 10, 2023
550da61
Merge pull request #31 from AdvancedCSS2023/waves-css
johanfka May 10, 2023
bc69967
waves animation _animations.scss
johanfka May 10, 2023
6a4b733
Merge pull request #32 from AdvancedCSS2023/waves-animation
johanfka May 10, 2023
fc92ff2
wave-url _color.scss
johanfka May 10, 2023
babf760
Update index.css
alnaderelina May 10, 2023
22ec2d1
Merge pull request #33 from AdvancedCSS2023/variabel-waveimage
johanfka May 10, 2023
2e5d9cd
Merge pull request #34 from AdvancedCSS2023/index-css
alnaderelina May 10, 2023
9ed16bd
Updateurl wave _color.scss
johanfka May 10, 2023
3510f60
Merge pull request #35 from AdvancedCSS2023/url-fix-wave
johanfka May 10, 2023
49466a7
cooler scheme_layout.scss
alnaderelina May 10, 2023
ab773a4
Merge pull request #36 from AdvancedCSS2023/color-scheme
alnaderelina May 10, 2023
971dd3a
Update waves _layout.scss
johanfka May 10, 2023
08dbbfc
Merge pull request #37 from AdvancedCSS2023/wave-fixing-issue
johanfka May 10, 2023
02d716b
Update _color.scss
johanfka May 10, 2023
0166138
Merge pull request #38 from AdvancedCSS2023/fixing-class-waves
johanfka May 10, 2023
019c170
wave and dock overflow _layout.scss
johanfka May 10, 2023
77e6717
Merge pull request #39 from AdvancedCSS2023/waves-fixing-overflow
johanfka May 10, 2023
6e2cfe7
Update _animations.scss
solvre May 10, 2023
07b457f
Merge pull request #40 from AdvancedCSS2023/man-replace
solvre May 10, 2023
b2db600
Update index.html
solvre May 10, 2023
817d7fa
Merge pull request #41 from AdvancedCSS2023/replace-man
solvre May 10, 2023
6205fd9
Update _layout.scss
johanfka May 10, 2023
558f42d
Merge pull request #42 from AdvancedCSS2023/wave-postion-edit
johanfka May 10, 2023
c666850
Update _layout.scss
solvre May 10, 2023
462bf8b
Merge pull request #43 from AdvancedCSS2023/man-layout-style
solvre May 10, 2023
88f648f
Add files via upload
solvre May 10, 2023
727d64e
Update _animations.scss
solvre May 10, 2023
9dc400a
Merge pull request #44 from AdvancedCSS2023/man-fix
solvre May 10, 2023
64b834c
Update _layout.scss
johanfka May 10, 2023
e960d3d
Merge pull request #45 from AdvancedCSS2023/wave-1.edition
johanfka May 10, 2023
01c3648
Update _layout.scss
johanfka May 10, 2023
1731c4a
Merge pull request #46 from AdvancedCSS2023/wave-fix-issue
johanfka May 10, 2023
3d7d7d3
Update _layout.scss
jorgennonstad May 10, 2023
024751f
Update _color.scss
jorgennonstad May 10, 2023
5c5fe3f
Merge pull request #47 from AdvancedCSS2023/main
jorgennonstad May 10, 2023
0a51589
Merge pull request #48 from AdvancedCSS2023/fixed-wave-position-and-z…
jorgennonstad May 10, 2023
c1d8b27
Update _layout.scss
jorgennonstad May 10, 2023
ccbd047
Update README.md
alnaderelina May 10, 2023
5b6176d
Update README.md
alnaderelina May 10, 2023
3046c50
Update README.md
alnaderelina May 10, 2023
23f5ca4
Update README.md
alnaderelina May 10, 2023
3e18b13
Update _animations.scss
solvre May 10, 2023
9bdf8f9
Merge pull request #49 from AdvancedCSS2023/issue-fix
solvre May 10, 2023
3db2a39
index fish index.html
johanfka May 10, 2023
3c33a32
Merge pull request #50 from AdvancedCSS2023/fishes
johanfka May 10, 2023
d6cae4d
Update script.js
johanfka May 10, 2023
db7ecef
Merge pull request #51 from AdvancedCSS2023/fish-intersection-observer
johanfka May 10, 2023
06b6996
animation fish_animations.scss
johanfka May 10, 2023
3434fc9
Merge pull request #52 from AdvancedCSS2023/fish-animation
johanfka May 10, 2023
e434af9
Update _animations.scss
solvre May 10, 2023
009c744
Merge pull request #53 from AdvancedCSS2023/animation-walking
solvre May 10, 2023
39edfdb
layout fish_layout.scss
johanfka May 10, 2023
facde85
Merge pull request #54 from AdvancedCSS2023/fish-styles
johanfka May 10, 2023
e3fda9d
Update _animations.scss
solvre May 10, 2023
02eb2f7
Merge pull request #55 from AdvancedCSS2023/proper-animation-code
solvre May 10, 2023
5a6b877
Update _animations.scss
solvre May 10, 2023
4935c69
Update _animations.scss
solvre May 10, 2023
71c8987
Merge pull request #56 from AdvancedCSS2023/details-animation
solvre May 10, 2023
f2253ed
Update index.html
johanfka May 11, 2023
331c68f
Merge pull request #57 from AdvancedCSS2023/new-fish-index
johanfka May 11, 2023
c20bec9
adding fish_animations.scss
johanfka May 11, 2023
d5f2139
Merge pull request #58 from AdvancedCSS2023/adding-fish-animation
johanfka May 11, 2023
ef5fea2
fish_layout.scss
johanfka May 11, 2023
e0e4326
Merge pull request #59 from AdvancedCSS2023/fish-layout
johanfka May 11, 2023
750ce11
Update index.html
johanfka May 11, 2023
7408c8c
Merge pull request #60 from AdvancedCSS2023/fish-png-change
johanfka May 11, 2023
ade435a
Update README.md
alnaderelina May 11, 2023
443ceea
Update README.md
alnaderelina May 11, 2023
b4c5bad
Update README.md
alnaderelina May 11, 2023
8e66966
Update README.md
alnaderelina May 11, 2023
cc53c5e
Update README.md
solvre May 11, 2023
433d567
Update README.md
solvre May 11, 2023
382c05f
reduced motion _animations.scss
johanfka May 11, 2023
8e4fc8e
Merge pull request #62 from AdvancedCSS2023/reduced-motion
johanfka May 11, 2023
cc7cd71
story index.html
alnaderelina May 11, 2023
61398e4
Merge pull request #63 from AdvancedCSS2023/add-the-story
alnaderelina May 11, 2023
d856656
edit the story index.html
alnaderelina May 11, 2023
1cb7217
Merge pull request #64 from AdvancedCSS2023/edit-the-story
alnaderelina May 11, 2023
c141c57
Update README.md
alnaderelina May 11, 2023
ef77dbf
reduced motion _animations.scss
johanfka May 11, 2023
6658723
Merge pull request #65 from AdvancedCSS2023/waves-and-sun-reduced
johanfka May 11, 2023
86bfb07
fix waves-4 _layout.scss
johanfka May 11, 2023
a7a7725
Update index.html
alnaderelina May 11, 2023
e6eeffb
Merge pull request #66 from AdvancedCSS2023/wave-4-fix
johanfka May 11, 2023
9f48440
Merge pull request #67 from AdvancedCSS2023/changing-in-html
alnaderelina May 11, 2023
e01cccd
Update README.md
alnaderelina May 11, 2023
6d6b8a1
Update README.md
alnaderelina May 11, 2023
178580d
Update README.md
alnaderelina May 11, 2023
ac8378a
Update README.md
alnaderelina May 11, 2023
37d6c9a
Update _color.scss
jorgennonstad May 11, 2023
f4b507f
fixed dark mode
jorgennonstad May 11, 2023
9c9d528
Update index.html
jorgennonstad May 11, 2023
f16808d
Merge pull request #68 from AdvancedCSS2023/dark-mode
jorgennonstad May 11, 2023
fbfc3d4
Update _layout.scss
jorgennonstad May 11, 2023
fcb11a8
Update _animations.scss
johanfka May 11, 2023
8ce77cc
Add files via upload
jorgennonstad May 11, 2023
464ec75
Merge pull request #69 from AdvancedCSS2023/fix-bottleflip
johanfka May 11, 2023
682c4c1
Update _animations.scss
jorgennonstad May 11, 2023
2c01929
Merge pull request #71 from AdvancedCSS2023/edited-sun-animation
jorgennonstad May 11, 2023
7226aa5
Update index.html
solvre May 11, 2023
1bb29e4
Update _animations.scss
solvre May 11, 2023
3acd8fb
Merge pull request #72 from AdvancedCSS2023/clouds-html
solvre May 11, 2023
fca2a3a
Update _layout.scss
solvre May 11, 2023
17798df
Merge pull request #73 from AdvancedCSS2023/clouds-css
solvre May 11, 2023
10b6c94
Update _animations.scss
jorgennonstad May 11, 2023
c535ad3
Merge pull request #74 from AdvancedCSS2023/fix-reduce-motion-bug
jorgennonstad May 11, 2023
52bca36
Update _color.scss
solvre May 11, 2023
e30352f
Merge pull request #75 from AdvancedCSS2023/clouds-color
solvre May 11, 2023
e3d0088
Update _layout.scss
solvre May 11, 2023
1c24556
Merge pull request #76 from AdvancedCSS2023/clouds-adjustment
solvre May 11, 2023
2c24cd0
Update _animations.scss
solvre May 11, 2023
66f1bd8
Merge pull request #77 from AdvancedCSS2023/cloud-animation
solvre May 11, 2023
482eecd
Add files via upload
jorgennonstad May 11, 2023
f487e42
Update index.html
johanfka May 11, 2023
c9ec382
Merge pull request #78 from AdvancedCSS2023/adding-scene-9-10
johanfka May 11, 2023
ce033f3
Update _layout.scss
johanfka May 11, 2023
0915d99
Merge pull request #79 from AdvancedCSS2023/layout-scene-9
johanfka May 11, 2023
28ecae2
trash-bin index.html
johanfka May 11, 2023
909f762
Merge pull request #80 from AdvancedCSS2023/trash-bin
johanfka May 11, 2023
b177a2b
trash-bin layout _layout.scss
johanfka May 11, 2023
0b4029b
Merge pull request #81 from AdvancedCSS2023/trash-bin-layout
johanfka May 11, 2023
63fa451
bottle animation fix _animations.scss
johanfka May 11, 2023
bd5e20d
Merge pull request #82 from AdvancedCSS2023/bottle-animation-fix
johanfka May 11, 2023
53dd49c
fact about goal 14 index.html
alnaderelina May 11, 2023
6523435
Merge pull request #83 from AdvancedCSS2023/fact-about-goal-14
alnaderelina May 11, 2023
b4fd6a8
Update index.html
alnaderelina May 11, 2023
be7a585
Merge pull request #84 from AdvancedCSS2023/edit-html
alnaderelina May 11, 2023
abb6a60
Update _animations.scss
solvre May 11, 2023
184f501
Merge pull request #85 from AdvancedCSS2023/fix-mistake
solvre May 11, 2023
6e50858
editing the story index.html
alnaderelina May 11, 2023
9c9075b
Merge pull request #86 from AdvancedCSS2023/editing-the-story
alnaderelina May 11, 2023
139b4ff
Update index.html
alnaderelina May 11, 2023
2aa4c4c
Merge pull request #87 from AdvancedCSS2023/text
alnaderelina May 11, 2023
cf52454
Update bottle rotation _animations.scss
johanfka May 11, 2023
ab8ea0b
Merge pull request #88 from AdvancedCSS2023/fixing-rotation-bottle
johanfka May 11, 2023
091a71b
added scene
jorgennonstad May 11, 2023
8b49cfc
added more animations
jorgennonstad May 11, 2023
855a021
added animations
jorgennonstad May 11, 2023
cb645f5
added js
jorgennonstad May 11, 2023
5ec8cde
added animations
jorgennonstad May 11, 2023
6f07d08
made new color varables and set new colors
jorgennonstad May 11, 2023
3795e5b
Update _font.scss
jorgennonstad May 11, 2023
6d83f5f
styled new elements
jorgennonstad May 11, 2023
7f2bc50
Update index.css
jorgennonstad May 11, 2023
120d832
Update index.css.map
jorgennonstad May 11, 2023
8d7234b
Update index.css.map
jorgennonstad May 11, 2023
a20a8ae
Update index.scss
jorgennonstad May 11, 2023
8808b2f
Merge pull request #89 from AdvancedCSS2023/a-lot-of-new-stuff
jorgennonstad May 11, 2023
b9e549a
Update _animations.scss
solvre May 11, 2023
f8af989
Merge pull request #90 from AdvancedCSS2023/clouds-code-disapeared
solvre May 11, 2023
3aebc57
Update _layout.scss
solvre May 11, 2023
7f9ec71
Merge pull request #91 from AdvancedCSS2023/clouds-restore-css
solvre May 11, 2023
902e356
Update _color.scss
solvre May 11, 2023
dfe04cc
Merge pull request #92 from AdvancedCSS2023/color-clouds
solvre May 11, 2023
d8dd586
Update index.html
solvre May 11, 2023
fdb95a3
Merge pull request #93 from AdvancedCSS2023/html-clouds-restore
solvre May 11, 2023
e5582a3
Add files via upload
solvre May 11, 2023
b5ea507
Add files via upload
solvre May 11, 2023
625c377
Add files via upload
solvre May 11, 2023
3635f4c
Update index.html
solvre May 11, 2023
8866f59
Merge pull request #94 from AdvancedCSS2023/recycle-examples
solvre May 11, 2023
5948c04
Update index.html
solvre May 11, 2023
896ee7b
Merge pull request #95 from AdvancedCSS2023/text-editing
solvre May 11, 2023
09a1294
Update _font.scss
alnaderelina May 12, 2023
0e781c0
Merge pull request #96 from AdvancedCSS2023/font-size
alnaderelina May 12, 2023
dbc61a6
Update wave _layout.scss
johanfka May 12, 2023
1607838
Merge pull request #97 from AdvancedCSS2023/waves-fix
johanfka May 12, 2023
c3d002e
SVG scene10 add_layout.scss
johanfka May 12, 2023
0bc086e
Merge pull request #98 from AdvancedCSS2023/SVG
johanfka May 12, 2023
a409d5a
SVG index index.html
johanfka May 12, 2023
e170671
Merge pull request #99 from AdvancedCSS2023/SVG-index
johanfka May 12, 2023
6e21206
svg part 2 index.html
johanfka May 13, 2023
ff5456b
Merge pull request #100 from AdvancedCSS2023/svg-part2
johanfka May 13, 2023
6a315fd
Layout SVG part 2_layout.scss
johanfka May 13, 2023
df7ac28
Merge pull request #101 from AdvancedCSS2023/SVG-layout-part-2
johanfka May 13, 2023
9253aba
animation svg_animations.scss
johanfka May 13, 2023
b670d80
Merge pull request #102 from AdvancedCSS2023/new-animation-svg
johanfka May 13, 2023
c22ff0e
Update _animations.scss
jorgennonstad May 13, 2023
9af7f0f
Update _color.scss
jorgennonstad May 13, 2023
1a0bac9
Update _font.scss
jorgennonstad May 13, 2023
842b7ea
Update _layout.scss
jorgennonstad May 13, 2023
c9f1b50
Update script.js
jorgennonstad May 13, 2023
2d62732
Update index.html
jorgennonstad May 13, 2023
0ff2397
Merge pull request #103 from AdvancedCSS2023/convert-to-BEM
jorgennonstad May 13, 2023
3cd5b6a
index svg change index.html
johanfka May 14, 2023
88e6794
Merge pull request #104 from AdvancedCSS2023/svg-change
johanfka May 14, 2023
dc119c3
Add files via upload
johanfka May 14, 2023
e9d42f1
Merge pull request #105 from AdvancedCSS2023/img-svg-change
johanfka May 14, 2023
0948235
animation svg change _animations.scss
johanfka May 14, 2023
b1f278e
Merge pull request #106 from AdvancedCSS2023/animation-svg-change
johanfka May 14, 2023
e0c0539
layout svg update _layout.scss
johanfka May 14, 2023
b105689
Merge pull request #107 from AdvancedCSS2023/layout-svg
johanfka May 14, 2023
e37f678
Update _layout.scss
solvre May 14, 2023
47693a9
Merge pull request #108 from AdvancedCSS2023/orientation-man
solvre May 14, 2023
a1d6828
Add files via upload
alnaderelina May 14, 2023
b94d478
head svg _animations.scss
johanfka May 14, 2023
ebc3ac5
animation head svg_animations.scss
johanfka May 14, 2023
7cc2908
Merge branch 'main' into svg-head-animation
johanfka May 14, 2023
f62696a
Merge pull request #109 from AdvancedCSS2023/svg-head-animation
johanfka May 14, 2023
d55eb3f
Delete iphone landscape.png
alnaderelina May 14, 2023
1386c74
Add files via upload
alnaderelina May 14, 2023
c69bf3c
deleting comments animation_animations.scss
johanfka May 14, 2023
9b3f30b
Merge pull request #110 from AdvancedCSS2023/deleting-comments-animation
johanfka May 14, 2023
8de1c1c
Delete portrait_vs_landscape.png
alnaderelina May 14, 2023
1c0e613
Update _layout.scss
solvre May 14, 2023
11fb948
Merge pull request #111 from AdvancedCSS2023/overflow
solvre May 14, 2023
65d801d
Update _layout.scss
jorgennonstad May 14, 2023
bb27b84
Update _layout.scss
jorgennonstad May 14, 2023
c7c9b7a
Update index.html
jorgennonstad May 14, 2023
80dff06
Add files via upload
jorgennonstad May 14, 2023
d9de53c
Update index.html
jorgennonstad May 14, 2023
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
51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,52 @@
[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-24ddc0f5d75046c5622901739e7c5dd533143b0c8e959d652212380cedb1ea36.svg)](https://classroom.github.com/a/E1TYCvbT)
[![Open in Visual Studio Code](https://classroom.github.com/assets/open-in-vscode-718a45dd9cf7e7f842a935f5ebbe5719a5e09af4491e668f4dbf3b35d5cca122.svg)](https://classroom.github.com/online_ide?assignment_repo_id=10922263&assignment_repo_type=AssignmentRepo)



What the project does.

This project is an animated, scrollable website about sustainable goal 14. UN's sustainable goal 14 is about conserving and use the oceans sustainably. Sea and marine resources are an important key element for a future within sustainable development, and should therefore be utalized.
In the project we are using advanced CSS features such as CSS architecture, Sass, BEM, SVG, keyframe animations, transitions and transformations to achieve a unique and fun scrolling experience that hopefully will be educating.

This site features a scrolling narration, implemented use of Intersection Observer, and includes accessibility features such as "prefer-color-scheme" to ensure an optimal user experience.
The primary objective of the project is to educate users about Sustainable Development Goal 14, which focuses on ocean conservation and sustainable use of marine resources. This is achieved through a combination of storytelling, animations, layout, and typography, which are designed to engage and inform users about the importance of protecting our oceans.


Why the project is useful

This project aims to raise awareness about United Nations Sustainable Development Goal 14: Life Below Water. Through an engaging scrollytelling experience, it educates individuals about the importance of protecting and sustainably managing our oceans, seas, and marine resources. By showcasing the challenges faced by marine ecosystems and offering actionable solutions, the project encourages people to become advocates for Goal 14 and contribute to a healthier and more sustainable future for our planet.


How users can get started with the project

1. To get started with the project you can Visit the GitHub Pages link where the project is published

2. Explore the visually captivating animations and educational resources on the website to support Sustainable Development Goal 14, which aims to conserve and sustainably use the oceans, seas, and marine resources.

3. For developers interested in contributing to the project,begin by forking the repository and cloning it to your local machine.

4. Next, create a new branch for the feature you'd like to work on and start making changes to the code.

5. Once you've completed your changes, push the branch to your forked repository and create a pull request to merge your changes into the original repository. Join the effort to protect our oceans and promote sustainable use of marine resources by contributing to this important project!



Where users can get help with your project

Please consult the README file located in the project's GitHub repository for guidance.
If you encounter any bugs or issues, please utilize the "Issues" section within the GitHub repository to report them.
For assistance or inquiries regarding the project, feel free to contact the team members listed as contributors in the GitHub repository.


Which technology is used

To promote sustainability goal 14, the project employs a variety of technologies to create an animated and scrollable website. These technologies include advanced CSS features, CSS architecture, Sass, BEM, SVG, keyframe animations, transitions, transformations,implementation of accessibility, prefers-reduced-motion, prefers-color-scheme, orientation and Scrollytelling using Intersection Observer and Javascript. we have used the color-scheme to change the sun to moon and a background gradient from lighter to darker shades creates a distinct transition that gives off a night-time vibe.
The sun, the bottle, and the waves are reduced motion elements that represent the need to reduce our impact on the environment. By incorporating the prefers-reduced-motion feature, the website ensures that users who prefer reduced motion can access the content without any discomfort.
By utilizing these technologies, the project is visually appealing, informative, and accessible to a diverse range of users.


Who maintains and contributes to the project

Since this project is a work on github, anyone who's a member of the community are allowed and able to contribute if they want to.
The project is maintained and contributed by the team members which is listed in the github repository,
Elina, Johan, Jørgen and Solveig.
Binary file added images/bottle-trash-1.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 images/bottle-trash-2.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 images/bottle-trash.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 images/bottle.jpeg
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 images/bottle.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 images/carpet.avif
Binary file not shown.
Binary file added images/cloud.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 images/coral-purple.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 images/dead-coral-left.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 images/dead-coral-right.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 images/dead-earth.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 images/fish3D.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 images/fishBlack.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 images/fishBlack4.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 images/fishBlue.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 images/fishBlue2.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 images/fishDead.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 images/fishGreen.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 images/fishGreen2.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 images/fishGrey.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 images/fishGrey2.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 images/fishOrange.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 images/fishOrange2.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 images/fishPink.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 images/fishStrange.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 images/fishStrange2.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 images/fishStrange3.gif
Binary file added images/fishStrange4.png
Binary file added images/fishblack2.png
Binary file added images/fishblack3.png
Binary file added images/fishgrey3.png
Binary file added images/fishing_dock.png
Binary file added images/green-sea-grass-left.png
Binary file added images/green-sea-grass-right.png
Binary file added images/healthy-earth.png
Binary file added images/landscape.png
Binary file added images/man.png
Binary file added images/moon.png
Binary file added images/nice-bottle.png
Binary file added images/ocean-wave-small-tattoo-7793.png
Binary file added images/pink-coral.png
Binary file added images/recycled-bottle.png
Binary file added images/sleepingba.png
Binary file added images/sun .png
Binary file added images/sun.png
21 changes: 21 additions & 0 deletions images/tracksuit.svg
Binary file added images/trash-bin.png
Binary file added images/tshirt.webp
Binary file not shown.
Binary file added images/upholstery.png
Binary file added images/water-bottle-3927420_1280.png
Binary file added images/wave.png
Binary file added images/waves-noncolor.png
Binary file added images/waves.png
188 changes: 187 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1,187 @@
<h1>hei</h1>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Group 1 Assignment 3</title>
<link rel="stylesheet" href="./style/index.css" />
<script src="./script.js" defer></script>
</head>
<body>
<div class="pop-up"> <img class="test" src="./images/landscape.png" alt=""></div>
<main>

<!-- SCENE 1 -->
<div class="scene1">
<div class="clouds">
<div class="clouds__1">
<div class="clouds__1--1"></div>
<div class="clouds__1--2"></div>
<div class="clouds__1--3"></div>
</div>
<div class="clouds__2">
<div class="clouds__2--1"></div>
<div class="clouds__2--2"></div>
<div class="clouds__2--3"></div>
</div>
</div>
<div class="sun"></div>
<div class="scene1__content">
<img class="scene1__content-man" src="images/man.png">
<img class="scene1__content-dock" src="./images/fishing_dock.png" alt="" />
<img
class="scene1__content-bottle throwBottleAnimation"
src="./images/nice-bottle.png"
alt=""
/>
</div>
<div class="waves">
<div class="waves__1"></div>
<div class="waves__2"></div>
<div class="waves__3"></div>
<div class="waves__4"></div>
</div>
</div>


<!-- SCENE 2 -->
<div class="scene2">
<div class="plant-container">
<img class="plant-container__background-plants-left" src="./images/coral-purple.png" alt=""/>
<img class="plant-container__scene2Fish1" src="./images/fish3D.png" alt="">
</div>
<div class="text-container">
<p>
A man on a trip, by the ocean struggling to dispose of his water bottle. Unable to find a trash bin, he finally throws it in the ocean. The bottle's journey begins as it drifts away alone in the vast ocean.
</p>
</div>
<div>
<img class="scene2__scene2Fish2" src="./images/fishBlack4.png" alt="">
</div>
<!-- Fill with fish or something -->
<div class="plant-container">
<img class="plant-container__background-plants-right" src="./images/pink-coral.png" alt=""/>
</div>
</div>



<!-- SCENE 3 -->
<div class="scene3">
<div class="text-container">
<p>
The water bottle floated on the surface, enjoying the colorful world around it, until it started to sink.
Fishes started swarming the bottle, and it had to fight to stay afloat.
</p>
</div>
<div class="plant-container">
<img class="plant-container-fish1" src="./images/fishGreen.png" alt="">
<img class="plant-container__background-plants-right" src="./images/green-sea-grass-right.png" alt=""/>
</div>
<div>
<img class="scene3__scene3Fish2" src="./images/fish3D.png" alt="">
</div>
</div>

<!-- SCENE 4 -->
<div class="scene4">
<div class="plant-container">
<img class="plant-container__background-plants-left" src="./images/dead-coral-left.png" alt=""/>
</div>
<div class="text-container">
<p>
After a long journey, the bottle finally hits the ocean floor and ends up in a trash can.
This short story emphasizes the negative impact of human contamination on water and the environment.
</p>
</div>
<div>
<img class="scene4__scene4Fish1" src="./images/fishDead.png" alt="">
</div>
<div class="plant-container">
<img class="plant-container__background-plants-right" src="./images/dead-coral-right.png" alt="">
</div>
</div>


<!-- SCENE 5 -->
<div class="scene5">
<div class="text-container">
<p>
It shows the struggles of survival and battling the environment.
In the end, the bottle's fate becomes a silent reminder to protect the environment and preserve order.
</p>
</div>
<div><img class="scene5__scene5Fish1" src="./images/fishDead.png" alt=""></div>
<div class="plant-container">
<img
class="plant-container__background-plants-left"
src="./images/dead-coral-left.png"
alt=""
/>
</div>
<div class="plant-container">
<img
class="plant-container__background-plants-right"
src="./images/dead-coral-right.png"
alt=""
/>
</div>
</div>

<!-- SCENE 6 -->
<div class="scene6">
<h3 class="scene6__title">IS THIS THE EARTH YOU WANT TO LIVE ON ?</h3>
</div>

<!-- SCENE 7 -->
<div class="scene7"></div>

<!-- SCENE 8 -->
<div class="scene8"></div>

<!-- SCENE 9 -->
<div class="scene9">
<h3 class="scene9__title">WHAT IT COULD BE INSTEAD</h3>
<div class="scene9__img-container ">
<img class="scene9__img-container-trashExample1" src="./images/tshirt.webp" alt="">
<img class="scene9__img-container-trashExample2" src="./images/upholstery.png" alt="">
<img class="scene9__img-container-trashExample3" src="./images/sleepingba.png" alt="">
<img class="scene9__img-container-trashExample4" src="./images/recycled-bottle.png" alt="">
<img class="scene9__img-container-trashExample5" src="./images/carpet.avif" alt="">
</div>
<img class="scene9__trash-bin" src="./images/trash-bin.png" alt="">
<div class="scene9__remove-bottle-trigger"></div>
</div>


<!-- SCENE 10 -->
<div class="scene10">
<svg viewbox="0 0 800 800" width="80vw" height="80vh" class="head-speech" >
<g class="head">
<circle cx="200" cy="200" r="100" fill="grey" class="head"/>
<path d="M 300 400 Q 300 250 350 250 Q 400 300 400 150" stroke="black" stroke-width="2" fill="none" class="hair"></path>
<path d="M 350 400 Q 400 300 350 300 Q 250 250 350 200 " stroke="black" stroke-width="2" fill="none" class="hair"></path>
<g class="left-eye">
<circle cx="200" cy="200" r="15" fill="white" class="left-eye__ball"/>
<circle cx="200" cy="200" r="5" fill="black" class="left-eye__pupil"/>
</g>
<g class="right-eye">
<circle cx="200" cy="200" r="15" fill="white" class="right-eye__ball"/>
<circle cx="200" cy="200" r="5" fill="black" class="right-eye__pupil"/>
</g>
<g class="mouth">
<path d="M 100 300 Q 150 50 300 200 Q 450 50 500 300 C 500 300 350 550 100 300" fill="white" stroke="red" stroke-width="20">
</g>
</g>

<path d="M 250 50 Q 350 0 500 50 Q 600 100 650 200 A 50 50 0 1 1 300 350 A 50 50 0 1 1 300 350 L 100 450 L 200 300 Q 150 150 250 50" fill="white" stroke="white" class="speech-bubble" />
<a href="https://sdgs.un.org/goals/goal14" target="_blank">
<text stroke="black" font-size="40" y="350" x="340" fill="black" text-decoration="underline" class="txt-svg">READ MORE HERE</text>
</a>

</svg>
<img src="./images/tracksuit.svg" alt="t-shirt" class="tshirt">
</div>
</main>
</body>
</html>
71 changes: 71 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// Observer for .scene-text-container
const textObserver = new IntersectionObserver(function(entries, observer) {
entries.forEach(entry => {
if (entry.isIntersecting && !entry.target.classList.contains('showTextAnimation')) {
entry.target.classList.add('showTextAnimation');
}
});
}, { threshold: 0.3 });

// Observer for .background-plants-right
const plantObserverRight = new IntersectionObserver(function(entries, observer) {
entries.forEach(entry => {
if (entry.isIntersecting && !entry.target.classList.contains('showPlantRightAnimation')) {
entry.target.classList.add('showPlantRightAnimation');
}
});
});

// Observer for .background-plants-left
const plantObserverLeft = new IntersectionObserver(function(entries, observer) {
entries.forEach(entry => {
if (entry.isIntersecting && !entry.target.classList.contains('showPlantLeftAnimation')) {
entry.target.classList.add('showPlantLeftAnimation');
}
});
});

// Observer for .removeBottleTrigger
const removeBottleTriggerObserver = new IntersectionObserver(function(entries, observer) {
entries.forEach(entry => {
const bottleElement = document.querySelector('.scene1__content-bottle');
const trashbinElement = document.querySelector('.scene9__trash-bin');
const trashExample1Element = document.querySelector('.scene9__img-container-trashExample1');
const trashExample2Element = document.querySelector('.scene9__img-container-trashExample2');
const trashExample3Element = document.querySelector('.scene9__img-container-trashExample3');
const trashExample4Element = document.querySelector('.scene9__img-container-trashExample4');
const trashExample5Element = document.querySelector('.scene9__img-container-trashExample5');
if (entry.isIntersecting && bottleElement && !bottleElement.classList.contains('removeBottle')) {
bottleElement.classList.remove('throwBottleAnimation');
trashbinElement.classList.add('trashBinFixed');
trashExample1Element.classList.add('showTrashExample1');
trashExample2Element.classList.add('showTrashExample2');
trashExample3Element.classList.add('showTrashExample3');
trashExample4Element.classList.add('showTrashExample4');
trashExample5Element.classList.add('showTrashExample5');
}
});
});

// Observer for Link reveal
const linkcontainerObserver = new IntersectionObserver(function(entries, observer) {
entries.forEach(entry => {
if (entry.isIntersecting && !entry.target.classList.contains('revealanimation')) {
entry.target.classList.add('revealanimation');
}
});
});

// Elements to observe
const textElements = document.querySelectorAll('.text-container');
const plantElementsRight = document.querySelectorAll('.plant-container__background-plants-right');
const plantElementsleft = document.querySelectorAll('.plant-container__background-plants-left');
const bottleRemove = document.querySelectorAll('.scene9__remove-bottle-trigger');
const linkrevealelement = document.querySelectorAll('h4 a span');

// Add observers to elements
textElements.forEach(el => textObserver.observe(el));
plantElementsRight.forEach(el => plantObserverRight.observe(el));
plantElementsleft.forEach(el => plantObserverLeft.observe(el));
bottleRemove.forEach(el => removeBottleTriggerObserver.observe(el));
linkrevealelement.forEach(el => linkcontainerObserver.observe(el));
1 change: 0 additions & 1 deletion style.css

This file was deleted.

Loading