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

Icekid35

@Icekid35260 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

  • Responsive Job listing with filters

    #accessibility#fetch#react

    Icekid35•260
    Submitted about 3 years ago

    0 comments
  • Rock paper scissors game

    #accessibility

    Icekid35•260
    Submitted over 3 years ago

    0 comments
  • Calculator app


    Icekid35•260
    Submitted over 3 years ago

    0 comments
  • Interactive comment section

    #accessibility#react#fetch

    Icekid35•260
    Submitted over 3 years ago

    2 comments
  • Responsive link shortner

    #fetch

    Icekid35•260
    Submitted over 3 years ago

    0 comments
  • Responsive page using flexbox

    #fetch#accessibility

    Icekid35•260
    Submitted over 3 years ago

    2 comments

Latest comments

  • Guilherme Fernandes Vidotti•520
    @Vidottizzz
    Submitted about 3 years ago

    Advice generator, without framework

    1
    Icekid35•260
    @Icekid35
    Posted about 3 years ago

    Hello there Nice work 👏👏

    The reason it keeps reload is because you are calling location.reload() method another way to generate the advice without reloading is to modify your script from •{ fetch("https://api.adviceslip.com/advice").then((response) => { response.json().then((json) => {

            titleAdvice.innerText = `ADVICE #${json.slip.id}`;
            advice.innerText = `" ${json.slip.advice}"`;
        });
        btn.addEventListener('click', function() {
            window.location.reload();
    
        })
    });
    

    }•••••••• To ••••••••••{ fetch("https://api.adviceslip.com/advice").then((response) => { response.json().then((json) => {

            titleAdvice.innerText = `ADVICE #${json.slip.id}`;
            advice.innerText = `" ${json.slip.advice}"`;
        });
        btn.addEventListener('click', function() {
            fetch("https://api.adviceslip.com/advice").then((response) => {
        response.json().then((json) => {
    
            titleAdvice.innerText = `ADVICE #${json.slip.id}`;
            advice.innerText = `" ${json.slip.advice}"`;
        });
    

    })

        })
    });
    

    }•••••• or you can just wrap it in another function like this ••••••••••••{ function Regenerate(){ fetch("https://api.adviceslip.com/advice").then((response) => { response.json().then((json) => {

            titleAdvice.innerText = `ADVICE #${json.slip.id}`;
            advice.innerText = `" ${json.slip.advice}"`;
        });
    

    } °°°°°°°°°°then call the function like this °°°°°° btn.onclick=Regenerate }••••••••• ALSO TO GET RID OF THE ACCESSIBILITY ISSUES WRAP ALL YOUR ELEMENT IN A MAIN TAG 😉•••••

  • BIJOY MAJUMDER•200
    @RageOfAthena
    Submitted about 3 years ago

    ADVICE SLIP

    1
    Icekid35•260
    @Icekid35
    Posted about 3 years ago

    Nice work 👏👏 Especially the loading animation Just a few tips: •increase the margin top to make it look more identical(optional) •increase the padding (top and bottom) for each of your element Aside that bravo👏 good job

  • axlgomez•60
    @axlgomez
    Submitted about 3 years ago

    Calculator app Javascript

    2
    Icekid35•260
    @Icekid35
    Posted about 3 years ago

    Bravo👏👏 Nice work To get rid of the html issue - you can replace your 'display__current ' element with an h1 element instead of a div

    Marked as helpful
  • Maikol hernandez•200
    @Maikolrm
    Submitted about 3 years ago

    React Advice Application

    #react#vite#tailwind-css
    1
    Icekid35•260
    @Icekid35
    Posted about 3 years ago

    Amazing work 👏 To get rid of some accessibility issues ensure you wrap all the element in your body tag with a<main</main> tag😉

    Marked as helpful
  • Fernando•120
    @fersanabria8
    Submitted about 3 years ago

    advice-generator-react-tailwind

    1
    Icekid35•260
    @Icekid35
    Posted about 3 years ago

    Awesome work👏

    To get rid of some of the accessibility issues wrap all the element in your body tag with <main></main>

  • Mensur Duraković•195
    @mensur-durakovic
    Submitted over 3 years ago

    Rock paper scissors game

    #react#sass/scss#redux
    1
    Icekid35•260
    @Icekid35
    Posted about 3 years ago

    Awesome work💯

    Let me put a little tip in the tip jar🤓

    To clear the accessibility issues :-

    • Wrap your entire component in a <main></main> Tag • wrap your score in an <h1></h1> tag

    And to make your animation cooler

    I think you should show make the 'play again' button (including win lose and tie ) show up after what the house picked has showed up;-)

    Stunning animations by the way ^_^

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