This challenge will have you working with external APIs to set data based on a visitor's location. You'll also be using logic to set content depending on the time of day.
- Sketch and Figma design files
- Mobile, tablet & desktop layouts
- Professional design system for colors, fonts, etc
- Optimized image assets
- README file to help you get started
- HTML file with pre-written content
Your challenge is to build out this clock application and get it looking as close to the design as possible. You'll be using external APIs to set the data based on the visitor's location and generate random programming quotes. We provide more information on these APIs in the challenge
You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.
Your users should be able to:
- View the optimal layout for the site depending on their device's screen size
- See hover states for all interactive elements on the page
- View the current time and location information based on their IP address
- View additional information about the date and time in the expanded state
- Be shown the correct greeting and background image based on the time of day they're visiting the site
- Generate random programming quotes by clicking the refresh icon near the quote
Download the project and go through the
README.md file. This will provide further details about the project and help you get set up.
Want some support on the challenge? Join our Slack community and ask questions in the help channel.
Download the starter code
Set up the project with version control (e.g. Git)
README.mdfile and have a look around the project
Get colors, fonts, etc from the design system in the design file
Set up your project/file architecture however you want
Ideas to test yourself
Train your eye for detail by getting your solution as close to the design as you can
Try estimating the time it will take for you to build the project. Then see if the time taken matches up to your estimate. Project estimations are a skill that is often overlooked, but is important for professional developers
Can I use libraries/frameworks on these projects?
Yes! Our challenges provide professional designs but there are no rules on what tools to use. So feel free to use anything you like to build your projects.
How can I get help if I'm stuck on a challenge?
The best (and quickest) way to get help on a challenge is in our Slack community. There are thousands of other developers in there, so it's a great place to ask questions. We even have a dedicated "help" channel! If you haven't joined yet, you can get an invite to our Slack community here.
Can I use these projects in my portfolio?
Definitely! Please do feel free to use whatever you build in your portfolio. Helping developers add professional-looking projects to their portfolio was one of the reasons we created this platform!
Is there an official solution I can take a look at?
We don't provide "official" solutions for the challenges. This is because there is no single perfect way to complete a challenge. Instead, you're encouraged to review other people's code in the community. You can learn so much by seeing how other people have approached the same challenges and giving them feedback.
Do I get a code review when I post my solution?
Frontend Mentor is a collaborative learning community where everyone can give feedback to each other. If you'd like to receive feedback from the community, please be sure to post a question when you submit your solution. The more specific you can be, the better. Being clear with your questions means you're much more likely to receive valuable feedback from others.
How do I submit my solution?
We'd recommend reading our complete guide to submitting solutions. If you get stuck and need help, please feel free to ask questions in our Slack community, and we'll help you submit your project.