Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
28
Comments
8

Matthias

@astrageniusGermany630 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!

I’m currently learning...

I'm learning Javascript and CSS/HTML

Latest solutions

  • Rock Paper Scissor Lizard Spock with React.js and framer-motion

    #motion#react#vite

    Matthias•630
    Submitted over 1 year ago

    Currently, I am unhappy with the grid layout for 'Rock Paper Scissors Lizard Spock'. I can't position the lower symbols correctly.

    Perhaps someone has an idea of how I can manage this.


    0 comments
  • Dictionary Challenge with React.js - Axios and SCSS

    #axios#react#sass/scss

    Matthias•630
    Submitted over 2 years ago

    0 comments
  • Advice generator - with CSS/HTML and vanilla Javascript (Async/await)


    Matthias•630
    Submitted over 2 years ago

    0 comments
  • Tic Tac Toe Challenge with webpack/Vanilla Javascript and sass

    #bem#webpack#sass/scss

    Matthias•630
    Submitted over 2 years ago

    0 comments
  • Manage Page - (Kevin Powell Tutorial)

    #vite#accessibility

    Matthias•630
    Submitted almost 3 years ago

    0 comments
  • FEM - Planet Facts Challenge - build with scss/webpack and JavaScript

    #cube-css#webpack#sass/scss

    Matthias•630
    Submitted almost 3 years ago

    0 comments
View more solutions

Latest comments

  • Duyen Nguyen•950
    @Duyen-codes
    Submitted over 3 years ago

    Todo app

    3
    Matthias•630
    @astragenius
    Posted over 3 years ago

    Hey your bg-images and icons dont load correctly.

    Remove "/" on all your img url path.

    for example:

    body {
        --bg-img: url("/images/bg-mobile-dark.jpg");
    }
    
    to
    
    body {
    
        --bg-img: url("images/bg-mobile-dark.jpg");
    }
    
    

    do this on all your image urls. After this all images should load correctly.

    Marked as helpful
  • Javier Lopez•145
    @jglopezre
    Submitted over 3 years ago

    responsive-bootstrap-based-signup-form

    #bootstrap#sass/scss
    2
    Matthias•630
    @astragenius
    Posted over 3 years ago

    Hi my friend :)

    Delete the div and picture element with the class .background-image. And delete the class in the css file aswell. (these are not necessary) Set the background-image on the body via CSS. (less code)

    I make this change on your css file:

    body {
      background-image: url(./images/bg-intro-desktop.png);
      background-color: #ff7a7a;
      min-height: 100vh;
      font-family: "Poppins", sans-serif;
    }
    
    

    You can make a mediaquerie to change the mobile image aswell.

    media (max-width: 375px) {
       body {
      background-image: url(./images/bg-intro-mobile.png);
      
        }
    }
    
    

    This shoult work:)

    have a nice day :)

  • Klaudija✧˖*°࿐•130
    @klaudij
    Submitted over 3 years ago

    Intro component with sign-up solution

    1
    Matthias•630
    @astragenius
    Posted over 3 years ago

    Hey ho :) Good solution so far. Your layout is really accurate.

    You should set the 'label' html element to each input element.

    For more Details:

    Link for further Reading

    for example

    <label for="email"></label>
    <input type="email" id="email">
    
    or
    
    <label for="email">
    <input type="email" id="email">
    </label>
    
    

    Technical you don't need Javascript for clientsite formvalidation. You can it do only with CSS pseudo-classes. (its an alternative because some user have deactivate JS on their browser. So no JS validation possible.)

    For example

    input:invalid {
      border: 2px dashed red;
    }
    
    input:invalid:required {
      background-color: red;
    }
    
    input:valid {
      border: 2px solid green;
    }
    
    

    For more Details:

    MDN Webdocs CSS Tricks

  • Mortey Kafui•380
    @MorteyKafui
    Submitted over 3 years ago

    signup-form

    #accessibility
    1
    Matthias•630
    @astragenius
    Posted over 3 years ago

    Hey ho :) Good solution so far.

    Change

    background: url(/images/bg-intro-desktop.png);
    
    (you have to add a dot)
    to
    
    background: url(./images/bg-intro-desktop.png);
    
    (now your background image is loading).
    
    

    You can delete the body:after class completly

    Add the red background-color in the html element instead:

    html {
      font-size: 62.5%;
      background-color: hsla(0, 100%, 74%, 0.658);
    }
    
    

    You should set the 'label' html element to each input element.

    For more Details:

    Link for further Reading

    for example

    <label for="email"></label>
    <input type="email" id="email">
    
    or
    
    <label for="email">
    <input type="email" id="email">
    </label>
    
    

    Technical you don't need Javascript for clientsite formvalidation. You can it do only with CSS pseudo-classes.

    For example

    input:invalid {
      border: 2px dashed red;
    }
    
    input:invalid:required {
      background-color: red;
    }
    
    input:valid {
      border: 2px solid green;
    }
    
    

    For more Details:

    MDN Webdocs CSS Tricks

  • Maciej•280
    @dreamspice
    Submitted over 3 years ago

    Intro component with sign up form

    4
    Matthias•630
    @astragenius
    Posted over 3 years ago

    Hey ho :) Good solution so far. Your layout is really accurate.

    You should set a 'label' html element to each input element.

    For more Details:

    Link for further Reading

    for example

    <label for="email"></label>
    <input type="email" id="email">
    
    or
    
    <label for="email">
    <input type="email" id="email">
    </label>
    
    

    Technical you don't need Javascript for clientsite formvalidation. You can it do only with CSS pseudo-classes.

    For example

    input:invalid {
      border: 2px dashed red;
    }
    
    input:invalid:required {
      background-color: red;
    }
    
    input:valid {
      border: 2px solid green;
    }
    
    

    For more Details:

    MDN Webdocs CSS Tricks

    Marked as helpful
  • murilo•110
    @mlzzi
    Submitted over 3 years ago

    Sass and Javascript

    2
    Matthias•630
    @astragenius
    Posted over 3 years ago

    Hey ho :) Good solution so far. Your layout is really accurate.

    For your question for the Email input:

    • Set a "required" attribute and the "pattern" attribute and set an RegEx for Email validation in it. For example
    <input type="email" id="email"  placeholder="Email Address" pattern="/[\w\-\._]+@[\w\-\._]+\.\w{2,10}/" required>
    

    You should set the 'label' html element to each input element.

    For more Details:

    Link for further Reading

    for example

    <label for="email"></label>
    <input type="email" id="email">
    
    or
    
    <label for="email">
    <input type="email" id="email">
    </label>
    
    

    Technical you don't need Javascript for clientsite formvalidation. You can it do only with CSS pseudo-classes.

    For example

    input:invalid {
      border: 2px dashed red;
    }
    
    input:invalid:required {
      background-color: red;
    }
    
    input:valid {
      border: 2px solid green;
    }
    
    

    For more Details:

    MDN Webdocs CSS Tricks

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