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

Héctor Martin Dama

@HectorMartinDamaMadrid240 points

Higher Technician in Multi-platform Applications Development

Latest solutions

  • Vite + Vanilla JS

    #animation#cypress#sass/scss

    Héctor Martin Dama•240
    Submitted about 2 years ago

    0 comments
  • 7-1 Sass Architecture and Partials

    #sass/scss#animation

    Héctor Martin Dama•240
    Submitted over 2 years ago

    0 comments
  • FAQ accordion card solution

    #sass/scss

    Héctor Martin Dama•240
    Submitted over 2 years ago

    0 comments
  • Mobile first, SASS, Flexbox, Grid, Partials

    #sass/scss#animation

    Héctor Martin Dama•240
    Submitted over 2 years ago

    1 comment
  • Mobile first, SASS, Flexbox, Grid

    #sass/scss#fetch

    Héctor Martin Dama•240
    Submitted over 2 years ago

    0 comments
  • Mobile first, SASS, Partials, Flexbox, Grid, Angular

    #angular#sass/scss

    Héctor Martin Dama•240
    Submitted over 2 years ago

    0 comments
View more solutions

Latest comments

  • Daniel Joseph•10
    @Joshdesign
    Submitted almost 2 years ago

    Product Preview using flex display

    2
    Héctor Martin Dama•240
    @HectorMartinDama
    Posted almost 2 years ago

    Hello @Joshdesign the desing is very similiar to the original and the mobile version is very good. The media querys are correct. To be your first proyect in frontendmentor is great.

    Marked as helpful
  • alexgabriel8•120
    @alexgabriel8
    Submitted over 2 years ago

    Responsive advice generator that fetchs an API

    #fetch
    2
    Héctor Martin Dama•240
    @HectorMartinDama
    Posted over 2 years ago

    Hello @alexgabriel8, in your request to the api use this:

     fetch('https://api.adviceslip.com/advice/' + Math.floor(Math.random() * 200))
    

    The random number is because if you do not indicate a specific advice, it does not work correctly, in your project change the advice when you click in the button five times

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

    Qr Code - Componente

    3
    Héctor Martin Dama•240
    @HectorMartinDama
    Posted over 2 years ago

    Hello @Lohuama, change the property "src" for this:

    src="./images/image-qr-code.png"
    

    You are missing the point, this indicates the main folder of the project.

  • Lisa Allen•570
    @CrypticMango
    Submitted over 2 years ago

    Advice Generator Fetch API HTML CSS JavaScript

    1
    Héctor Martin Dama•240
    @HectorMartinDama
    Posted over 2 years ago

    Hello @CrypticMango, your file js is good but I would change the api request into a function. That way you don't need to reload the page every time you click the button.

    File js

    function getApi(){
        fetch('https://api.adviceslip.com/advice/' + Math.floor(Math.random() * 200))
        .then(res => res.json())
        .then(res =>  {
            document.getElementById("phrase").innerHTML= '"' + res.slip.advice + '"'
            document.getElementById("id").innerHTML= 'ADVICE #'+ res.slip.id
        })
        .catch(err => console.log(err))
    }
    

    The random number is because if you do not indicate a specific advice, it does not work correctly.

    index.html

    <button onclick="getApi()"></button>
    

    Call the function in the button

    For the rest it is perfect.

    GitHub Repo Page preview

    Marked as helpful
  • Héctor Martin Dama•240
    @HectorMartinDama
    Submitted over 2 years ago

    Mobile first, SASS, Flexbox, Grid, Partials

    #sass/scss#animation
    1
    Héctor Martin Dama•240
    @HectorMartinDama
    Posted over 2 years ago

    Any feedback is welcome.

    Cualquier feedback es bienvenido.

  • Ebison•10
    @drEbison
    Submitted over 2 years ago

    Product Preview Card Component

    1
    Héctor Martin Dama•240
    @HectorMartinDama
    Posted over 2 years ago

    Perfect 🤗

View more comments

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