Unit 4 Learning Diary
Attached is a pdf version of the following text for easier readability
Throughout my experience of writing my CSS I enjoyed the styling of the pages however there was one thing specifically I felt like needed improving. This was the static slider I had implemented on my Search page which needed to be populated dynamically. This allowed me to search the web for something that could be helpful for my website. Through extensive research I found a CodePen snippet (https://codepen.io/predragdavidovic/pen/mdpMoWo). This allowed me to improve the slider functionality using JavaScript and implement a dynamically populated slider for the min/max price of the player.
CodePen Code
The JavaScript code provided was excellent, and I made only minor modifications to it. One notable enhancement I made was replacing the initial HTML code with the snippet I found. I adjusted the minimum and maximum prices as well as introduced a step of 1000, which contributed to a more realistic user experience for the game UltimateXI Advisor is based upon (FIFA).
The original code was well-crafted, with few changes needed. However, I did address some coding practices that could be improved. For instance, I noticed repeated hex color codes for the slider background and highlighted range. To enhance code readability and maintainability, I defined constants at the top of the file for these variables. Additionally, I replaced instances of document.querySelector with document.getElementById since I ensured that the IDs were properly used in the HTML, as they are all unique identifiers. This change was made for consistency with my preferred coding practices. In terms of HTML and CSS, I adjusted class names to align with my naming conventions and modified styles, colors, and sizes to better suit my project's requirements.
Personas that enhance their experience from this feature
The incorporation of this feature was a result of a thoughtful analysis of the website's objectives and requirements, which were meticulously defined during Unit 1, primarily through the creation of personas and scenarios. For instance, Hussain, an enthusiastic FIFA gamer, aspires to enhance his Ultimate Team's performance while staying within budget constraints. He relies on UltimateXI Advisor to identify player cards that meet his financial limits while elevating his team's ratings. Hussain utilizes filtering options to focus on affordable, high-rated players and reviews user comments to confirm their compatibility with his playing style. In contrast, Lyan, a casual FIFA player, seeks to have enjoyable gaming sessions with friends. She visits UltimateXI Advisor in search of players who are easy to buy based on their max price and possess impressive overall ratings.
Learning Outcomes
What Went Well
What I struggled With
I felt like using the given code from the link the hardest part was understanding how to modify the CSS code for the search page to continue having the attractive design from Unit 3. It took time to make the changes, but it worked out at the end even better than I anticipated.
What I Would Change
Something I am considering starting is to start setting up some testing from users to receive some feedback to see changes there could be. Conducting more extensive testing and gathering user feedback can help identify potential issues or areas for enhancement. This iterative process can lead to a website that better meets user expectations and needs.
UltimateXI_Advisor_Unit4
Attached is the zip file for the unit's webpages including all the HTML pages, CSS files, and the JavaScript created.
The Landing is a social site for Athabasca University staff, students and invited guests. It is a space where they can share, communicate and connect with anyone or everyone.
Unless you are logged in, you will only be able to see the fraction of posts on the site that have been made public. Right now you are not logged in.
If you have an Athabasca University login ID, use your standard username and password to access this site.
We welcome comments on public posts from members of the public. Please note, however, that all comments made on public posts must be moderated by their owners before they become visible on the site. The owner of the post (and no one else) has to do that.
If you want the full range of features and you have a login ID, log in using the links at the top of the page or at https://landing.athabascau.ca/login (logins are secure and encrypted)
Posts made here are the responsibility of their owners and may not reflect the views of Athabasca University.