Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
17
Comments
24
P

Jonatan Samuelsson

@jonatan-samuelssonUmeå, Sweden540 points

I’m a mysterious individual who has yet to fill out my bio. One thing’s for certain: I love writing front-end code!

Latest solutions

  • Accessible contact form | Semantic HTML, vanilla JS & CSS


    P
    Jonatan Samuelsson•540
    Submitted 2 months ago

    1 comment
  • Accordion


    P
    Jonatan Samuelsson•540
    Submitted 3 months ago

    1 comment
  • Rating component | vanilla CSS/JS, ARIA accessibility


    P
    Jonatan Samuelsson•540
    Submitted 3 months ago

    1 comment
  • Standalone quiz app | Vanilla JavaScript


    P
    Jonatan Samuelsson•540
    Submitted 3 months ago

    1 comment
  • Dymanically updating password generator w/ JavaScript


    P
    Jonatan Samuelsson•540
    Submitted 4 months ago

    Going forward, I would like to make even cleaner JS logic. Also, as the codebases grow, practicing annotating with comments to clarify for others becomes increasingly important.


    1 comment
  • User-editable divs, JS validation and reset


    P
    Jonatan Samuelsson•540
    Submitted 4 months ago

    1 comment
View more solutions

Latest comments

  • P
    Koxone•610
    @Koxone
    Submitted 3 months ago

    CSS, html, JS

    1
    P
    Jonatan Samuelsson•540
    @jonatan-samuelsson
    Posted 2 months ago

    You seem to have provided the wrong link, but your browser extension manager seems well-made. Code is clean, well-annotated and functional. A few minor tweaks in functionality could include implementation of the theme switch, which doesn't seem to work atm, real-time updates of the active/inactive views (cards stay on even after toggled to inactive for example), and remembering deletions between tab views (I deleted an ext on the active tab but it was back again when I switched to the All tab).

  • SylvainPS78•380
    @SylvainPS78
    Submitted 3 months ago

    FAQ Accordion using Flex, Grid & native JS

    1
    P
    Jonatan Samuelsson•540
    @jonatan-samuelsson
    Posted 3 months ago

    Nice work, not much to comment on. Your desktop version is quite wide compared to the design and your font sizes don't change according to screen size, but other than that all good

    Marked as helpful
  • P
    Dzik0•400
    @Dzik0
    Submitted 8 months ago

    Mobile first- flexbox

    1
    P
    Jonatan Samuelsson•540
    @jonatan-samuelsson
    Posted 3 months ago

    Looks really good, nice job!

    I'd like to hear your thoughts on hard coding the rating system using JS rather than using custom styled radiobuttons, what made you go for that approach?

  • P
    thawit•820
    @tacesept
    Submitted 3 months ago

    quizz app using js

    1
    P
    Jonatan Samuelsson•540
    @jonatan-samuelsson
    Posted 3 months ago

    Well done, good-looking solution, well-structured code.

    Your content is rendered quite high up on the page, is that a conscius choice? Asking since it departs from the design.

    Also, no matter what quiz topic I choose, I get the HTML quiz. I didn't have to review your code enough to pinpoint the error, but you should look over your jason-fetching and data managment functions.

    Marked as helpful
  • CodeWarlock•20
    @Bytehax21
    Submitted 4 months ago
    What are you most proud of, and what would you do differently next time?

    Making projects using Figma is way easier and faster than eyeballing the design stuff. I think i made it pretty close to original so no doubts on my work as of now.

    What challenges did you encounter, and how did you overcome them?

    I faced issues with applying CSS on Child elements like p tags as assigning ID to them and then writing CSS didn't work on them so, I did a workaround by assigning the child a class and then using css and the padding was different than mentioned in Figma design file

    What specific areas of your project would you like help with?

    Is my CSS good enough or how can i improve it like in applying padding margins and where to assign class or ID etc.

    Just Used CSS Flexbox

    2
    P
    Jonatan Samuelsson•540
    @jonatan-samuelsson
    Posted 4 months ago

    Hey.

    Looks good, well done. One thing I noticed is you're using padding-top to position the card. Another way to do it where it gets centered on the page no matter what is to give your main something like:

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100svh;
    

    For your issue with child p-elements, there are multiple solutions. First of all, i'd say that the first paragraph semantically should be a heading (say h2, h3 or such).

    If you still wanna keep it as paragraphs, you can either do the id thing like so:

    .text #para-1 {
     ...
    } 
    .text #para-2 {
    ...
    }
    

    ...or, you could go for child selectors:

    .text > p:first-child {...}
    .text > p:nth-child(2) {...}
    ...
    .text > p:last-child {...}
    

    Finally, all of this can be nested to make the css more structured:

    .text {
     (some styles for text perhaps)
     p:nth-child(x) {
      (some style)
     }
     p:nth-child(x) {
      (some other style)
     }
    }
    
    Marked as helpful
  • P
    Elewude Okikijesu•430
    @Helewud
    Submitted 4 months ago

    Password Generator with HTML, CSS, JS

    1
    P
    Jonatan Samuelsson•540
    @jonatan-samuelsson
    Posted 4 months ago

    I really like your solution, code is super clean and easy to read.

    Especially the JS is nicely commented and compartmentalized. I like the idea of using a class like you did, as it makes for better portability and reusability. My solution had a completely different approach, so it's nice to see all the various way to achieve the same functionality.

    Marked as helpful
View more comments
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub