Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Ping single column html, sass, js

AlbertoIJS 135

@AlbertoIJS

Desktop design screenshot for the Ping single column coming soon page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I couldn't figure out how to make the i tag change depending on the screen with javascript. Any suggestion is welcome :)

Community feedback

P
Matt Studdert 13,611

@mattstuddert

Posted

For the i tag that you're using, I'd wrap that and the input in an element, like a div and then for desktop use position: absolute on the i tag and remove it for mobile. You definitely don't need to duplicate it. Hope that makes sense. Let me know if you have any questions! 🙂

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord