Author | Message |
---|---|
nbraga
Posts: 20
|
Posted 20:45 Aug 22, 2016 |
Since there aren't any topics regarding projects, I'm making one. Criteria includes class projects, web pages, lone scripts, collaborations, tips'n'tricks, and anything else related to code projects. Last edited by nbraga at
20:57 Aug 22, 2016.
|
nbraga
Posts: 20
|
Posted 21:11 Aug 22, 2016 |
Hello! I just want to note that if anyone else is playing around with the HTML code given in the Lab assignment (8/22/2016), if you're using Notepad to write the code, you may want to save the document with ".htm" or ".html" at the end of the document's name. Also, you might need to change the encoding to UTF-8 instead of ANSI. Check out the attached picture.
If you got it to work without these tweaks or you got it figured out, then cool! |
nbraga
Posts: 20
|
Posted 06:49 Aug 23, 2016 |
I attached an html document that, when opened with a web browser, reveals a link back to this web page. |
nbraga
Posts: 20
|
Posted 19:28 Aug 25, 2016 |
Hello to anyone who is reading! I am going to make a neat little python tutorial for those who are interested. I know there are a lot of resources on the internet, but I feel like I want to give my own spin on the language. Reply if you're interested and I'll be sure to set some deadlines for its creation. |
achan112
Posts: 4
|
Posted 10:04 Aug 26, 2016 |
What do we do for the Project? I am new to the class and was wondering what we do? Do we make our own project? Criteria? |
achan112
Posts: 4
|
Posted 10:07 Aug 26, 2016 |
Also today's Lab0, What do it mean by make create user profile on csns is just making an account? |
nbraga
Posts: 20
|
Posted 15:15 Aug 26, 2016 |
@ACHAN112: Yup! Pretty much all you have to do is set up your account information and become familiar with the CSNS website! Don't forget about the html doc with a link to the topic you posted on. This should be uploaded to the CSNS website in this directory: csns.calstatela.edu > Resources > File Manager > Upload File . If you have any questions, feel free to ask! |
Ricardoflores09
Posts: 2
|
Posted 17:15 Aug 27, 2016 |
I'm a new student in CS1010 I enroll on Friday. I'm not sure what we are supposed to do for Lab0. |
nbraga
Posts: 20
|
Posted 18:32 Aug 27, 2016 |
Hello and welcome to the course! Let me explain what Lab 0 is asking for. "#1. Complete your user profile on CSNS (as described in the Videos for this week)" "#2. You can do one of the following on either the "CS1010" or "Advisement" forum." "After creating or responding, copy the link to the post (Right click on the topic and copy the link). For example, if the link is a web address similar to http://csns.calstatela.edu/department/cs/forum/topic/view?id=4507427. Copy this link in the document shown below. Upload the file created above for the assignment." In this part, you need to make an html document that looks something like what the assignment gives you. If you've never made one before, that's okay! To edit an html document, use a program like Notepad on Windows or Textedit on Mac OS. To make sure the file is recognized as an html document, follow these first few steps: 1. Type "<!DOCTYPE HTML>" (without the quotations, include the capitalization) to tell the program that you are making an html document. 2. Go to File>Save as: and in the name of the document, add the extension ".html" or ".htm" (the're pretty much the same, and again: without quotations)
And now you can get to editing! Just keep in mind that html (Hyper Text Markup Language) is a programming language used to create web pages, and it's all about using containers to keep things organized. The text in those brackets ( these: "<>" ) are called tags, which are like the "open" and "closed" signs of an html document. With that in mind, we know that the first line, "<html>", opens the html document while the last line, "</html>", closes the html document (you see that there is a slash "/" for the "closed" tags; most, but not all, tags have these). If a tag isn't closed, the document reader (usually a web browser) will see any further code as part of the last open tag. That's about 50% of html you will learn - the rest is just vocabulary ( like learning what tags are and what they do ). You can imagine what the "<body>" tag does, but you might be wondering what the heck "<a href="">" is. Basically, the "a" means that you are creating a hyperlink tag, which allows you to put files, links and other sources into your web page. The "href" is like a specific modifier of the "a" tag that allows you to choose a link to include in your page, so the actual link text goes inside the quotation marks of the "href" modifier (and make sure to wrap the link in quotations; you need those). After you're done inputting the link, you finish the "open" tag with an enclosing brace, ">". Since you made the "open" tag, remember to make a closing tag (it helps to make them both before making the inner text). To do this, simply close the "a" tag with the slash like so: "</a>" (the modifier "href" is not a definitive part of the "a" tag, which is why we exclude it from the "closed" tag). It's all downhill from here! Inside the "open" and "close" "a" tags, put whatever text you feel is appropriate to describe the purpose of the link. Clicking that text on the web page will lead the user to whatever link you put inside the "href" modifier. After that, make sure you've closed all your tags and you're done!
Before you pack up your laptop and go, though, you still need to upload that file (you might want to double check the properties to ensure that it's an HTML document first). Now, to upload a file for an assignment, go to Resources (under the profile name) > File Manager > Upload File . Pick out the HTML document from wherever you saved it, click the button, and you just finished the Lab 0 assignment! If by chance you happen to already know html, that's fine. I just want to make sure that anyone who might need it understands. If you want to learn some new tags in html - and even a little bit of javascript, css, or lots of other languages, check out w3schools (lot's of great explanations!). I hope this helped! |
Aherr108
Posts: 4
|
Posted 12:25 Aug 28, 2016 |
I was having trouble with "LAB 0" until i came to this forum and had all of my questions answered! Thank you very much! |
nbraga
Posts: 20
|
Posted 15:56 Aug 28, 2016 |
Always glad to help! |
Arnav98
Posts: 48
|
Posted 16:45 Aug 28, 2016 |
Hey. After making the assignment I tried to run it and an error popped up saying "YOUR FILE WAS NOT FOUND". Is this with everyone or I did something wrong ? |
Beltran9
Posts: 7
|
Posted 19:19 Aug 28, 2016 |
Thanks a lot @Nbraga. I was also lost but now I know what to do. Seems pretty simple. |
Beltran9
Posts: 7
|
Posted 19:32 Aug 28, 2016 |
Wait up i followed the steps that were given and i still can't get the link take me to the forums. |
nbraga
Posts: 20
|
Posted 20:41 Aug 28, 2016 |
Remember to:
Right-click the file and select "Open with:". Select any option that is a web browser to open the file (this could be Internet Explorer, Google Chrome, Mozilla Firefox, or any other web browser). The HTML document will open in a new tab in the selected web browser and some colored text (written as the text that you chose when writing the text inside your "a" tag) will appear. Clicking this text should take you to the link you specified in your "a" tag modifier. If you are still having problems, restart the process, reread the instructions and try again. If your problem persists, reply to this message with an attachment of your HTML document and I'll see if I can help. |
nbraga
Posts: 20
|
Posted 20:55 Aug 28, 2016 |
If by some chance you deleted the HTML document after making a shortcut of the document or uploading the document, your file will be unreadable and you will have to restore it by opening the recycling bin and double-clicking the document. Re-upload the document to ensure that it can be read properly. If this isn't the case, check to see if you have the ".html" or ".htm" (w/o quotatiosn) extension and ensure that the encoding is set to UTF-8 when saving the document. Reply to this message with your html document attached if the problem persists. |
Beltran9
Posts: 7
|
Posted 21:03 Aug 28, 2016 |
file:///Users/georgebeltran/Desktop/CS1010-LAB0.html
<!DOCTYPE html> <html> <body> <a href=“http://csns.calstatela.edu/department/cs/forum/topic/view?id=5535957”>Link to forum i commented on</a> </body> </html> on top is the link to where it the link to the forum should be to take me here and below that is what i wrote. Last edited by Beltran9 at
21:59 Aug 28, 2016.
|
Beltran9
Posts: 7
|
Posted 22:11 Aug 28, 2016 |
i finally got it down. i had it right all along it was just some settings that i had wrong. Why are macs so complicated. |
nbraga
Posts: 20
|
Posted 22:59 Aug 28, 2016 |
If anybody is interested, I can make an instructional guide on how to build your own pc (though there are thousands of tutorials out there). I feel that I can answer questions for those interested - just let me know and I can go through the whole process, including:
I'll see about making a video for those who are interested! |
Egonz299
Posts: 2
|
Posted 00:13 Aug 29, 2016 |
I would definitely be interested in seeing a tutorial for all these topics |
Hellishnova
Posts: 2
|
Posted 07:35 Aug 29, 2016 |
I would also be interested in the guides on decent options for a pc. |
Jersonpreza
Posts: 4
|
Posted 09:20 Aug 29, 2016 |
|
Arnav98
Posts: 48
|
Posted 09:48 Aug 29, 2016 |
|
hflores8
Posts: 1
|
Posted 10:11 Aug 29, 2016 |
Hello everybody! |
nbraga
Posts: 20
|
Posted 10:47 Aug 29, 2016 |
Check your syntax (also, please do not use full caps when posting on forums). Syntax is the set of rules which programmers must follow to write a functional program in respective languages. In HTML, you can (and must) only have one closing tag for every open tag. Also, capitalization makes all the difference in programming languages. Ensure that capitalization of the text in your tags is correct for the file to be read correctly. |
nbraga
Posts: 20
|
Posted 20:55 Aug 30, 2016 |
Hey everyone! Since I have my hands busy at the moment, I'd like to ask a question to all my readers! Feel free to share: What project(s) are you planning to do while taking CS at cal state la? This could be anything between short- and long-term, heavy- or light-weight, team-based or solo-based! |
nbraga
Posts: 20
|
Posted 22:04 Sep 21, 2016 |
Hello! I am going to learn the syntax of the C# language. If anyone would like to join me in learning, let me know - maybe we'll start some fun projects! |
nbraga
Posts: 20
|
Posted 21:52 Dec 05, 2016 |
Hi everyone! I just wanted to say congrats on finishing the first semester of CS - nice job! I wish you all a great winter break! |