Open yufenhsi opened 6 years ago
Hi Yufen, there's a typo in your gh-pages
branch (you called it gh-pahes
) so the hosted site doesn't work. Please fix that, double check, and then comment back here! 😸
Hi Katie, I've fixed that and checked. Thank you!
Hi @yufenhsi, the heading on your page looks great and your CSS is really well formatted! 🎉
The text box and button have some noticeable differences from the prototypes. Here are a few ways I think you can improve the project:
Your text box is quite a bit different from the prototype that we want you to model. We'd like to see your text box match the styles of the prototype exactly.
Here are screenshots of our prototype and yours before clicking in the text box:
And here are screenshots of our prototype and yours after clicking in the text box:
Would you mind inspecting the prototype and updating your text box styles to match exactly?
There are a few noticeable differences between your search button and the one on our prototype page.
Here are screenshots of our prototype and yours before clicking the button:
And here are screenshots of our prototype and yours while clicking the button:
Could you model the appearance of these features after the "Create Account" button on the prototype page linked in the criteria?
After you’ve made your changes and pushed them to GitHub and your hosted site, give it a once-over to make sure it looks right, then comment back here and I’ll take another look.
Thanks! 🤖
Hi Erik,
Thank you for the suggestions. I did some changes and currently my text box and search button look similar to the prototypes. 1 ) add searchBox:hover, searchBox:focus in my css file. 2 ) I also changed the border in .searchBox 3 ) I replaced old styles to new ones in search-Button:hover and search-Button:active.
Thanks, @yufenhsi, this is looking a lot closer! 🎉 There are a few differences that still jump out at me. Would you mind looking into these?
The text box looks really close at a glance. I do see some styles are a little different, though. Namely:
Would you mind inspecting the prototype and updating your text box styles to match?
There are a few noticeable differences between your search button and the one on our prototype page. Here are the things that jump out at me:
Here's a screenshot of the button with the blue outline and inset border:
Could you model the appearance of these features after the "Create Account" button on the prototype page linked in the criteria?
Once these are done, you should be all set for the next project! Let me know if you have any questions or need some pointers. 😄
Hi Erik,
Thank you! I've made some changes to match the prototypes according to the suggestions.
Wow, this is coming along nicely! 🤘
The only remaining detail is the font family of the text box. In the prototype, the font attribute is set to inherit
. However, inherit
is a keyword that means "use the value that my parent element is using." Since your text box's parent element does not supply a font family, the incorrect font is being used.
To find the actual value of the font-family
style that you should use, inspect the text box in our prototype and click on the "Computed" tab of Chrome Devtools. It'll look like this:
If you keep scrolling down, you will see the font-family
value. Grab that value and use it in your own CSS and your text box will match the prototype's exactly!
Give it a shot and reach out if you have questions! 🐰
Hi Erik,
Thank you for the detailed description! I think I find out that value for font-family is Merriweather, Merriweatherbody, sans-serif as this screenshot shows. And I put this value in my CSS file and it did not appear any stylelint.
I'm still worried that I would do it wrong then push. Thus, I'd like to make sure if that value for font-family is "Merriweather, Merriweatherbody, sans-serif." If so, then I will push my project again.
The body, html
that you see on the right side of Merriweather
is actually a comma-separated list of elements/selectors that the style has been applied to. That means you only want to use Merriweather, sans-serif
as your style — which tells the browser to use the Merriweather font if it's available, otherwise use the browser's default sans-serif font. 😄
Thank you for the suggestion. I've used Merriweather, sans-serif for textBox as my style and updated the project.
Excellent! Nice work on this project! 🎉 :shipit:
Build a prototype page (i.e. simple example of how it will look, without making it work) for a new search engine
@egillespie Can you take a look at this? It's hosted here and meets the following criteria:
input
below it, then a button below that to run the search (the button doesn't have to do anything for this prototype)span
elements are wrapped around each letter of the name, like this:<span>G</span><span>o</span><span>o</span><span>g</span><span>l</span><span>e</span>
, so that they can be styled individually with classesinput
element at the bottom of the Prototyping states page of the lesson to create an identical-looking search box for your own site (it should even use the same styles onfocus
)hover
andactive
).css
file