Come join the Acme community!
+Let's set up your account. Already have one? Sign in here.
+ +-
+
- Get this and that +
- 5% off.... +
- Weekly updates +
diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..686466a4 Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index d59a798a..75f2d2bb 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,36 @@ # Business Site -Replace this readme with your own information about your project. - -Start by briefly describing the assignment in a sentence or two. Keep it short and to the point. +The assignment is to create a business site containing hero header (image or video), a form with at least three different HTML input types. The site should be responsive and adapt well to mobile, tablet, and desktop. ## The problem -Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next? +1. Hero header +Just to find the hero image was a struggle. I found an image that I wanted to use - it was "gradient", went from purple to pink - but it wasn't for free. I asked ChatGPT if it could recreate the image for me, and it said that I could create it with CSS, which I wanted to try and it turned out great! But, it's not an image or video. So I commented it out, added the code to CodePen, and took a screenshot: https://codepen.io/joheri1/pen/vYqajdp. But changed my mind, and added it as an "overlay" (with the help from ChatGPT and Google) and added an image of a mountain as hero image (found here: https://stock.adobe.com/search?k=mountain+doodles). Used this site that could make the background transparant: https://www.remove.bg/. The gradient background still didn't work, and I spent a lot of time trying to figure out why, until I asked ChatGPT whom spotted that it was a tiny little space between linear-gradient and the parentheses that messed up the code. + +2. The form questionnarie +I decided to use a form on the internet as my inspiration (https://tjejerkodar.se/bli-medlem/). The form contains a html heading followed by an Unordered List, five oval input fields with the label text inside of each oval box, a check box ("I agree...") and an oval submit button at the end of the form. + +The biggest issue with this was that I found it hard to understand/read the code in the inspector, so I had to google a lot. How to add the text inside of each input field ("placeholder"), how to add space around the boxes, etc. The form also contained things I couldn't understand, because they weren't visible to the eye, such as "". + +3. Minor layout issues. +The name fields are not positioned the way I wanted, the radio button is oval and can't be unchecked, etc. Since time was running out, I started to write PostIts with all the flaws I wanted to correct, added some in a pile that need to be fixed before handing in my project (upload to Netlify, make the site responsive for different devices, etc), and some notes in a pile to fix later, if I have the time (like the oval radio button). + +## If I had more time I would've... +... asked someone who knows how to use the inspector, to go through the inspo page with me. I understand some parts of it, but far from most. +... added a video as a hero header. That would be fun to try out. +... tried to figure out how to uncheck the Radio button. +... make the name fields lay aligned with the other form fields for tablet and desktop. + +## Tools +Images of mountains: https://stock.adobe.com/search?k=mountain+doodles +Remove background/make an image transparant: https://www.remove.bg/ +ChatGPT and Google. +VS Code +CodePen +Git and GitHub +Netlify + ## View it live -Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about. +https://acme-corp-site.netlify.app/ + diff --git a/code/assets/Acme-corp.webp b/code/assets/Acme-corp.webp new file mode 100644 index 00000000..2dd0b75d Binary files /dev/null and b/code/assets/Acme-corp.webp differ diff --git a/code/assets/Gradient_img.png b/code/assets/Gradient_img.png new file mode 100644 index 00000000..f3ed2a96 Binary files /dev/null and b/code/assets/Gradient_img.png differ diff --git a/code/assets/Mountain-1.jpg b/code/assets/Mountain-1.jpg new file mode 100644 index 00000000..ba64fbcd Binary files /dev/null and b/code/assets/Mountain-1.jpg differ diff --git a/code/assets/Mountain-4.png b/code/assets/Mountain-4.png new file mode 100644 index 00000000..49b64012 Binary files /dev/null and b/code/assets/Mountain-4.png differ diff --git a/code/assets/mountain-2.jpg b/code/assets/mountain-2.jpg new file mode 100644 index 00000000..c8695ab5 Binary files /dev/null and b/code/assets/mountain-2.jpg differ diff --git a/code/assets/mountain-3.png b/code/assets/mountain-3.png new file mode 100644 index 00000000..875afca6 Binary files /dev/null and b/code/assets/mountain-3.png differ diff --git a/code/assets/purple_header.webp b/code/assets/purple_header.webp new file mode 100644 index 00000000..6ec1a0c0 Binary files /dev/null and b/code/assets/purple_header.webp differ diff --git a/code/index.html b/code/index.html index 85fe8e53..cd0f39f0 100644 --- a/code/index.html +++ b/code/index.html @@ -1,17 +1,62 @@ -
- - -