How can I attach any of my projects in my HTML AND CSS portfolio
WARNING
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
You will need to take an additional step here so the code you wrote presents in an easy to read format.
Please copy/paste all the editor code showing in the challenge from where you just linked.
Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Challenge Information:
Personal Portfolio Webpage - Build a Personal Portfolio Webpage
Here are some ways to link JavaScript (JS) projects to HTML and CSS:
Link CSS files: To link a CSS file to an HTML file, use the <link> tag in the HTML file.
Link JS files: To link a JS file to an HTML file, use the <script> tag in the HTML file. You can write the JS code directly in the tag or refer to an external file using the src attribute. The src attribute’s value should be the path to the JavaScript file. The script tag should be placed between the <head> tags in the HTML document.
Add CSS rules to a stylesheet: Use JavaScript to add CSS rules to a stylesheet. First, select the stylesheet element with a query selector. Then, assign the CSS styles to a variable. Finally, use the insertRule() property to add the CSS rules to the stylesheet.
Do you mean how can you use the for your project portfolio?
Is so, you can go to setting and find the them. There you can click on view and right click to open in another tab or window. You can copy and insert the link.