├── images
├── map.png
├── visa.png
├── 04jar.png
├── 05jar.png
├── 06jar.png
├── acjar.png
├── greenbg.png
├── paypal.png
├── rfjar.png
├── slider.png
├── trjar.png
├── bridalbq1.png
├── bridalbq2.png
├── bridalbq3.png
├── customer1.png
├── customer2.png
├── rose-logo.png
├── damaskrose.png
├── mastercard.png
├── tnjarbouquet.png
├── turkishrose.png
└── assortedcolors.png
├── .stickler.yml
├── .gitignore
├── stylelint.config.js
├── README.md
├── LICENSE
├── product.html
├── styles
├── catalogue.css
├── reset.css
├── product.css
└── main.css
├── catalogue.html
└── index.html
/images/map.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/map.png
--------------------------------------------------------------------------------
/images/visa.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/visa.png
--------------------------------------------------------------------------------
/images/04jar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/04jar.png
--------------------------------------------------------------------------------
/images/05jar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/05jar.png
--------------------------------------------------------------------------------
/images/06jar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/06jar.png
--------------------------------------------------------------------------------
/images/acjar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/acjar.png
--------------------------------------------------------------------------------
/images/greenbg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/greenbg.png
--------------------------------------------------------------------------------
/images/paypal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/paypal.png
--------------------------------------------------------------------------------
/images/rfjar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/rfjar.png
--------------------------------------------------------------------------------
/images/slider.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/slider.png
--------------------------------------------------------------------------------
/images/trjar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/trjar.png
--------------------------------------------------------------------------------
/images/bridalbq1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/bridalbq1.png
--------------------------------------------------------------------------------
/images/bridalbq2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/bridalbq2.png
--------------------------------------------------------------------------------
/images/bridalbq3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/bridalbq3.png
--------------------------------------------------------------------------------
/images/customer1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/customer1.png
--------------------------------------------------------------------------------
/images/customer2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/customer2.png
--------------------------------------------------------------------------------
/images/rose-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/rose-logo.png
--------------------------------------------------------------------------------
/images/damaskrose.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/damaskrose.png
--------------------------------------------------------------------------------
/images/mastercard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/mastercard.png
--------------------------------------------------------------------------------
/images/tnjarbouquet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/tnjarbouquet.png
--------------------------------------------------------------------------------
/images/turkishrose.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/turkishrose.png
--------------------------------------------------------------------------------
/images/assortedcolors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flakster/Flowers-shop-site/HEAD/images/assortedcolors.png
--------------------------------------------------------------------------------
/.stickler.yml:
--------------------------------------------------------------------------------
1 | # add the linters you want stickler to use for this project
2 | linters:
3 | stylelint:
4 | # indicate where is the config file for stylelint
5 | config: 'stylelint.config.js'
6 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | lerna-debug.log*
8 |
9 | # Diagnostic reports (https://nodejs.org/api/report.html)
10 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11 |
12 | # Runtime data
13 | pids
14 | *.pid
15 | *.seed
16 | *.pid.lock
17 |
18 | # Directory for instrumented libs generated by jscoverage/JSCover
19 | lib-cov
20 |
21 | # Coverage directory used by tools like istanbul
22 | coverage
23 | *.lcov
24 |
25 | # nyc test coverage
26 | .nyc_output
27 |
28 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29 | .grunt
30 |
31 | # Bower dependency directory (https://bower.io/)
32 | bower_components
33 |
34 | # node-waf configuration
35 | .lock-wscript
36 |
37 | # Compiled binary addons (https://nodejs.org/api/addons.html)
38 | build/Release
39 |
40 | # Dependency directories
41 | node_modules/
42 | jspm_packages/
43 |
44 | # TypeScript v1 declaration files
45 | typings/
46 |
47 | # TypeScript cache
48 | *.tsbuildinfo
49 |
50 | # Optional npm cache directory
51 | .npm
52 |
53 | # Optional eslint cache
54 | .eslintcache
55 |
56 | # Microbundle cache
57 | .rpt2_cache/
58 | .rts2_cache_cjs/
59 | .rts2_cache_es/
60 | .rts2_cache_umd/
61 |
62 | # Optional REPL history
63 | .node_repl_history
64 |
65 | # Output of 'npm pack'
66 | *.tgz
67 |
68 | # Yarn Integrity file
69 | .yarn-integrity
70 |
71 | # dotenv environment variables file
72 | .env
73 | .env.test
74 |
75 | # parcel-bundler cache (https://parceljs.org/)
76 | .cache
77 |
78 | # Next.js build output
79 | .next
80 |
81 | # Nuxt.js build / generate output
82 | .nuxt
83 | dist
84 |
85 | # Gatsby files
86 | .cache/
87 | # Comment in the public line in if your project uses Gatsby and *not* Next.js
88 | # https://nextjs.org/blog/next-9-1#public-directory-support
89 | # public
90 |
91 | # vuepress build output
92 | .vuepress/dist
93 |
94 | # Serverless directories
95 | .serverless/
96 |
97 | # FuseBox cache
98 | .fusebox/
99 |
100 | # DynamoDB Local files
101 | .dynamodb/
102 |
103 | # TernJS port file
104 | .tern-port
105 |
--------------------------------------------------------------------------------
/stylelint.config.js:
--------------------------------------------------------------------------------
1 | "use strict"
2 |
3 | module.exports = {
4 | "extends": "stylelint-config-recommended",
5 | "rules": {
6 | "at-rule-empty-line-before": [ "always", {
7 | except: [
8 | "blockless-after-same-name-blockless",
9 | "first-nested",
10 | ],
11 | ignore: ["after-comment"],
12 | } ],
13 | "at-rule-name-case": "lower",
14 | "at-rule-name-space-after": "always-single-line",
15 | "at-rule-semicolon-newline-after": "always",
16 | "block-closing-brace-empty-line-before": "never",
17 | "block-closing-brace-newline-after": "always",
18 | "block-closing-brace-newline-before": "always-multi-line",
19 | "block-closing-brace-space-before": "always-single-line",
20 | "block-opening-brace-newline-after": "always-multi-line",
21 | "block-opening-brace-space-after": "always-single-line",
22 | "block-opening-brace-space-before": "always",
23 | "color-hex-case": "lower",
24 | "color-hex-length": "short",
25 | "comment-empty-line-before": [ "always", {
26 | except: ["first-nested"],
27 | ignore: ["stylelint-commands"],
28 | } ],
29 | "comment-whitespace-inside": "always",
30 | "custom-property-empty-line-before": [ "always", {
31 | except: [
32 | "after-custom-property",
33 | "first-nested",
34 | ],
35 | ignore: [
36 | "after-comment",
37 | "inside-single-line-block",
38 | ],
39 | } ],
40 | "declaration-bang-space-after": "never",
41 | "declaration-bang-space-before": "always",
42 | "declaration-block-semicolon-newline-after": "always-multi-line",
43 | "declaration-block-semicolon-space-after": "always-single-line",
44 | "declaration-block-semicolon-space-before": "never",
45 | "declaration-block-single-line-max-declarations": 1,
46 | "declaration-block-trailing-semicolon": "always",
47 | "declaration-colon-newline-after": "always-multi-line",
48 | "declaration-colon-space-after": "always-single-line",
49 | "declaration-colon-space-before": "never",
50 | "declaration-empty-line-before": [ "always", {
51 | except: [
52 | "after-declaration",
53 | "first-nested",
54 | ],
55 | ignore: [
56 | "after-comment",
57 | "inside-single-line-block",
58 | ],
59 | } ],
60 | "function-comma-newline-after": "always-multi-line",
61 | "function-comma-space-after": "always-single-line",
62 | "function-comma-space-before": "never",
63 | "function-max-empty-lines": 0,
64 | "function-name-case": "lower",
65 | "function-parentheses-newline-inside": "always-multi-line",
66 | "function-parentheses-space-inside": "never-single-line",
67 | "function-whitespace-after": "always",
68 | "indentation": 2,
69 | "length-zero-no-unit": true,
70 | "max-empty-lines": 1,
71 | "media-feature-colon-space-after": "always",
72 | "media-feature-colon-space-before": "never",
73 | "media-feature-name-case": "lower",
74 | "media-feature-parentheses-space-inside": "never",
75 | "media-feature-range-operator-space-after": "always",
76 | "media-feature-range-operator-space-before": "always",
77 | "media-query-list-comma-newline-after": "always-multi-line",
78 | "media-query-list-comma-space-after": "always-single-line",
79 | "media-query-list-comma-space-before": "never",
80 | "no-eol-whitespace": true,
81 | "no-missing-end-of-source-newline": true,
82 | "number-leading-zero": "always",
83 | "number-no-trailing-zeros": true,
84 | "property-case": "lower",
85 | "rule-empty-line-before": [ "always-multi-line", {
86 | except: ["first-nested"],
87 | ignore: ["after-comment"],
88 | } ],
89 | "selector-attribute-brackets-space-inside": "never",
90 | "selector-attribute-operator-space-after": "never",
91 | "selector-attribute-operator-space-before": "never",
92 | "selector-combinator-space-after": "always",
93 | "selector-combinator-space-before": "always",
94 | "selector-descendant-combinator-no-non-space": true,
95 | "selector-list-comma-newline-after": "always",
96 | "selector-list-comma-space-before": "never",
97 | "selector-max-empty-lines": 0,
98 | "selector-pseudo-class-case": "lower",
99 | "selector-pseudo-class-parentheses-space-inside": "never",
100 | "selector-pseudo-element-case": "lower",
101 | "selector-pseudo-element-colon-notation": "double",
102 | "selector-type-case": "lower",
103 | "unit-case": "lower",
104 | "value-list-comma-newline-after": "always-multi-line",
105 | "value-list-comma-space-after": "always-single-line",
106 | "value-list-comma-space-before": "never",
107 | "value-list-max-empty-lines": 0,
108 | },
109 | }
110 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Flowers-shop-site
2 | This is a website project based on the [Flowers Shop design](https://www.behance.net/gallery/69329213/Flower-e-shop) from [Michael D](https://dribbble.com/altezzik). It is intended to be developed using the technics and knowledge acquired through the HTML & CSS module of the main curriculum of the Microverse program.
3 |
4 | 
5 |
6 | ## Built with
7 |
8 | * HTML5
9 | * CSS3
10 | * Font Awesome
11 | * Google Fonts
12 |
13 | ## Getting Started:
14 |
15 | To get a local copy up and running follow these simple example steps:
16 |
17 | 1. Under the repository name, click the "Clone or download" green button.
18 |
19 | 
20 |
21 | 2. Copy the URL given by clicking the clipboard button
22 |
23 | 3. Open a terminal window in your local machine and change the current directory to the one you
24 | want the clone directory to be made.
25 |
26 | 4. Type git clone and then paste the URL you previously copied to the clipboard
27 |
28 | 5. Change the current directory to the newly created folder
29 |
30 | 6. Now open the index.html file on your browser. Use the menu to go to the catalogue of products.
31 | By clicking on one product, you will be taken to the product page. You can test these three pages
32 | changing the width of your browser window. The content will fit either to desktop and mobile screen
33 | sizes.
34 |
35 | ## [Homepage of the project](https://github.com/Flakster/Flowers-shop-site/)
36 |
37 | ## See a live demo [here](https://flakster.github.io/Flowers-shop-site/index.html)
38 |
39 | ## Watch a video with the presentation of the project [here](https://www.loom.com/share/1d43cd76d86240d48f5f34a0e5fdcef6)
40 |
41 | ## Website description
42 |
43 | This is an online flower shop that helps the user to find the best flowers to gift by asking him/her
44 | the price he/she wants to spend, the main color of the bouquet, and also the kind of event and who will
45 | go to receive the gift. Once the user finds the product that fits the selected criteria, is asked for
46 | the final order details, like the number of flowers, the type of delivery, to finally place the order.
47 |
48 | ## Homepage
49 |
50 | 
51 |
52 | This page shows a beautiful bouquet and describes the type of work they offer to their customers. The big
53 | button at the left lets the user start the buying process or, if preferred, he/she can scroll down to find product samples,
54 | testimonials from other customers, or the map with the physical location of the store.
55 |
56 | ## Catalog
57 |
58 | 
59 |
60 | Once in this place, the user can select the products that best match his/her preferences by choosing the
61 | desired options in the filter on the left side. This action results in a grid of pictures on the right side
62 | to let the user choose between his/her favorite products.
63 |
64 |
65 | ## Product page
66 |
67 | 
68 |
69 | The product page offers the user a big photo of the chosen product, and the final details to place
70 | the order. It also shows to the user, related products that can be of his/her interest
71 |
72 |
73 | ## Pages appearance on mobile devices
74 |
75 | The goal of this site is to let the user buy from anywhere. The responsive behavior makes the pages to fit
76 | any screen size. The following is the appearance of the pages on small screens
77 |
78 |
79 | Homepage Catalogue Product page
80 | 
81 |
82 | ## Potential future features
83 |
84 | * Use of actual form elements instead of placeholders
85 | * Javascript for calculating the order total
86 |
87 | ## Validators:
88 |
89 | * W3C validator for HTML
90 | * Stickler for "Style Matters" stickler
91 | * Stylelint for VSCode
92 |
93 | ## Acknowledgments:
94 |
95 | to [Michael D](https://dribbble.com/altezzik) for his beautiful design
96 |
97 | ## Author
98 |
99 | 👤 Carlos Santamaría
100 |
101 | * Twitter: [@Flakster ](https://twitter.com/Flakster )
102 | * Github: [@Flakster](https://github.com/Flakster)
103 | * Email: contact@carlossantamaria.co
104 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Creative Commons Legal Code
2 |
3 | CC0 1.0 Universal
4 |
5 | CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
6 | LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
7 | ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
8 | INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
9 | REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
10 | PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
11 | THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
12 | HEREUNDER.
13 |
14 | Statement of Purpose
15 |
16 | The laws of most jurisdictions throughout the world automatically confer
17 | exclusive Copyright and Related Rights (defined below) upon the creator
18 | and subsequent owner(s) (each and all, an "owner") of an original work of
19 | authorship and/or a database (each, a "Work").
20 |
21 | Certain owners wish to permanently relinquish those rights to a Work for
22 | the purpose of contributing to a commons of creative, cultural and
23 | scientific works ("Commons") that the public can reliably and without fear
24 | of later claims of infringement build upon, modify, incorporate in other
25 | works, reuse and redistribute as freely as possible in any form whatsoever
26 | and for any purposes, including without limitation commercial purposes.
27 | These owners may contribute to the Commons to promote the ideal of a free
28 | culture and the further production of creative, cultural and scientific
29 | works, or to gain reputation or greater distribution for their Work in
30 | part through the use and efforts of others.
31 |
32 | For these and/or other purposes and motivations, and without any
33 | expectation of additional consideration or compensation, the person
34 | associating CC0 with a Work (the "Affirmer"), to the extent that he or she
35 | is an owner of Copyright and Related Rights in the Work, voluntarily
36 | elects to apply CC0 to the Work and publicly distribute the Work under its
37 | terms, with knowledge of his or her Copyright and Related Rights in the
38 | Work and the meaning and intended legal effect of CC0 on those rights.
39 |
40 | 1. Copyright and Related Rights. A Work made available under CC0 may be
41 | protected by copyright and related or neighboring rights ("Copyright and
42 | Related Rights"). Copyright and Related Rights include, but are not
43 | limited to, the following:
44 |
45 | i. the right to reproduce, adapt, distribute, perform, display,
46 | communicate, and translate a Work;
47 | ii. moral rights retained by the original author(s) and/or performer(s);
48 | iii. publicity and privacy rights pertaining to a person's image or
49 | likeness depicted in a Work;
50 | iv. rights protecting against unfair competition in regards to a Work,
51 | subject to the limitations in paragraph 4(a), below;
52 | v. rights protecting the extraction, dissemination, use and reuse of data
53 | in a Work;
54 | vi. database rights (such as those arising under Directive 96/9/EC of the
55 | European Parliament and of the Council of 11 March 1996 on the legal
56 | protection of databases, and under any national implementation
57 | thereof, including any amended or successor version of such
58 | directive); and
59 | vii. other similar, equivalent or corresponding rights throughout the
60 | world based on applicable law or treaty, and any national
61 | implementations thereof.
62 |
63 | 2. Waiver. To the greatest extent permitted by, but not in contravention
64 | of, applicable law, Affirmer hereby overtly, fully, permanently,
65 | irrevocably and unconditionally waives, abandons, and surrenders all of
66 | Affirmer's Copyright and Related Rights and associated claims and causes
67 | of action, whether now known or unknown (including existing as well as
68 | future claims and causes of action), in the Work (i) in all territories
69 | worldwide, (ii) for the maximum duration provided by applicable law or
70 | treaty (including future time extensions), (iii) in any current or future
71 | medium and for any number of copies, and (iv) for any purpose whatsoever,
72 | including without limitation commercial, advertising or promotional
73 | purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
74 | member of the public at large and to the detriment of Affirmer's heirs and
75 | successors, fully intending that such Waiver shall not be subject to
76 | revocation, rescission, cancellation, termination, or any other legal or
77 | equitable action to disrupt the quiet enjoyment of the Work by the public
78 | as contemplated by Affirmer's express Statement of Purpose.
79 |
80 | 3. Public License Fallback. Should any part of the Waiver for any reason
81 | be judged legally invalid or ineffective under applicable law, then the
82 | Waiver shall be preserved to the maximum extent permitted taking into
83 | account Affirmer's express Statement of Purpose. In addition, to the
84 | extent the Waiver is so judged Affirmer hereby grants to each affected
85 | person a royalty-free, non transferable, non sublicensable, non exclusive,
86 | irrevocable and unconditional license to exercise Affirmer's Copyright and
87 | Related Rights in the Work (i) in all territories worldwide, (ii) for the
88 | maximum duration provided by applicable law or treaty (including future
89 | time extensions), (iii) in any current or future medium and for any number
90 | of copies, and (iv) for any purpose whatsoever, including without
91 | limitation commercial, advertising or promotional purposes (the
92 | "License"). The License shall be deemed effective as of the date CC0 was
93 | applied by Affirmer to the Work. Should any part of the License for any
94 | reason be judged legally invalid or ineffective under applicable law, such
95 | partial invalidity or ineffectiveness shall not invalidate the remainder
96 | of the License, and in such case Affirmer hereby affirms that he or she
97 | will not (i) exercise any of his or her remaining Copyright and Related
98 | Rights in the Work or (ii) assert any associated claims and causes of
99 | action with respect to the Work, in either case contrary to Affirmer's
100 | express Statement of Purpose.
101 |
102 | 4. Limitations and Disclaimers.
103 |
104 | a. No trademark or patent rights held by Affirmer are waived, abandoned,
105 | surrendered, licensed or otherwise affected by this document.
106 | b. Affirmer offers the Work as-is and makes no representations or
107 | warranties of any kind concerning the Work, express, implied,
108 | statutory or otherwise, including without limitation warranties of
109 | title, merchantability, fitness for a particular purpose, non
110 | infringement, or the absence of latent or other defects, accuracy, or
111 | the present or absence of errors, whether or not discoverable, all to
112 | the greatest extent permissible under applicable law.
113 | c. Affirmer disclaims responsibility for clearing rights of other persons
114 | that may apply to the Work or any use thereof, including without
115 | limitation any person's Copyright and Related Rights in the Work.
116 | Further, Affirmer disclaims responsibility for obtaining any necessary
117 | consents, permissions or other rights required for any use of the
118 | Work.
119 | d. Affirmer understands and acknowledges that Creative Commons is not a
120 | party to this document and has no duty or obligation with respect to
121 | this CC0 or use of the Work.
122 |
--------------------------------------------------------------------------------
/product.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
285 | Susana
286 | Lorem ipsum dolor sit
287 |
288 |
289 |
290 |
291 |
292 | "Lorem ipsum dolor sit amet consectetur adipisicing elit. Perspiciatis enim facere neque pariatur tempora quibusdam, quae porro qui dolore earum dolor. Ab neque magnam quibusdam nobis odio perspiciatis expedita culpa."
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 | Janneth
301 | Lorem ipsum dolor sit
302 |
303 |
304 |
305 |
306 |
307 | "Lorem ipsum dolor sit amet consectetur adipisicing elit. Perspiciatis enim facere neque pariatur tempora quibusdam, quae porro qui dolore earum dolor. Ab neque magnam quibusdam nobis odio perspiciatis expedita culpa."
308 |