Hi, I am new to HTML and CSS. Please rate my first project
https://codepen.io/priyabhatnagar/pen/KKgOabp
Thanks
Hi, I am new to HTML and CSS. Please rate my first project
https://codepen.io/priyabhatnagar/pen/KKgOabp
Thanks
Welcome to the forums @PriyaBhatnagar Your page looks good. Some things to revisit;
Side note, The header
and footer
elements should be outside of the main
element. Maybe do a search using something like â html semantics â
footer
element should be outside of the main
element. Maybe do a search using something like â html semantics âHi Roma,
Thanks for the review. The suggested changes are applied.
Thanks
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
)
Hi Roma,
Thanks for pointing out about the test script. I was wondering where to write test cases. The font size issue is addressed.
Thanks
it seems that you still fit your h1 font size based on screen width in the java script section. The line document.getElementsByTagName("h1")[0].style.fontSize = "6vw";
. Delete this and use the #title
selector in the CSS section instead, where you can set units different from vw
. Id suggest pixels or em
.
If youâve removed that line in JS you need to ensure you save the change otherwise it looks as though it hasnât been addressed.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.