Comments (15)
Yes absolutely, enjoy @749cakeee ! :)
from curriculum.
@749cakeee 👌 Just realised the original .container is lightblue and not aqua, no idea why my suggestion ended up with aqua XD We can keep aqua - just a funny observation.
If you go ahead with the first PR to add that image file to the repo, then once that's merged, you can make the 2nd PR to swap the image link in the lesson and delete the old image file from the repo.
from curriculum.
Gap is a property that is covered in a later lesson. So there is no need to ask learners to try to search it up, when it's already explained at a later point.
Another alternative is to add a note that these images have gap property that will be covered in a later lesson and learner's shouldn't worry about it. But I don't think this is a good idea, why not just fix the images instead?
So lets fix the images instead. These two images should be changed so that they don't include the gap property.
This image doesn't need to be changed. It doesn't use a code example, just demonstrates what is possible. Perhaps adding a note akin to 'you'll be able to make this type of layout by the end of this section' or something like that. But not necessary.
So what do you think about this?
Just my 2 cents
from curriculum.
Thanks @749cakeee for opening the issue and @nikitarevenco for the input.
Just investigated this and it looks like the only issue was the incorrect CSS properties were applied in the fix PR.
The following will produce the correct display in the first image without the gap property:
.container {
background-color: aqua;
padding: 12px;
border: 4px solid blue;
display: flex;
}
.item {
background-color: peachpuff;
border: 4px solid salmon;
height: 48px;
flex: 1;
margin: 4px;
}
assuming an intuitive HTML structure of
<div class="container">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
Essentially, replacing gap
with margin
had margin
put on the incorrect selector. gap
goes on the flex container whilst margin
s go on the flex items - in the PR, margin
was put on the flex container instead.
What I've done to replicate the image is the following:
- Replace
.item
'spadding
formargin
(keeping4px
to better reflect the image's scale). The flex items do not need a padding in this scenario. - Removed the
margin
property entirely from.container
as its sole purpose was to "replacegap
" but should've gone on.item
instead. - Changed
.container
'spadding
to12px
just so the scaling better reflects the image.
I'd be very happy to have the image with the CSS fixed to show the CSS I've used above @749cakeee. I can assign you if you're happy to make implement this change. Changes to images in this repo needs to be done in 2 separate PRs as per the wiki instructions on adding images to the curriculum repo. i.e. one PR to replace the image in question, then after that's merged, a second PR to have the lesson file use the appropriate Statically CDN link (and delete the old image file).
from curriculum.
This issue is stale because it has had no activity for the last 30 days.
from curriculum.
@749cakeee Are you still interested in working on this issue?
from curriculum.
If no one is working on this I am happy to take it :)
from curriculum.
It doesn't look like the issue author is active so I'll assign this to you @yuliana-r.
The changes required are in my comment above, as are the instructions for how to handle adding images to the curriculum, meaning this change will be a 2-PR process.
Let me know if you have any questions.
from curriculum.
@CouchofTomato, sorry, just saw this!
Yeah, I'm still interested in working on this issue 😄
@yuliana-r, since this is a 2-PR process, would you like to split the work? 😋
from curriculum.
@749cakeee heyy happy for you to take over if you want to work on both, otherwise I don't mind taking one PR! :)
from curriculum.
Guess I was a little too hasty in the assignment. It'll be easier for one person to do both PRs since they're back to back and not simultaneous.
If you're okay with that, @yuliana-r then I'll swap assignment to @749cakeee for this one.
from curriculum.
Thanks, @yuliana-r!
Perhaps we can collab on another PR 😋
@MaoShizhong, how does this look? 🤔
Just wanted to run it by you before I go ahead ⬇️
from curriculum.
@MaoShizhong, not sure if you got a notification so just tagging you here!
from curriculum.
@749cakeee Just checking in as the first step (replacing the image file) has been completed and merged. You're ready to do the second PR where you replace the image link in the lesson with the new one generated by Statically as per https://github.com/TheOdinProject/curriculum/wiki/Adding-Images-to-the-Curriculum
from curriculum.
Hey @MaoShizhong, just created the second PR! 👉 #27817
from curriculum.
Related Issues (20)
- Linting: Tutorial to setup eslint with vscode not working anymore. HOT 4
- Node Pathway: Provide descriptive link text HOT 57
- Getting Started: Introduction to npm already in last lesson HOT 1
- CV Application Project: Bonus Section for the Project HOT 4
- Objects and Object Constructors: Format and Text Alignment Inconsistency. HOT 5
- Linting: Need updated tutorials for VS Code and Sublime Text HOT 1
- Markdownlint: New custom ordered list lazy numbering rule HOT 3
- Object Basics: Filter Method section references nonexistent code HOT 3
- Common Data Structures and Algorithms: Dead link in knowledge check HOT 4
- Fetching Data In React: Check loading before check error HOT 2
- Foundations:Links and Images add deep dive videos into noopener and noreferrer HOT 1
- Asynchronous Code: Incorrect assignment message in lesson description in scrimba video lesson HOT 2
- JS - A Quick Review: Modify recommendations for reviewing JS HOT 2
- Function Basics: Extend note on not doing the MDN exercises to the second exercise bullet point HOT 3
- Easy fix: 'recommend' should be in past tense in the following context HOT 1
- Getting Started NodeJS Course - New 2024 TraversyMedia crash course video suggestion. HOT 7
- Styling React Applications(React): clarifications regarding Tailwind CSS as a styling option HOT 1
- Update Lesson: Deployment HOT 1
- Update Lesson: Authentication Basics HOT 1
- Foundations Command Line Basics: External UNIX Shell course uses Nano HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curriculum.