23 Replies
and this is my css
rel isn't a freely filled out field, you can't just put dutch words in there and expect it to work
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel these are the valid values
css needs to be imported using
rel="stylesheet"
, javascript can't be imported using <link>
tagsoh ok tought rel was just something to give a comment in how can i change all in one in vsc used to pycharm
nope, you have to use the proper thing, otherwise the browser doesn't know what to do with your files
<script src="website.js"></script>
, and the first two google fonts ones should be rel="preconnect"
the one with the href first is fine the way it is thoughscript tag should be like this:
<script src="website.js"></script>
<script src="website.js"></script>
yeah did that was about to say it😅
got 1 more question if you don t mind wanna figure the navbar out myself but how can i make the background image better?
not sure what you mean by "better"
want it to be more like this
this mobile
and this for pc
you probably want to set it as the background image on the body tag using css then
and remove the img tag altogether
i see looks awful tho😅
mobile
you'll have to position it using media queries, there's no other way for the browser to know that Napoleon is the focus of the image
how does that work😞
That's a very broad question, you may want to just do some research on positioning background images for various screen sizes yourself.
yeah watching some yt rn seems annoying😅
thx for your time and help tho
Glad to help