23 Replies
![No description](https://cdn.answeroverflow.com/1197261378583535696/image.png)
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
![No description](https://cdn.answeroverflow.com/1197263665443905687/image.png)
![No description](https://cdn.answeroverflow.com/1197263922068209675/image.png)
<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 though![No description](https://cdn.answeroverflow.com/1197264770093547571/image.png)
script 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
![No description](https://cdn.answeroverflow.com/1197265571218194452/image.png)
this mobile
![No description](https://cdn.answeroverflow.com/1197265830510067812/image.png)
and this for pc
![No description](https://cdn.answeroverflow.com/1197265893428842556/image.png)
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
![No description](https://cdn.answeroverflow.com/1197267213648924672/image.png)
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