Good day all,
This is my first time using SASS, so I'll appreciate any comment on the file structure and how to make it better. Regards.
Good day all,
This is my first time using SASS, so I'll appreciate any comment on the file structure and how to make it better. Regards.
Your code works, you just need to add height to .accordion-svg
. By default backgrounds take the height of their container if I'm not mistaken, and if you use your browser Dev-tools you'll see the container has no height.
Hope that helps !
This challenge was a bit more difficult compared to the earlier challenges. I had trouble figuring out how to implement the desktop images with the bg-pattern and did not realize I could do this with the help of background-image, background-position etc.
(seems like I'm not thinking about the css background property and defaulting to using img
element). In addition, I had an issue dealing with the parent height jumping as the child element (accordion) expands and collapses. For now, I used a fixed height on the parent but am curious how this issue can be achieved or fixed.
Tried to make sure the accordion complies with ADA Web Accessibility and is toggleable with a keyboard etc.
Any thoughts or opinions regarding the height issue and 1st try on ADA Web Accessibility is highly appreciated!
Thank you!
#HappyCoding
Hi Jesse ! I did this challenge a few days ago, nice work on this one. I'm not an expert by any means but I've got some feedback on this one :
height: auto
with visibility
.Great job !
Any Feedback ?
Good work !
I would allow users to click on the whole .line
element to see the answer. I think you're also missing the mobile background image on mobile layout!
Keep up the good work!
Any suggestions on improving the code would be appreciated!
Really nice solution, with responsiveness on the mobile layout !
You can use classList.toggle
to actually add and remove the .active
class in your script, to save a few lines.
Keep up the good job !