Josh Boys
@jboysAll solutions
- Submitted 22 days ago
Article Preview
- HTML
- CSS
- JS
Given a single button, how can I trigger separate JavaScript functions (or the same function, but with different arguments) based on device type / screen size?
For example, I would like the button to have
onclick="togglePanel(event)"
for mobile butonclick="toggleMenu(event)"
for desktop.Or is it better to just use two separate buttons (like I did) — one for mobile and one for desktop — each calling their own function?
- Submitted about 1 month ago
Meet Landing Page
- HTML
- CSS
Is there anything I could improve in terms of performance optimisations (e.g. image lazy loading), or better use of Tailwind classes?
- Submitted 2 months ago
Testimonial Grid Section
- HTML
- CSS
In my grid system, cards with less content will stretch to match adjacent card sizes. If they stretch too much, the card looks a little empty. Any tips on how to prevent "over stretching" or how to make empty cards look less out of place?
- Submitted 2 months ago
Four Card Feature Section
- HTML
- CSS
I’d love feedback on how I used Tailwind utility classes to achieve the design. I’m particularly curious to know if there’s a simpler or more efficient way I could have structured things, particularly around layout, spacing, and responsiveness.
- Submitted 2 months ago
Product Preview Card
- HTML
- CSS
Mainly relating to my use of Tailwind:
- Is my use of utility classes appropriate and efficient?
- Are there any unnecessary or redundant classes that could be cleaned up?
- Submitted 2 months ago
Recipe Page
- HTML
- CSS
A couple of areas felt a little "hacky", like the table. If anyone has a better/cleaner solution, I'd love to know what you did!
Also, if there are any suggestions for improving my use of Tailwind classes, especially any simplification / removing any redundancies or "best practices" that I should follow.
- Submitted 2 months ago
Social Links Profile
- HTML
- CSS
Any semantics or accessibility suggestions to improve my solution. Also, any improvements in my use of tailwind classes?
- Submitted 2 months ago
Blog Preview Card
- HTML
- CSS
What caused my solution to be off by a few pixels from the design? I couldn't figure this out so I'd love some suggestions/feedback on this!
- Submitted 2 months ago
QR code component
- HTML
- CSS
The classes I used to layout the card seemed to work, but perhaps there is a better/cleaner approach?