Responsive Website using html, css and javascript and bootstrap
Design comparison
Solution retrospective
1.I was able to complete this project using different tools like:html, css, javascript and bootstrap 2.I used different tools for different pages to practice building sites in different ways 3.Added animations to some parts of the project 4.Added a custom loader to all pages but the home page to ensure the page loads after all other components are loaded on
What challenges did you encounter, and how did you overcome them?1 .Had Issues with using github when I first started but I was anle to get through it with a few tutorials
2 .faced an issue with components on the webpage not loading, was able to overcome it by adding the load event listener to the window
3 . Had an issue with the data imported from the JSON file not loading on some devices and after a tutorial and asking a question on stack overflow figured it out by changing the code for pulling the data from the JSON file from import info from '../data.json' with {type: 'json'};
to try { const response = await fetch('../data.json'); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } const info = await response.json(); destinations = info.destinations; } catch (error) { console.error('Error loading data:', error); document.body.innerHTML = 'Failed to load destination data. Please try again later.'; return; }
I had a problem specifically on IOS devices, when the navigation menu is opened you shouldn't be able to scroll until the menu is closed but for some reason couldn't seem to get it to work on iPhones
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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