Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
21
Comments
6

Davis

@davislocsLatvia350 points

Hey im a guy from Latvia who is learning front-end programming.

I’m currently learning...

- CSS - HTML - JavaScript

Latest solutions

  • bento grid main with SASS

    #sass/scss

    Davis•350
    Submitted 2 months ago

    Here's my solution to the Bento grid challenge. As always, I used SASS for this solution and grid layout of course. I really didn't have any difficulties. Maybe someone could find some problems. Feel free to add any suggestions or ask questions.


    0 comments
  • social links profile with sass

    #sass/scss

    Davis•350
    Submitted 12 months ago

    0 comments
  • interactive card details form using SASS

    #sass/scss

    Davis•350
    Submitted over 1 year ago

    0 comments
  • BMI Calculator

    #sass/scss

    Davis•350
    Submitted over 1 year ago

    0 comments
  • Age calculator app using sass

    #sass/scss

    Davis•350
    Submitted over 1 year ago

    0 comments
  • Equalizer landing page with SCSS

    #sass/scss

    Davis•350
    Submitted almost 2 years ago

    0 comments
View more solutions

Latest comments

  • Elijah•320
    @taco-neko
    Submitted about 2 years ago

    Interactive Rating Component using HTML, CSS (Sass) and Javascript

    #accessibility#sass/scss
    1
    Davis•350
    @davislocs
    Posted about 2 years ago

    Hey. Im not 100% sure about this, but try uncomment this part of HTML code and image should show up.

    <div class="container thanks-state">
       <img class="thanks-image" src="/images/illustration-thank-you.svg">
       <p class="selected">You selected Add rating here out of 5</p>
       <h1>Thank you!</h1>
       <p>
         We appreciate you taking the time to give a rating. If you ever need more support,
         don't hesitate to get in touch!
       </p>
     </div> 
    
    

    If you found this helpful mark it as such :)

  • Coder852•280
    @Coder852
    Submitted over 2 years ago

    3 column card preview component

    2
    Davis•350
    @davislocs
    Posted over 2 years ago

    Hello! Job well done. I only have a couple of suggestions for improvements.

    • For better accessibility, it is better to use tags like <main> and <section>.

    • instead of <div class="wrapper"> use <main class="wrapper">. And for every box is better to use <section class="box box1"> instead of <div class="box box1">.

    • <div class="container"> is not needed here. To make code cleaner, you can center your <main class="wrapper"> by using justify-items: center on <body> selector. And also move max-width: 960px property on <main class="wrapper">. So you can totally delete <div class="container">.

    • I also suggest using rem units instead px.

    Watch this video about CSS units.

    I hope this is helpful. Happy coding! :)

    Marked as helpful
  • panupong222•10
    @panupong222
    Submitted over 2 years ago

    QR code component HTML and CSS

    1
    Davis•350
    @davislocs
    Posted over 2 years ago

    Hey whats up!

    I have a few suggestions for you to improve your code:

    • Dont use <div> for everything. There are many other tags which you can use for better accessibility. For example use <main class="container"> instead of <div class="container"> and <section class="tittle"> instead <div class="tittle">. Instead of <div class="attribution"> use <footer class="attribution">.

    • Its better to use rem units instead of px.

    Whatch this video about css units.

    If you found this helpful please mark it as such :)

    Happy coding!

    Marked as helpful
  • Shubhooooo•20
    @Shubhooooo
    Submitted over 2 years ago

    Flexbox;

    1
    Davis•350
    @davislocs
    Posted over 2 years ago

    Hey whats up!

    I have a few suggestions for you to improve your code:

    • Dont use<div>for everything. There are many other tags whitch you can use for better accessibility. Before even trying to make this responsive, first learn about proper semantic meaning about html tags.

    Whatch this video about correct use HTML semantics.

    • for responsivnes use :
    @media only screen and(max-width: 800px)
    
    • I also suggest to start using rem units instead of px:

    here are a video about units.

    I hope this helps. Happy coding! :)

  • EthanAmato•130
    @EthanAmato
    Submitted over 2 years ago

    QR Code Project done with simple card design

    3
    Davis•350
    @davislocs
    Posted over 2 years ago

    Hey whats up!

    I have a few suggestions for you to improve your code:

    • Dont use<div>for everything. There are many other tags whitch you can use for better accessibility.

    For example insted of this:

    <div class="card"></div>
    

    Use this:

    <main class="card"></main>
    

    Whatch this video about correct use HTML semantics.

    https://www.youtube.com/watch?v=kGW8Al_cga4

    • I also suggest to start using rem units instead of px:

    here are a video about units.

    https://www.youtube.com/watch?v=N5wpD9Ov_To

    • Always use alt attribute on <img> to specify an alternate text for an image, if the image cannot be displayed.

    Happy coding! :)

    Marked as helpful
  • Cindy Kandie•100
    @cindykandie
    Submitted over 2 years ago

    CSS Flex, CSS variables, Media queries, Responsive Web Development

    #accessibility
    2
    Davis•350
    @davislocs
    Posted over 2 years ago

    Hi Cindy! your project looks great, but i have one suggestion for you:

    • Use <picture> tag insted of <section> for wraping all of your pictures.

    Insted of this:

    <section>
          <img src="images/image-product-desktop.jpg" class="product-image" alt="Perfume image Gabrielle channel">
    </section>
    

    Do this:

    <picture>
            <source media="(max-width:800px)" srcset="images/image-product-mobile.jpg">
            <img src="images/image-product-desktop.jpg" class="product-image" alt="Perfume image Gabrielle channel">
    </picture>
    

    This will help you with changeing pictures from desktop to mobile version. Instead of having one image that is scaled up or down based on the viewport width, you can use multiple images.

    If you found this helpful please mark it as such :)

    Marked as helpful
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