<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rose</title>
    <description>The latest articles on DEV Community by Rose (@techniqueen).</description>
    <link>https://dev.to/techniqueen</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2694156%2Fc33cd602-386c-4f42-9f1a-7147e9cfbc8b.png</url>
      <title>DEV Community: Rose</title>
      <link>https://dev.to/techniqueen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/techniqueen"/>
    <language>en</language>
    <item>
      <title>Hello everyone!!! :) ...and, what am I doing wrong?</title>
      <dc:creator>Rose</dc:creator>
      <pubDate>Wed, 15 Jan 2025 21:48:06 +0000</pubDate>
      <link>https://dev.to/techniqueen/hello-everyone-and-what-am-i-doing-wrong-4and</link>
      <guid>https://dev.to/techniqueen/hello-everyone-and-what-am-i-doing-wrong-4and</guid>
      <description>&lt;p&gt;EDIT: It seems that I was missing one tiny little period. I fixed that, and it works now! Who knew one little character could make a whole function inoperable?!&lt;/p&gt;

&lt;p&gt;Hi everyone! I'm SO EXCITED to be joining your community! :) Can someone please help me figure this out?&lt;/p&gt;

&lt;p&gt;I've been studying javaScript for about a week, and dabbling in some HTML, and this morning I decided to try and follow along with a YouTube video, but it's just not working for me. Let me post the link, then I'll copy the EXACT text I have in Notepad (yeah.. I just started... so I'm using notepad, lol)&lt;/p&gt;

&lt;p&gt;I'm able to see index.html in my web browser. The "hello", the text box, and the button all show up just fine. But when I type "red" or "green" like the YouTube video shows... the text just stays black. Does this not work in notepad, or do I have some kind of error in my text? Or is the video just wrong?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=rjLHje_SkE4" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=rjLHje_SkE4&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;here's what I have in my notepad:&lt;/p&gt;


&lt;br&gt;
        &lt;h1 id="header"&gt;Hello!&lt;/h1&gt;
&lt;br&gt;
        &lt;br&gt;
        Click
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    &amp;lt;script&amp;gt;
    function pressed() {
        var text = document.getElementById("inp").value;
    if (text === "red"){
    document.getElementById("header").style.color = "red";
    }else if(text==="green"){
    document.getElementById("header").style.color = "green";
    }else{
    document.getElementById("header")style.color = "black";
    }
    }

&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;


&lt;p&gt;Thank you SO much for your help, because I just want this to work, and I need the practice, but I've hit a wall and I can't figure out what I'm doing wrong.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
