Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
28
Comments
30
Juan Camilo Botero
@jcbotero

All comments

  • rikku08•70
    @rikku08
    Submitted over 1 year ago

    Stats Preview Card Component

    3
    Juan Camilo Botero•970
    @jcbotero
    Posted over 1 year ago

    Hi rikku08!. Nice code!. If you don't mind I would like to make a suggestion. I think you forgot to do the background effect to the main image. You can achieve this in your css sheet like this:

    .img { mix-blend-mode: multiply; opacity: 0.8; }

    In this way, the image achieves the violet color that the challenge asks us for.

    If you think this helped you, please mark the comment as helpful. Thank you!

    Marked as helpful
  • nade12209•70
    @nade12209
    Submitted over 1 year ago

    1day

    1
    Juan Camilo Botero•970
    @jcbotero
    Posted over 1 year ago

    Hi nade12209!!. I think you did a great job with the organization and internal design of the challenge. What I could add is that your container or main div is not well centered, it is quite shifted to the right.

    This error is caused by:

    .okvir{ margin-left: 500px; } .lijepo{ width: 1440px; }

    The values ​​are too large, which makes the layout shift to the left. It would be good not to put values ​​in px since it is not very responsive, you could better put %. In the case of the width of the main container, it may be better to use 100vw. It is more flexible and responsive.

    If you think this helped you, please mark the comment as helpful. Thank you!

  • Federico Salerno•210
    @Federico-Salerno
    Submitted over 1 year ago

    Accordion responsive menu using javascript

    1
    Juan Camilo Botero•970
    @jcbotero
    Posted over 1 year ago

    Hello Federico. Good code. If you don't mind, the only thing I would have to add is that I think you forgot to cut the image that comes out of the div with a white background. You can do this like this in css:

    div containing the image { overflow: hidden }

    If you think this helped you, please mark the comment as helpful. Thank you!

    Marked as helpful
  • DavidR•20
    @DavidRM077
    Submitted over 1 year ago

    Css puro Flexbox HTML Simple

    2
    Juan Camilo Botero•970
    @jcbotero
    Posted over 1 year ago

    Hola David. Muy bien resuelto el challenge. Sobre posicionar/mover elementos, quizás lo que más me guste es usar el Flex-Box. No sé si lo usaste porque está caído el link de tu repositorio, pero sería algo así :

    A tu contenedor principal, le pones = display: flex ; Justifiy-content : center

    La segunda propiedad te da muchas más opciones, puede ser space-between si quieres que se separen a los largo del contener, o space-around para separarlos copando mejor los espacios, entre otras. También puedes organizar todo lo que está dentro del contenedor principal en formal de columna o filas. Es una gran herramienta para explorar

    Es si, tengo cuidado en no usar mucho el margin para posicionar elementos. Es mejor usar en el width : vw, o sino el rem. Son más responsive y se adaptan mejor a diferentes tamaños de pantallas.

    Espero te haya sido algo útil

    Saludos!!

  • rlboogey•30
    @rlboogey
    Submitted over 1 year ago

    Stats Preview Card

    1
    Juan Camilo Botero•970
    @jcbotero
    Posted over 1 year ago

    Hi rlboogey!. Nice code!. If you don't mind I would like to make a suggestion. I think you forgot to do the background effect to the main image. You can achieve this in your css sheet like this:

    .img { mix-blend-mode: multiply; opacity: 0.8; }

    In this way, the image achieves the violet color that the challenge asks us for.

    If you think this helped you, please mark the comment as helpful. Thank you!

  • Mehmet Ali Meşe•130
    @mehalimes
    Submitted over 1 year ago

    Stats Preview Card Component

    #accessibility
    1
    Juan Camilo Botero•970
    @jcbotero
    Posted over 1 year ago

    Hi Mehmet!. Nice code!. If you don't mind I would like to make a suggestion. I think you forgot to do the background effect to the main image. You can achieve this in your css sheet like this:

    .img { mix-blend-mode: multiply; opacity: 0.8; }

    In this way, the image achieves the violet color that the challenge asks us for.

    If you think this helped you, please mark the comment as helpful. Thank you!

    Marked as helpful
  • mickislim•100
    @mickislim
    Submitted over 1 year ago

    react,vanilla css & html

    #react
    1
    Juan Camilo Botero•970
    @jcbotero
    Posted over 1 year ago

    Hi mickislim!. Nice code!. If you don't mind I would like to make a suggestion. I think you forgot to include a couple of things :

    1.The credit card number field is not separating every 4 digits To add space every 4 digits, in your javascript sheet you can add an eventlistener that takes the id of that input, and through the .replace() method, give an instruction to place a space every 4 digits. This way:

    document.getElementById("cardnumber").addEventListener('input', function (e) { e.target.value = e.target.value.replace(/[^\dA-Z]/g, '').replace(/(.{4})/g, '$1 ').trim(); });

    2.The image of the credit card is not reflecting the values entered in the fields. For this, you can use javascritp to send the value from one field to the other:

    document.getElementById("inputFilled").innerText = document.getElementById("imgInput").value;

    This within a function, or within an eventlistener.

    If you think this helped you, please mark the comment as helpful. Thank you!

  • Abraham-s-yakubu•100
    @Abraham-s-yakubu
    Submitted over 1 year ago

    interactive card

    1
    Juan Camilo Botero•970
    @jcbotero
    Posted over 1 year ago

    Hi Abraham-s-yakubu!. Nice code!. If you don't mind I would like to make a suggestion. I think you forgot to include a couple of things :

    1.The credit card number field is not separating every 4 digits. To add space every 4 digits, in your javascript sheet you can add an eventlistener that takes the id of that input, and through the .replace() method, give an instruction to place a space every 4 digits. This way:

    document.getElementById("cardnumber").addEventListener('input', function (e) { e.target.value = e.target.value.replace(/[^\dA-Z]/g, '').replace(/(.{4})/g, '$1 ').trim(); });

    2.The image of the credit card is not reflecting the values entered in the fields. For this, you can use javascritp to send the value from one field to the other:

    document.getElementById("inputFilled").innerText = document.getElementById("imgInput").value;

    This within a function, or within an eventlistener.

    If you think this helped you, please mark the comment as helpful. Thank you!

    Marked as helpful
  • OsatohanmwenT•760
    @OsatohanmwenT
    Submitted over 1 year ago

    Stats-preview-card-component-solution

    #cube-css#itcss#materialize-css#tailwind-css#sass/scss
    1
    Juan Camilo Botero•970
    @jcbotero
    Posted over 1 year ago

    Hi OsatohanmwenT!. Nice code!. If you don't mind I would like to make a suggestion. I think you forgot to do the background effect to the main image. You can achieve this in your css sheet like this:

    .img { mix-blend-mode: multiply; opacity: 0.8; }

    In this way, the image achieves the violet color that the challenge asks us for.

    If you think this helped you, please mark the comment as helpful. Thank you!

    Marked as helpful
  • sanju321GH•270
    @sanju321GH
    Submitted almost 2 years ago

    junior projevt solution

    1
    Juan Camilo Botero•970
    @jcbotero
    Posted almost 2 years ago

    Hello Sanju, nice code. The only suggestion I could make if you don't mind is that the graphics are not well centered for large screens. Maybe you did it only for the main design that they asked you for, but to make it more responsive, you could use something like this in the main tag (main or body):

    .body { width: 100vw }

    For smaller screens, you can use media queries.

    If you think this helped you, please mark the comment as helpful. Thank you!

  • Thwin Lin Htet•130
    @kohtet0
    Submitted almost 2 years ago

    Responsive with tailwind

    #tailwind-css
    1
    Juan Camilo Botero•970
    @jcbotero
    Posted almost 2 years ago

    Hi Thwin!. Nice code!. If you don't mind I would like to make a suggestion. I think you forgot to do the background effect to the main image. You can achieve this in your css sheet like this:

    .img { mix-blend-mode: multiply; opacity: 0.8; }

    In this way, the image achieves the violet color that the challenge asks us for.

    If you think this helped you, please mark the comment as helpful. Thank you!

    Marked as helpful
  • Aaron Varga•370
    @avinno
    Submitted almost 2 years ago

    Ping Coming Soon Page

    1
    Juan Camilo Botero•970
    @jcbotero
    Posted almost 2 years ago

    Hello Aaron, excellent code. Perhaps the only thing I could suggest is that your input field is accepting values that are not email type. A possible solution is to place the following in that input:

    type="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}"

    Also, you can add an oninvalid=" " function, if you want to customize the error message.

    If you think this helped you, please mark the comment as helpful. Thank you!

    Marked as helpful
  • Ayinde Sodiq•400
    @ayindesadiq01
    Submitted about 2 years ago

    Interactive card details form using HTML, CSS & JavaScript

    1
    Juan Camilo Botero•970
    @jcbotero
    Posted about 2 years ago

    Hi Ayinde, Nice code!!. To add space every 4 digits, in your javascript sheet you can add an eventlistener that takes the id of that input, and through the .replace() method, give an instruction to place a space every 4 digits. This way:

    document.getElementById("cardnumber").addEventListener('input', function (e) { e.target.value = e.target.value.replace(/[^\dA-Z]/g, '').replace(/(.{4})/g, '$1 ').trim(); });

    If you think this helped you, please mark the comment as helpful. Thank you!

  • Yogesh Kc•140
    @y0g3shpf
    Submitted about 2 years ago

    stats-preview-card-component-main

    1
    Juan Camilo Botero•970
    @jcbotero
    Posted about 2 years ago

    Hi Yogesh!. Nice code!. If you don't mind I would like to make a suggestion. I think you forgot to do the background effect to the main image. You can achieve this in your css sheet like this:

    .img { mix-blend-mode: multiply; opacity: 0.8; }

    In this way, the image achieves the violet color that the challenge asks us for.

    If you think this helped you, please mark the comment as helpful. Thank you!

    Marked as helpful
  • Kimball S Sumney•120
    @ks5ks
    Submitted over 2 years ago

    Stats Preview Card Component

    1
    Juan Camilo Botero•970
    @jcbotero
    Posted over 2 years ago

    Hi Kimball, nice code!. The only thing I could add to you is that perhaps the size of your design was somewhat small. You can fix this in your css sheet, with the body selector. something like that:

    body { width: 100vw; }

    If you need different sizes, you can do it with media-queries.

    If you think this helped you, please mark the comment as helpful. Thank you!

  • Have-Samuel•390
    @Have-Samuel
    Submitted over 2 years ago

    HTML, CSS, POSITIONING, & JAVASCRIPT

    2
    Juan Camilo Botero•970
    @jcbotero
    Posted over 2 years ago

    Hi, Nice code!!. To add, I think you forgot to put the error message when filling out the form, for example, when you enter a text that does not correspond to the email, a message that says "Looks like this is not an email" should appear, with its respective error icon.

    You can do this by placing a div in your html sheet that is only displayed when the error is fired. Something like that:

    <input oninvalid="mis()" required> <div class="error" style="display:none;" id="er2" > <img src="images/icon-error.svg" alt="icon"> <div id="show" > Last Name cannot be empty</div> message--> </div>

    the oninvalid of the input connects to a formula in your javascript sheet, which displays the div below when it doesn't fill properly. DOM management.

    If you think this helped you, please mark the comment as helpful. Thank you!

    Marked as helpful
  • Emmanuel Aberuagba•10
    @Biglad22
    Submitted over 2 years ago

    HTML, CSS

    1
    Juan Camilo Botero•970
    @jcbotero
    Posted over 2 years ago

    Hi Emmanuel , nice code!. I think you forgot to include the continue button color change as the layout suggests. You can do this easily, just by hovering the button selector. Thus: button:hover { cursor: pointer; background image: linear gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%)); }

    If you think this helped you, please mark the comment as helpful. Thank you!

  • franco aguirre•930
    @Fran3103
    Submitted over 2 years ago

    FAQ Card

    1
    Juan Camilo Botero•970
    @jcbotero
    Posted over 2 years ago

    Hola Franco. Buen código. si no te importa, lo único que tendría para agregar es que creo que olvidaste cortar la imagen que se sale un poco del div con fondo blanco. Esto lo puedes hacer así en css:

    div que contiene la imagen { overflow: hidden }

    Si crees que esto te ayudó, marca el comentario como útil. ¡Gracias!

    Marked as helpful

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

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