Very annoying challenge with the pixel pushing of getting images and background to line up with each other. Surely there are better ways of arranging various images within a div to paint a picture rather than using position: absolute and experimenting with various margins and paddings?
Abhineet Kandele
@abhineetkandeleAll comments
- @KaifUlMajedSubmitted over 3 years ago@abhineetkandelePosted over 3 years ago
Great Job!!
Few suggestions from my end.
- Font can be imported directly inside the CSS file.
- Try building this without using JS. Use details & summary HTML tags for accordion and picture tag for different images in different breakpoints. It would be fun.
0 - @DaoudAnas13Submitted over 3 years ago
I tried using only CSS in this one without JS .. all in all, it's an acceptable outcome but with minor issues that i hope to fix with your help
1 - Weird automatic scroll to the bottom of the page when clicking on the question ( tried preventDefault with JS didn't work )
2 - Background image moving when resizing the screen
3 - The image is also moving
If you find any other problem to mention or tips to give please let me know :D
@abhineetkandelePosted over 3 years agoNicely done!!
Few comments from my end.
- Background image is covering a lot of area even on desktop view.
- When clicking a question, the whole card is sticking to the top of the page.
- Font can be imported directly inside the CSS file.
- And I would definitely recommend checking the accessibility issues in the report.
You could check out my solution using the below link. https://github.com/abhineetkandele/Frontend-Mentor-FAQ-Accordion-Card
It's not very great but I hope it may help.
In case, you feel something can be improved. Please do let me know.
1 - @oinsurSubmitted over 3 years ago
I wanted to get some feedback about how to work with multiple background images in containers. I had to use some negative values and wanted to see if there was another way to best approach projects like this one that requires multiple background images.
@abhineetkandelePosted over 3 years agoNicely done!!
I would definitely recommend checking out the accessibility issues in the report.
Marked as helpful0 - @thibault-barratSubmitted over 3 years ago
Hi,
This challenge was quite fun :) Any feedback would be appreciated
Thanks
@abhineetkandelePosted over 3 years agoGreat Job!!
Try building this without using JS. Use details & summary HTML tags for accordion and picture tag for different images in different breakpoints.
0 - @Art-wdtSubmitted over 3 years ago
Hello everyone, this updated version. Thanks for all your previous advice. I tried to take into account most of it. These are my first steps in JavaScript and jQuery.
I would be glad to any advice :) Any suggestions you might have! Any comments!
Any feedback will be appreciated by me
@abhineetkandelePosted over 3 years agoGreat Job!!
Few suggestions from my end.
-
Try to make UI look as much as possible close to the designs, it would be fun. = Arrows are hanging outside in Desktop view. And are sticking to the text in mobile view. Try checking both the issues. = Also, try adding a background image to the mobile image as well. = using linear-gradient in background
-
Font can be imported directly inside the CSS file.
-
Try building this without using JS. Use details & summary HTML tags for accordion and picture tag for different images in different breakpoints.
-
Also, try to make the accessibility issues in the report to zero.
Marked as helpful2 -
- @rnguecoSubmitted over 3 years ago
This was made using only HTML and CSS. The downside of this approach is that I wasn't able to implement the
<detail>
transition from expanded to collapsed, as there's probably no pure-CSS solution to that problem. Feedback on any part of my code is appreciated!@abhineetkandelePosted over 3 years agoSuperb Job!!
Using all the latest HTML tags & building a accordion using only HTML & CSS. 🙌🙌
1 - @M4vinSubmitted over 3 years ago
I accept any feedback and appreciated it, I am a newbie in CSS and HTML
@abhineetkandelePosted over 3 years agoGreat solution!!
Few things I would suggest.
- I feel you could spend a little more time on responsiveness.
- Try using CSS variables.
- And definitely, you could look at the accessibility issues in the report.
Marked as helpful0 - @TBanda27Submitted over 3 years ago
If I am to remove headings and paragraphs on list items, how best can I target them when I want to change for example font size. Can one use nth-child on text?
@abhineetkandelePosted over 3 years agoGreat Job!! The solution looks pretty good.
Few things I would suggest.
- Attribution CSS could also be moved to the CSS file.
- Try naming your CSS variables to something like color-primary, color-secondary, etc.
Marked as helpful0 - @mghadiehSubmitted over 3 years ago
It all went well, but at the end I noticed the card wasn't centred in the desktop version, so I had to add margin-top and margin-left with trail and error to make it centred. There is probably a better way to do this but I am unaware of it. Also, my mobile version is too long, you can scroll up and down. Is there away to limit the height without scrolling?
@abhineetkandelePosted over 3 years agoGreat Job!!
Few things I would suggest.
- Try importing the Font family inside the CSS file itself.
- Solution can be looked at again for more responsiveness.
0 - @adarshvilasakaviSubmitted over 3 years ago
Hoping I achieved the required design, any suggestions folks?
@abhineetkandelePosted over 3 years agoGreat Job!!
Few suggestions from my end.
- Font family can be imported inside the CSS file itself
- Try using CSS variables
- Try to code formatter to fix the indentation and make code more readable.
- Try checking out Accessibility issues in the report
Marked as helpful0 - @ubed90Submitted over 3 years ago
FEEDBACK'S MOST WELCOME 🚀
@abhineetkandelePosted over 3 years agoGreat Job!!
Few things I would suggest considering.
- Try moving attribution styles also to CSS file.
- Try checking out the accessibility issues in the report.
0 - @livlivanaSubmitted over 3 years ago@abhineetkandelePosted over 3 years ago
Great work.
Few things I would suggest.
- In the Why Us section, try using ul > li tags instead of p tag
- It's great that you have used CSS variables. Try naming them color-primary, color-secondary, etc.
- Also, try fixing the accessibility issues in the report.
0