Skip to main content

Javascript: What is it and where does it go?

For pretty much my whole blogging journey I've been working on coding designs for my sites. CSS was my favorite and HTML is bearable, but Javascript... Oh, the dreaded Javascript...

I could never get Javascript down. I couldn't write my own codes or even make the ones I got off the web work. And I never understood why. So I've created this post today to help those of you who may be struggling as well.


What is it?

Javascipt is the most popular programming language. Like, ever. It can change HTML content, attributes, CSS styles, and much, much more. It makes web pages interactive and can be used in non-web based environments, such as PDFs and desktop widgets. [1]

If you'd like to learn more about Javascript, like who created it and the many things it can do, head on over here. :)

The standard Javascript code:

<script type='text/javascript'>
//<![CDATA[
Your JavaScript coding here
//]]>
</script>
The code above is very important when it comes to adding your Javascript into your Blogger template. If you just slap your code into your template without using the script above, it won't be read properly and could do some terrifying things to your blog. So be careful when implementing Javascript and always make sure you have this code surrounding your hard work.

How to implement it:

Add your code before the </head> tag

How to get there

  1. Choose the blog you'd like to add your Javascript to.
  2. Choose Template then click "Edit HTML".
  3. Paste your code above the </head> tag (if you can't find it, use Ctrl + F).

Add it into a HTML/Javascript gadget

Take your code, head on down to layout, and paste into the gadget. Make sure to save your changes!

As you can see, these steps are actually very simple, and don't require much effort at all. If you have any comments, questions or concerns, feel free to contact me. I love hearing from you guys. :)

xx Nicole Rose

Comments

Popular posts from this blog

A to Z CSS Cheat Sheet

Alright. Maybe you're just starting out with redesigning your blog. Maybe you want to get into CSS, but don't know where to start. Or perhaps you like figuring things out on your own, but you're stuck and need a resource.
That's why I crafted this super awesome (and easy to use) A to Z CSS cheat sheet. Even if you're not a "designer", and your "just a blogger", you will greatly benefit from knowing basic CSS like what's been included below.
Please have fun with this and share with me what you create with the help of these cheat sheets! :)



Click here to check out and download the A to Z CSS Cheat Sheet!
Keep buzzin'. <3 xx Nicole Rose

Room Tour 2019

I've always wanted to do one of these posts. If not for the enjoyment of others, for the enjoyment of my future self to look back on and realize how much my style and space have changed.

My door. I think I'm sooo artsy for taping paint swatches to my door. And I actually love how it looks too. I was going for "Starry Night" with my own little twist -- and without the actual paint. ;)




This is what my room looks like from the doorway. Can you guess what the theme is? It's funny -- a few weeks ago I was discussing with Kenzie how my room has this coral and aquamarine vibe to it, yet my Instagram theme is focused on yellows and blues, and my actual fashion style is very grungy/hispter/artsy. So it all comes full circle, I guess? Still, I love my room. It's my safe haven. Now come on in so I can give you the full tour...




Right as you walk in, you will see my DIY jewelry hanging on the wall to your right. It's quite a balancing act when I want to get one of th…

So this is where I'm at.

Hi friend. How are you? I hope this post meets you well. Today I wanted to write about this little space. My corner of the Internet.

After many attempts to give it a major face lift / rebrand / vibe / mission I figured out that the girl I was in 2012 when I originally started this blog is no longer who I am.

So let's start fresh.
Hi, I'm Rosie. I am a college student and a creator of many crafts. I enjoy writing Young Adult fiction, playing piano, singing at the top of my lungs, and, above all, making other people laugh. Right now I am pursuing a degree in art therapy, which means my future job will be helping people express themselves in a safe environment with someone who loves them. I have tried to be many things on the Internet, from an American Girl doll hoarder to a make-up artist, but nothing has really clicked with me.
Not until now.
I have always been a Christian. My entire life I have identified as being a follower of Jesus Christ. But the thing about growing up in t…