Skip to content

Commit 7388b5e

Browse files
committed
recipe page challenge complete fingers crossed
1 parent 85517d9 commit 7388b5e

15 files changed

+368
-551
lines changed

projects/FrontendMentor/newbie/recipe-page/AI-Chat-Test.md

Lines changed: 0 additions & 163 deletions
This file was deleted.
Lines changed: 21 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,37 @@
11
# Frontend Mentor - Recipe page solution
22

3-
This is a solution to the [Recipe page challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/recipe-page-KiTsR8QQKm). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
3+
This is a solution to the [Recipe page challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/recipe-page-KiTsR8QQKm). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
44

55
## Table of contents
66

7-
- [Overview](#overview)
8-
- [The challenge](#the-challenge)
9-
- [Screenshot](#screenshot)
10-
- [Links](#links)
11-
- [My process](#my-process)
12-
- [Built with](#built-with)
13-
- [What I learned](#what-i-learned)
14-
- [Continued development](#continued-development)
15-
- [Useful resources](#useful-resources)
16-
- [Author](#author)
17-
- [Acknowledgments](#acknowledgments)
18-
19-
**Note: Delete this note and update the table of contents based on what sections you keep.**
7+
- [Frontend Mentor - Recipe page solution](#frontend-mentor---recipe-page-solution)
8+
- [Table of contents](#table-of-contents)
9+
- [Overview](#overview)
10+
- [Screenshot](#screenshot)
11+
- [Links](#links)
12+
- [My process](#my-process)
13+
- [Built with](#built-with)
14+
- [What I learned](#what-i-learned)
15+
- [Continued development](#continued-development)
16+
- [Useful resources](#useful-resources)
17+
- [Author](#author)
2018

2119
## Overview
2220

2321
### Screenshot
2422

25-
![](./screenshot.jpg)
26-
27-
Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it.
23+
Mobile
2824

29-
Alternatively, you can use a tool like [FireShot](https://getfireshot.com/) to take the screenshot. FireShot has a free option, so you don't need to purchase it.
25+
![](./screenshots/mobile.png)
3026

31-
Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above.
27+
Desktop
3228

33-
**Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.**
29+
![](./screenshots/desktop.png)
3430

3531
### Links
3632

37-
- Solution URL: [Add solution URL here](https://your-solution-url.com)
38-
- Live Site URL: [Add live site URL here](https://your-live-site-url.com)
33+
- Solution URL: [Github](https://github.com/tarasis/tarasis.github.io/tree/main/projects/FrontendMentor/newbie/recipe-page)
34+
- Live Site URL: [Tarasis Github.io](https://tarasis.github.io/FrontendMentor/newbie/recipe-page/)
3935

4036
## My process
4137

@@ -46,59 +42,18 @@ Then crop/optimize/edit your image however you like, add it to your project, and
4642
- Flexbox
4743
- CSS Grid
4844
- Mobile-first workflow
49-
- [React](https://reactjs.org/) - JS library
50-
- [Next.js](https://nextjs.org/) - React framework
51-
- [Styled Components](https://styled-components.com/) - For styles
52-
53-
**Note: These are just examples. Delete this note and replace the list above with your own choices**
5445

5546
### What I learned
5647

57-
Use this section to recap over some of your major learnings while working through this project. Writing these out and providing code samples of areas you want to highlight is a great way to reinforce your own knowledge.
58-
59-
To see how you can add code snippets, see below:
60-
61-
```html
62-
<h1>Some HTML code I'm proud of</h1>
63-
```
64-
```css
65-
.proud-of-this-css {
66-
color: papayawhip;
67-
}
68-
```
69-
```js
70-
const proudOfThisFunc = () => {
71-
console.log('🎉')
72-
}
73-
```
74-
75-
If you want more help with writing markdown, we'd recommend checking out [The Markdown Guide](https://www.markdownguide.org/) to learn more.
76-
77-
**Note: Delete this note and the content within this section and replace with your own learnings.**
7848

7949
### Continued development
8050

81-
Use this section to outline areas that you want to continue focusing on in future projects. These could be concepts you're still not completely comfortable with or techniques you found useful that you want to refine and perfect.
82-
83-
**Note: Delete this note and the content within this section and replace with your own plans for continued development.**
8451

8552
### Useful resources
8653

87-
- [Example resource 1](https://www.example.com) - This helped me for XYZ reason. I really liked this pattern and will use it going forward.
88-
- [Example resource 2](https://www.example.com) - This is an amazing article which helped me finally understand XYZ. I'd recommend it to anyone still learning this concept.
89-
90-
**Note: Delete this note and replace the list above with resources that helped you during the challenge. These could come in handy for anyone viewing your solution or for yourself when you look back on this project in the future.**
9154

9255
## Author
9356

94-
- Website - [Add your name here](https://www.your-site.com)
95-
- Frontend Mentor - [@yourusername](https://www.frontendmentor.io/profile/yourusername)
96-
- Twitter - [@yourusername](https://www.twitter.com/yourusername)
97-
98-
**Note: Delete this note and add/remove/edit lines above based on what links you'd like to share.**
99-
100-
## Acknowledgments
101-
102-
This is where you can give a hat tip to anyone who helped you out on this project. Perhaps you worked in a team or got some inspiration from someone else's solution. This is the perfect place to give them some credit.
103-
104-
**Note: Delete this note and edit this section's content as necessary. If you completed this challenge by yourself, feel free to delete this section entirely.**
57+
- Website - [Robert McGovern](https://tarasis.net)
58+
- Frontend Mentor - [@tarasis](https://www.frontendmentor.io/profile/tarasis)
59+
- Twitter/X - [@tarasis](https://www.twitter.com/tarasis)
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
body {
2-
/* -webkit-user-select: none; */
3-
/* user-select: none; */
4-
/* position: relative; */
5-
min-height: 100dvh;
2+
/* -webkit-user-select: none; */
3+
/* user-select: none; */
4+
/* position: relative; */
5+
min-height: 100dvh;
66

7-
/* ! TEMP REMOVE */
8-
@media (min-width: 50ch) {
9-
height: 1955px;
10-
}
7+
/* ! TEMP REMOVE */
8+
@media (min-width: 50ch) {
9+
height: 1955px;
10+
}
1111

12-
display: grid;
13-
place-content: center;
12+
display: grid;
13+
place-content: center;
1414

15-
background-color: var(--off-black);
15+
background-color: var(--off-black);
1616
}

projects/FrontendMentor/newbie/recipe-page/assets/css/index.css

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
/* Layer architecture */
22
/* Best practice to put @layer at top of the import file for organization */
33

4-
@layer reset, base, properties, typography, theme, layouts, components, utilities;
4+
@layer reset, variables, base, properties, typography, theme, layouts, components, utilities;
55

66
/* Base */
7-
@import "reset.css" layer(reset);
7+
@import 'reset.css' layer(reset);
88
/* @import '../css/base/normalize.css' layer(base); */
9-
@import "base.css" layer(base);
10-
@import "properties.css" layer(properties);
11-
@import "theme.css" layer(theme); /* theme variables */
12-
@import "typography.css" layer(typography); /* theme typography */
13-
@import "utilities.css" layer(utilities);
9+
@import 'variables.css' layer(variables);
10+
@import 'base.css' layer(base);
11+
@import 'properties.css' layer(properties);
12+
@import 'theme.css' layer(theme); /* theme variables */
13+
@import 'typography.css' layer(typography); /* theme typography */
14+
@import 'utilities.css' layer(utilities);
1415

1516
/* Layouts */
1617

17-
@import "layout.css" layer(layouts);
18+
@import 'layout.css' layer(layouts);
1819

1920
/* Components */
2021

21-
@import "recipe-page.css" layer(components);
22+
@import 'recipe-page.css' layer(components);
2223

2324
/* ! important */
2425
/* ? Question */

0 commit comments

Comments
 (0)