Hello, I've just completed this project. While working on this, I had fun and learned a lot about flex-grow property. I had difficulty implementing the custom text field for users to input their desired tip percentage. Any suggestion on how to implement it and make it user-friendly? What testing strategies should I use to ensure accurate calculations? Thank you.
Flávio Júnior
@flavin-jrAll comments
- @mayor-creatorSubmitted 9 months ago@flavin-jrPosted about 2 months ago
i think that the main goal that you are trying to reach with this solution was practice your js skills, therefore, your design has something to improve. Good work!! keep it up!!
0 - @Alexandru736Submitted 3 months agoWhat are you most proud of, and what would you do differently next time?
How I managed my first webpage using JS. I am also proud how I managed to insert the json data dynamically into the code. Next time, I might change how I populate the html string. I've look it up that modifying the
What challenges did you encounter, and how did you overcome them?innerHTML
property is security-breach prone, so it might be not safe to use it the same I did this time. I am also proud that through the process of designing the app, I found out about ARIA standards. I would recommend everybody who learns about web accessibility to look it up.It was pretty hard for me to understand the interaction between the CSS and HTML, how to add events to the tabs, so that both their state and the panels' states change, and how to do that while fetching the data from json. I overcame this challenge by separate the event handlers to the fetching process. Then, I manipulated the json data and split it into the 3 different timeframes, so that accessing the value would be made more easier in the HTML file. In the end, instead of thinking how to update the HTML string, I generated the 3 different panels in the javascript file.
What specific areas of your project would you like help with?I would love if I would be pointed better solutions for the json data manipulation, so that, if there would be added another timeframe as a tab, the whole process of adding is done easier.
@flavin-jrPosted 3 months agogreat job, a little different form the main design, but great work!!!!
1 - @wideirpSubmitted 3 months ago
- @wideirpSubmitted 3 months agoWhat specific areas of your project would you like help with?
I would like to add an animation slide in but I don't know much about CSS animations. If you can help me out, I would appreciate it!
@flavin-jrPosted 3 months agoAssessment of the Solution
-
Does the solution include semantic HTML?
- Yes, the solution includes semantic HTML. Elements such as
<header>
,<main>
,<article>
, and<footer>
are used appropriately, providing clear meaning and improving the document's readability and accessibility.
- Yes, the solution includes semantic HTML. Elements such as
-
Is it accessible, and what improvements could be made?
- Yes, the solution is accessible. The use of semantic elements aids screen readers and other assistive technologies in understanding the content and its structure. To further enhance accessibility, consider adding
aria-labels
or descriptivealt
attributes for images.
- Yes, the solution is accessible. The use of semantic elements aids screen readers and other assistive technologies in understanding the content and its structure. To further enhance accessibility, consider adding
-
Does the layout look good on a range of screen sizes?
- Yes, the layout is responsive. Media queries are employed to adjust the design for different screen sizes, ensuring that it looks good on both large screens and smaller devices. This approach maintains usability and aesthetics across various devices.
-
Is the code well-structured, readable, and reusable?
- Yes, the code is well-structured, readable, and reusable. The use of semantic HTML and organized CSS rules contributes to a clean and maintainable codebase. SCSS mixins and variables enhance reusability and consistency, making the styling easier to update and manage.
-
Does the solution differ considerably from the design?
- No, the solution aligns closely with the design. The semantic HTML and responsive layout ensure that the design principles are preserved across different devices and screen sizes, effectively translating the design into a functional and visually appealing web page.
Assessment of the Solution
-
Does the solution include semantic HTML?
- Yes, the solution includes semantic HTML. Elements such as
<header>
,<main>
,<article>
, and<footer>
are used appropriately, providing clear meaning and improving the document's readability and accessibility.
- Yes, the solution includes semantic HTML. Elements such as
-
Is it accessible, and what improvements could be made?
- Yes, the solution is accessible. The use of semantic elements aids screen readers and other assistive technologies in understanding the content and its structure. To further enhance accessibility, consider adding
aria-labels
or descriptivealt
attributes for images.
- Yes, the solution is accessible. The use of semantic elements aids screen readers and other assistive technologies in understanding the content and its structure. To further enhance accessibility, consider adding
-
Does the layout look good on a range of screen sizes?
- Yes, the layout is responsive. Media queries are employed to adjust the design for different screen sizes, ensuring that it looks good on both large screens and smaller devices. This approach maintains usability and aesthetics across various devices.
-
Is the code well-structured, readable, and reusable?
- Yes, the code is well-structured, readable, and reusable. The use of semantic HTML and organized CSS rules contributes to a clean and maintainable codebase. SCSS mixins and variables enhance reusability and consistency, making the styling easier to update and manage.
-
Does the solution differ considerably from the design?
- No, the solution aligns closely with the design. The semantic HTML and responsive layout ensure that the design principles are preserved across different devices and screen sizes, effectively translating the design into a functional and visually appealing web page.
0 -